home *** CD-ROM | disk | FTP | other *** search
- This archive contains a vt100 emulator with KERMIT and XMODEM file
- transfer protocols by Dave Wecker (V2.4 DBW 861214).
-
- Thanks:
- -------
- To everyone who sent in code and suggestions!
-
- Releases:
- ---------
- v2.4 861214 DBW - lots of fixes/additions
- v2.3 861101 DBW - minor bug fixes
- v2.2 861012 DBW - more of the same
- v2.1 860915 DBW - new features (see README)
- v2.0 860823 DBW - Major rewrite
- v1.1 860720 DBW - Switches, 80 cols, colors, bug fixes
- v1.0 860712 DBW - First version released
-
- Usage:
- ------
- Please read VT100.DOC for usage information and examples.
-
- Release Notes:
- --------------
- v2.4 861214 DBW - lots of fixes/additions
- - Beep should now work under Lattice
- - CreatePort now passes longs (as it should always have)
- - Nested comments in KERMIT.C removed
- - Beep volume of 0 (DisplayBeep) now works
- - snum[] declaration in KERMIT.C fixed
- - multi_xfer is now void and return fixed (in kermit)
- - "." can no longer get "stuck" as the break key
-
- - RIGHT-AMIGA-keys have been added for most menu items
- - The ALT key is now an EIGHTth bit shifter
- - Control-@, Control-2, Control-space send the NULL character
- - Control-6 now sends Control-^
- - Control-- and Control-? now sends Control-_
- - Cursor application mode (<esc>[?1h and <esc>[?1l) now work
- - XMODEM now masks the eighth bit if parity is other than NONE
-
- v2.3 861101 DBW - minor bug fixes:
-
- - added p_wbcolors to allow workbench colors on custom screen
- (In the init file you can specify WBCOLORS to be NO (use color
- definitions in INIT FILE or VT100.H) or YES (use WORKBENCH
- colors for everything)).
- - "$" now sends a kermit-bye (like it says in VT100.DOC).
- - made window/screen heights more reasonable
- - Added ANSI insert line and delete line (<csi><num>L and
- <csi><num>M) to speed up various editors (like emacs).
- NOTE: This is NOT a VT100 sequence (new extension).
- - ctrl-space now also sends a null (along with ^@ and ^`)
- - RAWKEY fixed in WINDOW.C
- - p_wrap fixed in WINDOW.C
- - removed WRDMAX from VT100.H
- - fixed exit with no params in SCRIPT.C
- - fixed parity comparisons in KERMIT.C
- - init file [n+1] changed to [nplus1] to make Lattice happy.
- - cursoron(), cursoroff() changed to one routine cursorflip().
- - long lines shortened to less than 80 characters (for gateways).
- - blanks following exit (or comments) now work in scripts.
-
- v2.2 861012 DBW - more of the same:
-
- - The INIT file "exit" can now chain to a script
- - The SCRIPT command "exit" can now chain to another script
- - Hangup menu item now works.
- - Autowrap can now be set from VT100.H, VT100.INIT (<esc>[?7h l)
- - Control-G is now handled with an audible beep
- - Script now used "^chr" to send control characters
- - The graphics "box" character (a) was added
- - Control-@ and Control-` now send the NULL character
- - Alternate color for BOLD has been re-instated by popular demand
- - Menus have been cleaned up.
- - Lattice compilation cleaned up.
- - No more wordsize parameter since PARITY takes care of all cases
- - Function keys can now call scripts
- - Double shift keys are now handled correctly.
- - Version has been added to the title bar (for bug reports).
-
- v2.1 860915 DBW - new features / bug fixes
-
- - Now identifies as a VT100 (including the response to <esc>Z)
- - Cursor color now gets read in as hex (instead of decimal)
- - REPORTMOUSE taken out of definitions (not needed)
- - XON/XOFF now being handled by the device driver instead of me
- - Literal escape characters have been replaced with \033
- - At init time the user can now specify the input BUFFER size
- (typically between 512 and 2048 bytes) depending on baud rate
- - Script files are now case insensitive for commands
- - XMODEM now turns off the driver XON/XOFF during transfers
- - Graphic rendition now done by the OS instead of me.
- - Initialization files are now searched for in S: instead of C:
- - Forward GOTO bug fixed in the script package.
- - Keypad can now be used in both numeric and application mode
- - General purpose cleanup() routine added for all exits.
- - Utility menu added (sendbreak, hangup, change directory).
- NOTE: hangup is not implemented yet.
- - Full wild card support in file transfers (see vt100.doc).
- - Kermit cleaned up with better filename handling (from host).
- - Script now has CD (changed directory) and SB (send break) commands
- - Added Parity and Wordsize choices in VT100.H, VT100.INIT, menu
- and scripts. (Generates parity from a table).
- - Added 8th bit quoting in KERMIT when using 7 bit words (ODD or
- EVEN parity).
- - Break time can be set from VT100.H, VT100.INIT or a script file.
- - Transfer mode (image or CRLF) can now be set from a script file.
- - Control characters in escape sequences now act like a true VT100.
- - F10 now works from init files.
- - Right (or Left) AMIGA with period (".") sends a BREAK to the host
- from the keyboard.
- - XMODEM status kept down to one line for a file transfer.
-
- v2.0 860823 DBW - Major rewrite:
-
- - Emulator now compiles under either MANX or LATTICE by defining
- the appropriate compiler type in VT100.H.
- - Sped up code to an effective baud rate of (about) 8k. This means
- that clear text at 4800 baud should be no problem.
- - Added XON/XOFF generation so that characters should not get lost
- any more at 9600 baud (when receiving clear text).
- - Got rid of all command line switches and environment variables.
- Instead upon invocation the program searches first for any file
- named on the command line, then looks for VT100.INIT in the
- current directory and finally searches for C:VT100.INIT.
- All parameters can be set in the init file, and a sample VT100.INIT
- is provided in VT100.DOC that shows all possible options.
- - All parameters that are set by VT100.INIT are defined in VT100.H
- (variables starting with "p_"). This allows you to compile your
- own defaults into the code.
- - You can now set the number of lines (for all you EMACS freaks :-).
- On an interlaced screen this gives you upto a 48 line terminal.
- - WORKBENCH colors are NEVER touched.
- - In an attempt to keep the size down, the color palette menu item
- has been removed (current). Code is about 36K in size with a
- run time image (using workbench screen) of about 88k.
- - Many bugs fixed including reverse scrolling with descenders,
- reverse video at end of line, clearing with scrolling regions,
- ... and 20 or more others.
- - File capture now no longer sends the filename to the host.
- - BOLD (<esc>[1m) has now been added by using an additional color
- when you specify a depth of 2 (instead of 1) bitplane.
- - UNDERLINE (<esc>[4m) has now been added.
- - The handling of remote (host) escape sequences has been completly
- re-written (thanks to Dawn Banks for all the work).
- - Function keys (and shifted function keys) can now be bound to
- arbitrary strings (Jim Ravan gets his macros). See VT100.DOC
- for details.
- - Cursor has no been reduced to the size of a normal character for
- easier readability.
- - XMODEM has been improved (by Steve Drew) to use a timer device
- (for timeouts) and to abort immediately if the user types <ESC>.
- - KERMIT has been completely re-written and appears to work fine,
- thanks to the efforts of Steve Drew.
- - New menu item allows script file support. Module written by
- Steve Drew. See VT100.DOC for details.
-
- Known problems:
- ---------------
- - Wraping a line at the end of a scrolling region will not scroll
- correctly.
-
- - Caps get locked on after a volume is requested during a file xfer
- (I have not looked into this one yet).
-
- - Cursor hot spot sometimes moves on custom screen.
- (I've seen this one, and don't understand it).
-
- Suggestions/bug fixes not implemented:
- --------------------------------------
- - "Custom colors are getting ignored"
-
- Wrong... you probably forgot to say "WBCOLORS NO" in the INIT file.
-
- - "ASCII capture uses synchronous I/O so capture of game playing
- is jerky"
-
- This change MAY be made if someone else wants to write the code.
-
- - "Beep should be in stereo"
-
- I am trying to use as FEW system resources as possible, therefore
- beep only ties up 1 of the 4 possible channels.
-
- Installation:
- -------------
- The files in this archive may be extracted by the bourne shell
- (/bin/sh) or the shar program using the "unshar switch (-u)",
- contact me if you need a copy of this version of shar.
-
- REMEMBER: Set the correct compiler definition in VT100.H
-
- Files:
- ------
- README - this file
-
- vt100.doc - documentation for the terminal emulator
-
- makefile - make file for the emulator (under MANX AZTEC-C)
-
- vt100.h - include file used by all other modules
-
- window.c - manager for window and keyboard
-
- vt100.c - main module, handles menus
-
- remote.c - handle remote characters (vt100 emulation)
-
- kermit.c - kermit protocol (to transfer text files on VMS
- select the CRLF option on the transfer mode menu,
- otherwise use image mode).
-
- init.c - startup code
-
- xmodem.c - xmodem protocol that understands AMIGA binary and
- text file formats (automatically).
-
- script.c - script control package
-
- expand.c - filename expansion (wildcards) and dir setting
-
- Contact:
- --------
- Please send bugs/comments/suggestions/praise to:
-
- Dave Wecker at ENET: COOKIE::WECKER
- ARPA: wecker%cookie.dec.com@decwrl.dec.com
- USENET: {decvax|decwrl}!cookie.dec.com!wecker
- SNAIL: Dave Wecker
- 115 Palm Springs Drive
- Colorado Springs, CO 80908
-