]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Moved the environment variables config block out of the Telnet panel
authorSimon Tatham <anakin@pobox.com>
Sat, 16 Oct 2004 10:56:54 +0000 (10:56 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 16 Oct 2004 10:56:54 +0000 (10:56 +0000)
commit859d92a577eb1591e203250d7925d0a1fdd0a424
tree8c3ea5be6cc53a6a8a2251b18ac9516811d67998
parent94546cdc2a7fe7ed40161d66a41b9258354fe75b
Moved the environment variables config block out of the Telnet panel
into the Connection panel, and implemented support for the SSH2
"env" request. (I haven't yet found a server which accepts this
request, so although I've visually checked the packet log and it
looks OK, I haven't yet been able to do a full end-to-end test.)
Also, the `pty' backend reads this data and does a series of
`putenv' commands before launching the shell or application.

This is mostly because in last week's UTF-8 faffings I got
thoroughly sick of typing `export LANG=en_GB.UTF-8' every time I
started a new testing pterm, and it suddenly occurred to me that
this would be precisely the sort of thing you'd want to have pterm
set up for you, particularly since you can configure it alongside
the translation settings and so you can ensure they match up
properly.

[originally from svn r4645]
config.c
doc/config.but
ssh.c
unix/pty.c