зеркало из https://github.com/github/putty.git
7babe66a83
This is a cleanup I started to notice a need for during the BinarySink work. It removes a lot of faffing about casting things to char * or unsigned char * so that some API will accept them, even though lots of such APIs really take a plain 'block of raw binary data' argument and don't care what C thinks the signedness of that data might be - they may well reinterpret it back and forth internally. So I've tried to arrange for all the function call APIs that ought to have a void * (or const void *) to have one, and those that need to do pointer arithmetic on the parameter internally can cast it back at the top of the function. That saves endless ad-hoc casts at the call sites. |
||
---|---|---|
.. | ||
Makefile | ||
README | ||
main.c | ||
malloc.c | ||
malloc.h | ||
pty.c | ||
pty.h | ||
sel.c | ||
sel.h | ||
telnet.c | ||
telnet.h |
README
This directory contains 'cygtermd', a small and specialist Telnet server designed to act as middleware between PuTTY and a Cygwin shell session running on the same machine, so that PuTTY can act as an xterm-alike for Cygwin. To install it, you must compile it from source using Cygwin gcc, install it in Cygwin's /bin, and configure PuTTY to use it as a local proxy process. For detailed instructions, see the PuTTY Wishlist page at https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/cygwin-terminal-window.html