Allow the TERM env variable to be overwritten by .ssh/config

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



This is pretty much the same request as an old mailing list thread

http://marc.info/?l=openssh-unix-dev&m=134073696320230&w=2

for almost exactly the same reason: some machines don't have
new-enough terminal info databases to support newer TERM strings
("rxvt-unicode-256color" in my case).  As such, I'd like to be able to
override the TERM that is forwarded to some machines from my
.ssh/config.

The solutions proposed in that post don't work well for me because I
like having a shared .bashrc and don't want to go making it super long
just to have a big list of hosts that don't support "*-256color".

Following is a git-formatted patch to implement this feature.  It's
based against the 6.6-p1 tarballs as I'm not really sure what else to
base it against.  Hopefully that's OK?

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux