Moved the environment variables config block out of the Telnet panel
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 16 Oct 2004 10:56:54 +0000 (10:56 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 16 Oct 2004 10:56:54 +0000 (10:56 +0000)
commit73feed4f401660e3374ea0f783ae7b7c6ea4c0c8
tree8c3ea5be6cc53a6a8a2251b18ac9516811d67998
parentb72c366dd76ccee951d022f7cc4bab5cfaf39b08
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@4645 cda61777-01e9-0310-a592-d414129be87e
config.c
doc/config.but
ssh.c
unix/pty.c