Major destabilisation, phase 1. In this phase I've moved (I think)
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 22 Oct 2002 16:11:33 +0000 (16:11 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 22 Oct 2002 16:11:33 +0000 (16:11 +0000)
commit887035a593c8c0a1af853657c80046e17dc5581a
tree2540e48c889d5ff9cb5e0e92bf4a7a746e1e8d2c
parentfb006241667a4433ca6fbfcaf37522fb924e0110
Major destabilisation, phase 1. In this phase I've moved (I think)
all the global and function-static variables out of terminal.c into
a dynamically allocated data structure. Note that this does not yet
confer the ability to run more than one of them in the same process,
because other things (the line discipline, the back end) are still
global, and also in particular the address of the dynamically
allocated terminal-data structure is held in a global variable
`term'. But what I've got here represents a reasonable stopping
point at which to check things in. In _theory_ this should all still
work happily, on both Unix and Windows. In practice, who knows?

git-svn-id: svn://svn.tartarus.org/sgt/putty@2115 cda61777-01e9-0310-a592-d414129be87e
15 files changed:
ldisc.c
plink.c
psftp.c
putty.h
raw.c
rlogin.c
scp.c
ssh.c
telnet.c
terminal.c
unicode.c
unix/pterm.c
unix/pty.c
unix/uxucs.c
window.c