1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Simon Tatham
bbbda4110b Created a shiny new abstraction for the socket handling. Has many
advantages:
 - protocol modules can call sk_write() without having to worry
   about writes blocking, because blocking writes are handled in the
   abstraction layer and retried later.
 - `Lost connection while sending' is a thing of the past.
 - <winsock.h> is no longer needed in most modules, because
   "putty.h" doesn't have to declare `SOCKET' variables any more,
   only the abstracted `Socket' type.
 - select()-equivalent between multiple sockets will now be handled
   sensibly, which opens the way for things like SSH port
   forwarding.

[originally from svn r744]
2000-10-23 10:32:37 +00:00
Simon Tatham
e32603347c Introduce a sane interface function, from_backend(), for backends to
use when they have data from the network. Replaces the utterly daft
inbuf / inbuf_head / term_out() interface, which only made sense
when feeding to terminal.c. (terminal.c now implements
from_backend() as a small function that gateways to the old
interface.)

As a side effect, from_backend() also has an `is_stderr' parameter,
so scp can once again separate the server's pronouncements on stderr
from the actual protocol progress on stdout.

[originally from svn r729]
2000-10-20 13:51:46 +00:00
Simon Tatham
e48981def4 Miscellaneous fixes to try to make other compilers happier
[originally from svn r691]
2000-10-09 12:19:09 +00:00
Simon Tatham
0d5d39064a Robert de Bath's Big Patch, part 1
[originally from svn r516]
2000-07-26 12:13:51 +00:00
Simon Tatham
c9e236eb39 Avoid the ldisc passing zero-length strings to back->send(). VMS
sshd has interesting behaviour on receiving a zero-length SSH data
packet.

[originally from svn r508]
2000-06-26 12:55:47 +00:00
Simon Tatham
b715fa4276 RDB's patch: ^U sends Telnet Erase Line; line ending is now \r or \r\n
depending on protocol, so local ldisc works with ssh

[originally from svn r417]
2000-03-17 10:31:14 +00:00
Simon Tatham
4b3c825ec7 Robert de Bath's patch: ^C ^Z and ^D send Telnet specials in terminal line
discipline; also switching disciplines in midsession works better

[originally from svn r400]
2000-03-11 14:03:04 +00:00
Simon Tatham
11821d4d27 Fix some picky compiler warnings kindly provided by Borland C++ 5.5
[originally from svn r396]
2000-03-08 10:21:13 +00:00
Simon Tatham
8446532e4a Cleanups to remove warnings for GNU/mingw32 compilation
[originally from svn r325]
1999-11-22 10:07:24 +00:00
Simon Tatham
429b6f4a83 Added local-editing line discipline to make raw backend usable
[originally from svn r287]
1999-11-09 12:05:34 +00:00