allow ssh_config SetEnv to override $TERM, which is otherwise handled
authordjm <djm@openbsd.org>
Fri, 4 Jun 2021 05:02:40 +0000 (05:02 +0000)
committerdjm <djm@openbsd.org>
Fri, 4 Jun 2021 05:02:40 +0000 (05:02 +0000)
commit1025d804ea594740ac60e3b0779bc2bc35c957e8
tree83120ecb1faab2eae76bef13bd44c012e3118b1b
parentcaf9efcf29ac23221b82b736199914ea49fb2eae
allow ssh_config SetEnv to override $TERM, which is otherwise handled
specially by the protocol. Useful in ~/.ssh/config to set TERM to
something generic (e.g. "xterm" instead of "xterm-256color") for
destinations that lack terminfo entries. feedback and ok dtucker@
usr.bin/ssh/misc.c
usr.bin/ssh/misc.h
usr.bin/ssh/mux.c
usr.bin/ssh/ssh.c