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

Chris Adams cmadams at hiwaay.net
Tue Jun 26 18:35:11 UTC 2012


Once upon a time, Miloslav Trma─Ź <mitr at volny.cz> said:
> 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.

The OpenSSH devs might be open to such.  I'd be willing to take it up
with them and write a patch (if they'll accept it).

Any suggestions on how it should work?  Ideally, some way to say "drop
the -256color suffix from TERM if preset" would be best.

-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


More information about the devel mailing list