[prev in list] [next in list] [prev in thread] [next in thread]
List: openssh-unix-dev
Subject: Modify $TERM from config
From: Chris Adams <cmadams () hiwaay ! net>
Date: 2012-06-26 18:40:32
Message-ID: 20120626184032.GF16409 () hiwaay ! net
[Download RAW message or body]
The terminal programs (xterm, gnome-terminal, etc.) in Fedora have all
supported 256 colors for quite a while, so there's a proposal for Fedora
to switch them to using "xterm-256color" for $TERM. One drawback would
be when you SSH to another host that doesn't have an up-to-date terminal
database and doesn't recognize "xterm-256color" (but does know "xterm").
I don't see a way to override $TERM for a particular host in
~/.ssh/config. Also, it would really be better to be able to modify it
(rather than just override it), with some way to say "drop the -256color
suffix if it exists".
Any suggestions? Would something along these lines be accepted by
OpenSSH?
I'd like to see this because I use "screen" a lot, and if it set $TERM
to "screen-256color", my SSH connections to my Juniper JUNOS routers
would be annoying (while they recognize "xterm-256color", they don't
know "screen-256color").
--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic