login
Header Space

 
 

Re: how get colour mutt when ssh from OBSD?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Monday, September 10, 2007 - 2:54 pm

On 9/10/07, Douglas A. Tutty <dtutty@porchlight.ca> wrote:

termcap/termlib db's are different between openbsd and debian.
curses implementations are different between openbsd and debian.

some apps (like vim off the top of my head?), don't use
termcap/termlib or curses, they got their own thing going on. They
read TERM and do their own capabilities on it. Terminals lie (You're
not using a vt220 afterall, are you?), and terminal capabilities lie.
There are kilo's of documentation for termincal capabilities and
sequences out there, and they conflict each other.

curses has a .hascolor() boolean apps will read. You can print colors,
but curses will snuff them if .hascolor() returns false. I've seen
xterm-color return false, but xterm-256color return true! what??

Anyway, wsvt25 from console works great from openbsd on openbsd. If
you're on net and freebsd, pcvt25 works fairly well. Logging into
linux, I generaly use vt220 or vt102.

keep these aliases handy:
alias vt220='export TERM=vt220; tset -I -Q'
alias vt102='export TERM=vt102; tset -I -Q'
alias wsvt25='export TERM=wsvt25; tset -I -Q'
alias pcvt25='export TERM=pcvt25; tset -I -Q'
alias xterm256='export TERM=xterm-256color; tset -I -Q'
alias xtermcolor='export TERM=xterm-color; tset -I -Q'
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
how get colour mutt when ssh from OBSD?, Douglas A. Tutty, (Mon Sep 10, 1:02 pm)
Re: how get colour mutt when ssh from OBSD?, Jeff Quast, (Mon Sep 10, 2:54 pm)
Re: how get colour mutt when ssh from OBSD?, Douglas A. Tutty, (Mon Sep 10, 8:00 pm)
Re: how get colour mutt when ssh from OBSD?, Douglas A. Tutty, (Tue Sep 11, 8:52 am)
Re: how get colour mutt when ssh from OBSD?, Vim Visual, (Tue Sep 11, 9:53 am)
Re: how get colour mutt when ssh from OBSD?, Douglas A. Tutty, (Tue Sep 11, 4:32 pm)
Re: how get colour mutt when ssh from OBSD?, Pau Amaro-Seoane, (Wed Sep 12, 1:55 am)
Re: how get colour mutt when ssh from OBSD?, Douglas A. Tutty, (Wed Sep 12, 8:51 am)
Re: how get colour mutt when ssh from OBSD?, Pau Amaro-Seoane, (Wed Sep 12, 9:25 am)
Re: how get colour mutt when ssh from OBSD?, Gleydson Soares, (Mon Sep 10, 1:40 pm)
Re: how get colour mutt when ssh from OBSD?, Douglas A. Tutty, (Mon Sep 10, 7:47 pm)
speck-geostationary