Couldn't we enable 256 colors by default on TERM?

Björn Persson bjorn at
Tue Jun 26 18:04:51 UTC 2012

Miloslav Trmač wrote:
> Another one is that connecting to systems that don't support xterm-256
> is not quite easy.  In particular, there appears to be no way to
> configure ~/.ssh/config so that "ssh oldhost" (and "ssh oldhost
> arbitrarycommand") transparently changes the TERM value - one would
> have to set up shell functions or something similar.  An extension of
> the ssh would be very nice - and failing that, an explicit recipe how
> to override TERM correctly would be welcome as well.

And I strongly suspect that a correct solution would have to translate 
"xterm-256color" to "xterm", "screen-256color" to "screen" et cetera. Simply 
setting TERM=xterm in all SSH sessions is probably not sufficient.

Björn Persson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the devel mailing list