The Changelog of Dave's Telnet 2005-05-30/2005-06-01 Lorinczy Zsigmond * Fixing X-server detection in SOCKET.C * VERSION.H: version 1.2.3 * LINES.C: function "linesFill" to Fill areas in a line with a constant character 2005-01-19/2005-03-10 Lorinczy Zsigmond * DTELNET.RC: Incrementing version number to 1.2.2 * TERM.C, EMUL.C: Trying to implement "answerback message" * SOCKET.H, SOCKET.C: Detecting local X server * RAW.H, RAW.C: New method for handling telnet options, set XDISPLOC only if X server detected * UTILS: escape, unescape: parameters reorganized: from, fromlen, to, maxlen * CONNECT.C: variable useProfile removed * ARGV: long options, advanced option handling * BORL32.MAK: response-file for ILINK32 * VERSION.H to store version number 2004-10-24/2004-11-19 Lorinczy Zsigmond * font.h, font.c, resources.h, dtelnet.rc, term.h, term.c, lines.c, dtchars.h, dtchars.c: adding a 2nd font for character-graphic (OEM_CHARSET) This makes possible paralel using of OEM_CHARSET (box-drawing) and special letters of an other ANSI-like font (eg EASTEUROPE). * Extension in Terminal/Font dialog: - showing the name of both fonts - let the user to select from more charsets - showing the system's OEM/ANSI charset (Win32 only) * printing.c: Calling printingCloseDialog in printingEndJob, call termGetChars to access data in PrintScreen * protocol.h, raw.c, socket.h, socket.c: implemeting XDISPLOC for people running X-server within their Windows * writing CRLF instead of LF in log.logProtocol * emul.c: using termGetChars in emulSendCurrentLine * dtelnet.c: calling connectGetDefVars and connectLoadVars in WinMain * emul.c: when not connected, 'Enter' performs CRLF - meaningless * lines.c: line expanding changed in linesSetChar * Released dtelnet 1.2.1 2004-03-19/2004-03-21 Lorinczy Zsigmond * logging CRLF in EMUL.emulSendCurrentLine * Parameter 'data' in LOG.logSession became const * Parameter 'data' in SOCKET.socketWrite became const * DTELNET.RC: Incrementing version number to 1.2.1 * EMUL.C: calling emulCursorCheck in emulSendCurrentLine * Fixing borl32.mak 2003-02-13 Lorinczy Zsigmond * changing termdef.telnetEnumTermProfiles as Miguel Latore offered 2003-02-13 Lorinczy Zsigmond * Released dtelnet 1.2.0 2002-12-26 Lorinczy Zsigmond * Merry Christmass * Adding two little (standalone) utility for UNIX: shkeys.c and shchars.c. They are in LF-only format! 2002-02-11/2002-02-15 Enrique Grandes * adding dtchars.* and ctab.* to dtelnet.dsp * replacing BS_ETCHED static controls by GROUPBOX for win16 (dtelnet.rc) * incrementing MARGIN_MAX in printing.c * replacing calls to connectSetServerCharset() in connect.c due to useProfile * removing duplicated code of filetype.c/connect.c for easy future modifications * adding default values for connection profiles. * now double quotes in arguments are removed directly in getoptInit() * fixing unquoted /X in fileExecFavorites() (filetype.c) 2002-02-15 Lorinczy Zsigmond * In font selection dialog showing font width too 2002-02-13 Mark Melvin * moving escape into utils.c * reverting /E command line option, was causing memory garbage on emulation names. 2002-02-11 massimo morara * gcc.mak: link with 'libwinspool' (pro EnumPrinters()) 2001-12-20/2002-02-07 Enrique Grandes * HTTP Proxy support. * classic status bar panes. * fixes in filetype.c * reordering favorites dialog. * fixing connect history save/restore problem. * small fix in raw.c (synch without data mark problem) * completing printing stuff. 2002-02-01 massimo morara * gcc.mak: added support for proxy.c and dtchars.c; removed support for socks.c * connect.c, connect.h, dtelnet.c: improved support for emulation terminal via command line 2001-12-28/2002-01-23 Lorinczy Zsigmond * moving functions fromhex, unescape into utils.c * adding section [ExtraCharsets] to dtelnet.ini * adding files dtchars.h dtchars.c * changing the charset-selection in connect dialog: connect.c and filetype.c * showing extra charsets is Terminal menu: dtelnet.c * updating copyright notice (removing Fred - sorry but there are too many hackers to list them all) * making 16-bit compilation possible again (multiple files) * changing behaviour of PASTE in term.c - but now it's too slow ! * undoing the previous and changing COPY behaviour too 2001-12-11 massimo morara * gcc.mak: added support for socks.c and ctab.c 2001-11-30 Lorinczy Zsigmond Trying to handle graphic character sets... 2001-11-30: Adding 'acsc' field to dtelnet.set for later usage 2001-12-06: New files: ctab.h, ctab.c 2001-12-12: The problem seems to be fixed, modified emul.h, emul.c, termdef.c, ctab.h, ctab.c 2001-10-29 Enrique Grandes now the user can select the cursor style between block, underline or vertical line. 2001-10-28 Enrique Grandes Added SOCKS support. changed: dtelnet.rc, resource.h, dtelnet.c, socket.c, socket.h added: socks.c, socks.h, socksdef.h 2001-10-26 Mark Melvin Support for executing connection profiles (filetype.c). The file format is standard INI file describing the connection. It is accepted with /X command line option (dtelnet /X server.ts). Now has a "Favorites" menu a la IE, scans for ts files in dtelnet directory. Should fulfill TODO item no. 5 :) but still need some work yet. 2001-09-10 massimo morara * gcc.mak: added support for editor.c, filetype.c, printing.c and termdef.c * filetype.c: added "#include ", pro _MAX_PATH (necessary for gcc) 2001-07-02 Mark Melvin Moving terminal definition parsein out of dtelnet.c into separate source termdef.c Adding a dialog box while printing to abort print. 2001-06-30 Mark Melvin Support for screen dump (PrintScreen) as proposed by Khader Alatrash using existing print engine. Add permission variables to guard against unwanted printing. 2001-06-15 Mark Melvin Support for ANSI attached-printer (code \E[4i and \E[5i ) allowing to print host text to local printer. You can test the functionality with 'lpansi'. Still plain and no configurable options yet. 2001-05-04 - 2001-07-18 Lorinczy Zsigmond * Trying implement 'local edit mode', including wrapping lines Related sources: emul.h,emul.c,term.c,editor.h,editor.c 05.04: keys BackSpace and Delete work locally 05.07: Insert 05.08: Left/Right/Home/End 05.10: key Enter sends the whole line 06.20: adding editor.h and editor.c 06.28: refining cursor left 07.18: refining cursor right, adding menuitems to control cursor movement 2001-05-04 Lorinczy Zsigmond * dtelnet.rc: reordering include files to avoid a warning 2001-04-24 Lorinczy Zsigmond * borl32.mak: Define windows version to 4.00 to let OpenFile dialog work in Start Logging 2001-04-12 Lorinczy Zsigmond * dtelnet.rc: Preparing for 1.1.8, Moving "New Window" down 2001-04-02 Lorinczy Zsigmond * raw.c: local echoing is now ON by default * emul.c: now sends 0D0A instead of 0D00 independent from term.newLineMode * adding dtelnet.set to pack.bat 2001-03-29 Lorinczy Zsigmond * dtelnet.c: fixes about TERM definition (for VT100) 2001-03-27 Lorinczy Zsigmond * emul.c: support for \E[39m and \E[49m ('clear underscore and reset foreground color' and 'reset background color') 2001-03-09 Mark Melvin Rearranged command-line options, now you specify either /COEM or /CANSI to select character sets, /A to specify background color. 2001-03-08 Lorinczy Zsigmond * resource.h: define BS_CENTER as 0 if not defined (for 16-bit version) * emul.c: in function 'emulAddChar' changing type of parameter 'c' to unsigned char 2001-03-08 massimo morara * fixed bug in getopt() (argv.c) * fixed bug in connectGetProfile() (connect.c) 2001-03-05 Lorinczy Zsigmond * Cleaning C++ errors 2001-02-12 Mark Melvin * Support drag-and-drop for text files. The content of text file will be pasted as if typed in from the terminal. * Fix for large paste problem on some cases. 2001-02-02 Mark Melvin * Terminal definitions no longer hard-coded in dtelnet binary, now it is read from dtelnet.set with INI-file format. * Added "New Window" menu item, to spawn itself. 2001-01-17 LZS * Adding terminal type rxvt 2001-01-09 Mark Melvin * Support mouse events with xterm emulation (quick hack). * Project .ide and .mak for Borland C++ 5. 2001-01-05 Lorinczy Zsigmond * Adding field `flags' to struct emul, to enable smacs/rmacs of VT320 2001-01-04 Lorinczy Zsigmond * New function emulFuncKeyPress2 with to parameters (local and remote), to solve problem with echoing BackSpace (not correct yet). 2001-01-02 Lorinczy Zsigmond * Incomplete support for terminal types vt320 and vt420. 2000-12-16 Timothy Ng * Removed my earlier change (not listed here) which checked for valid \T arguments. 2000-12-15 LZS * Fix in term.c/termSysKeyDown to let ALT+key work in Windows NT 2000-11-30 * Releasing 1.1.6 2000-11-21 Lorinczy Zsigmond * Calling emulResetTerminal before connecting 2000-11-20 Lorinczy Zsigmond * From now you can change this in Terminal/ServerCharSet menu the same conversion for sending... 2000-11-13 Lorinczy Zsigmonmd * In the connect dialog, the user can select the handling of input characters above 128: ANSI/OEM 2000-11-10 Lorinczy Zsigmond * And now the user gets a little feedback about the selected font changed: resource.h, dtelnet.rc, font.h, font.c, term.c 2000-11-09 Lorinczy Zsigmond * Now the user can select the character set in the 'Font Dialog' changed: resource.h, dtelnet.rc, font.c, font.h, term.c 2000-11-06 Lorinczy Zsigmond * term.c, emul.c: reverting previous change: calling OemToAnsi before TextOut when using ANSI font, calling AnsiToOem when receiving a character (and not in graphics mode) * emul.c: ESC[11m and ESC[10m are now enabled to switch graphics/standard mode * emul.c: sending CR+LF instead of CR+NUL+LF 2000-10-31 Lorinczy Zsigmond * term.h, term.c: tracking charset of terminal font, calling AnsiToOemBuff before TextOut when using OEM font * pack.bat: batch to create archives (uses pkzip25) 2000-10-27 Massimo Morara * socket.c (socketProcessPending): fixed bug [how suggested by Khader Al-Atrash] * argv.c (getopt): correct handling of arguments with a parameter * dtelnet.c (WinMain): added error handling for getopt() * term.c: added termFuncKeyDown() 2000-10-27 Lorinczy Zsigmond * about.c, dtelnet.c, font.c: In WM_COMMAND 'switch (wparam)' changed to 'switch (LOWORD(wparam))' to work correctly in 32 bit mode. 2000-10-20 Lorinczy Zsigmond * Changes in emul.h,emul.c,term.c to handle more function key (max 20) Handling Shift+Fn as F(10+n), Alt+Fn as ESC Fn 2000-10-10 Massimo Morara * socket.c: added call to WSAAsyncSelect() in closeSocket() 2000-10-09 Massimo Morara * gcc.mak: added makefile for gcc (mingwin and cygwin) * dtelnet.c: fixed bug in terminal emulation line options handling * term.c: cleaning warnings (gcc) 2000-09-02 Lorinczy Zsigmond * no more wranings left (except for 20 "Parameter never used") * releasing 1.1.5 2000-08-02 Lorinczy Zsigmond * borl32.mak: seems working * dtelnet.c: WinMain became PASCAL instead of WINAPI * dtelnet.def: stacksize added * term.h,emul.h,dtelnet.h,socket.h: function prototypes corrected 2000-07-29 Alexander Stohr * dtelnet.rc: added icon, incremented version number 2000-07-27 Lorinczy Zsigmond * emul.h,emul.c,term.c: BackSpace and Delete key handling corrected * term.c: Alt+Enter sends Esc,Enter * dtelnet.c: _stricmp -> stricmp * utils.c: _getcwd -> getcwd * font.c: wparam's type in fomtDlgProc: WORD -> WPARAM * borl32.mak,bccw32.cfg: for compiling with borlandc 55 (not working yet) 2000-01-29 Dave Cole * term.c (termSetWindowSize): Fixed bug where shrinking window moved the cursor off the top of window - would freeze program. 1999-12-25 Allen Petrarca * res/dtelnet.ico: Marry Christmas - here is a new dtelnet icon. 1999-11-11 Dave Cole * connect.c: provide default values for dlgVars. * Released dtelnet 1.1.2 1999-11-06 Dave Cole * connect.c (connectSetPort): set the correct default protocol when setting the port on the command line. * dtelnet.c (mainWndProc): use WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to compress all user window resizes into a single resize. GNU readline programs caused problems due to Windows delaying delivery of the network read messages while in the resize event loop (I think). * dtelnet.c (WinMain): if terminal type not specified on command line, assume a default of linux. * raw.c (rawSetWindowSize): delay window resize notification until user has finished resizing. * status.c: status bar panels resize depending upon the size of string displayed. 1999-01-23 Massimo Morara * dtelnet.c (WinMain): added /E argument to set the emulated terminal independently of the remote terminal type. 1999-11-03 Tim Lesher * dtelnet.c: added position specification to the geometry command line argument. * term.c: added position specification to geometry string. added wheel mouse capability. 1999-11-03 Dave Cole * connect.c (connectOpenHost): use protocol field for setting socket protocol, not the port, after all, that is why it is there :-). * Released dtelnet 1.1.1 1999-11-02 Dave Cole * argc.c (getopt): convert all command line arguments to uppercase for comparison * connect.c (enablePortProtocol): check port and set protocol appropriately. * dtelnet.c (WinMain): add unix compatible dtelnet host [port] * raw.c (parseTelnetCommand): enable local echo when remote telnet server requests it. * emul.c (emulKeyPress): when not using login/telnet protocol, and performing local echo, send '\r\n' to terminal when user presses Return. * Released dtelnet 1.0.8 * connect.c (isNonBlank): Fixed infinite loop. * connect.c (connectDlgProc): set default protocol to none. * Released dtelnet 1.0.9 * dtelnet.c (WinMain): do not set connect parameters when not requested - it disables connect profile saving (bug introduced in 1.0.8) * Released dtelnet 1.1.0 1999-03-04 Asoke K. Talukder * Added new person to thanks page. 1999-03-03 Dave Cole * Released dtelnet 1.0.7 1999-03-03 Asoke K. Talukder * Updated help file with new features 1999-02-26 Frederic Dubru * connect.c: * connect.h: * dtelnet.c: * dtelnet.rc: * term.c: Added Send Backspace as Delete option. 1999-02-26 Dave Cole * Released dtelnet 1.0.6 1999-02-25 Asoke K. Talukder * Created help file dtelnet.hlp 1999-02-16 Dave Cole * lines.c (linesCharsInsert, linesCharsDelete, linesSetChar): When modifying a line, truncate it's length to the window width. 1999-02-15 Dave Cole * All: Changed wsprintf/wvsprintf back to sprint/vsprintf * All: Many emulation bugs that were found using vttest were fixed. * term.c (winLinesInsert, winLinesDelete): Force windows to update the region exposed by scrolling the window up/down. * Released dtelnet 1.0.5 1999-02-07 Dave Cole * Released dtelnet 1.0.3 * emul.c (emulResetTerminal): Set the current attribute to the clear attribue *before* clearing the screen. Thanks to Julie Brandon for reporting that bug. * emul.c: Implemented cursor address reporting function. Thanks again to Julie Brandon for reporting that missing feature. * emul.c: Implemented xterm title bar programming capability. * raw.c: Changed the telnet protocol negatiation to send all client initiated options as soon as the connection is established. * Changed all use of sprintf/vsprintf to wsprintf/wvsprintf. * Released dtelnet 1.0.4 1999-02-05 Dave Cole * connect.c (addConnectHistory): (connectGetHistory): Fixed bug where connection protocol was not saved in history in the Connect menu. * font.c (enumFontProc): (fontListNames): On advice of Asoke K. Talukder, reverted to previous version to fix compile errors in VS6.0. 1999-02-02 Dave Cole * Fixed syntax errors in VS6.0 pointed out by Asoke K. Talukder. * Added socket protocol combobox to connect dialog. Feature suggested by Hugh Connell. * Added Edit/Copy menu item for people who like Windows style selection. * Released dtelnet 1.0.2 1999-01-18 Dave Cole * Fixed ChangeLog format. * Released dtelnet 1.0.1 - easiest release ever. 1999-01-23 Massimo Morara * connect.c (connectGetProfile): exitOnDisconnect unconditionally set from .INI file. * dtelnet.c (WinMain): Fixed getopt parameters to allow /I to be used. * emul.c: Fixed '\' entry in usCharSet and graphicsCharSet. 1999-01-18 Dave Cole * dtelnet.c: * term.c: Added a new menu option to switch between Windows clipboard semantics and X style select == auto-copy to clipboard. * term.c (termKeyPress): Fixed the handling of international keyboards. Thanks to Per Steinar Iversen for helping me with that one. * Released dtelnet 1.0.0 1998-12-29 Dave Cole * socket.c: Fixed a bug in the handlng of a closed remote end of the socket which resulted in "Called recv() on a non-socket" error. Thanks to Hans Verbeek for reporting that one. * Released dtelnet 0.9.9 1998-12-03 Dave Cole * dtelnet.c (WinMain): * raw.c: Telnet BINARY mode negotiation disabled by default. Use /B on the command line to enable. * dtelnet.c (telnetAppName): Added function to return application name which is then used throughout program. * All source files now use DOS newlines. * Released dtelnet 0.9.8 1998-12-02 Dave Cole * emul.c: Implemented graphics and US G0/G1 character sets. * Released dtelnet 0.9.7 1998-12-01 Dave Cole * connect.c (connectDlgProc): Fixed combo box initialisation bug in connect dialog. Thanks to Scott Chen for pointing that one out. * raw.c: Made telnet protocol logging more robust. Hopefully finally fixing that GP fault. * Released dtelnet 0.9.6 1998-11-22 Dave Cole * raw.c: Added Telnet BINARY mode using code submitted by Pat Narkinsky. * Released dtelnet 0.9.5 1998-11-22 Dave Cole * Ported code to Win32. The program now compiles with MSVC 1.5x and MSVC 5.0 * Released dtelnet 0.9.4 1998-06-09 Dave Cole * term.c: Fixed backwards timer scroll. * emul.c (emulScrollRegion): When setting region to whole screen, cancel region so history is enabled. * lines.c (linesClearRange): Clear to end of line/screen resets end of line attribute on first line. * Released dtelnet 0.9.3