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