do the same as lfhascr -- it also changes the "return" key to send CR/LF, which
lfhascr doesn't do (and shouldn't do). Also, Line Feed/New Line mode isn't
meant to affect IND, which lfhascr currently does (but arguably shouldn't).
[originally from svn r82]
* Tidied state machine, with better handling of unknown escape and control
sequences.
* Support for automatic newline mode, with lfhascr now being a session
variable.
* #include <string.h> for mem*() and str*().
[originally from svn r74]
- Stop using the identifier `environ' as some platforms make it a macro
- Fix silly error box at end of connection in FWHACK mode
- Fix GPF on maximise-then-restore
- Use SetCapture to allow drag-selecting outside the window
- Correctly update window title when iconic and in win_name_always mode
[originally from svn r12]