Afficher un message
Vieux 13/09/2007, 03h00   #2
Thomas Dickey
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how get colour mutt when ssh from OBSD?

Douglas A. Tutty <dtutty@porchlight.ca> wrote:
> Hello,


> I have a box that runs OpenBSD that sshes into my Debian box. On
> OpenBSD, the default colour term is vt220 so when I ssh to debian, TERM
> is set to vt220.


vt220's don't do color.

OpenBSD console is normally set to make $TERM to "vt200", which is twice
a bug since it doesn't emulate vt220 either (except if one considers that
a subset of a vt100 is again a subset of a vt220).

> When I run mc, all is well; colour, line draw, whatever.


That's a different bug ;-)

> When I run lynx or mutt, I get black on white with no colour. On Lynx
> this means that my blue on gray ends up as white on black; with mutt I
> don't get the blue top and bottom lines or the red thread lines.


That's normal...

> If I ssh in from an xterm, with TERM=xterm, everything is fine.


That's because Debian's "xterm" entry is set to correspond to xterm,
which does color.

> Does anyone have any clues on this?


Conventional applications (excluding hardcoded stuff like GNU ls)
uses terminfo/termcap data to determine what the terminal can do.
You should report a bug in the applications that don't.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
 
Page generated in 0,05409 seconds with 9 queries