home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: DFÜ und Kommunikation / SOS-DFUE.ISO / programm / dos / terminal / cvt220 / cvt220.doc < prev    next >
Encoding:
Text File  |  1990-03-27  |  4.3 KB  |  90 lines

  1.          CVT220 Modifications by Bob Bonomo CIS [76314,2200]
  2.                 All modifications are placed in public domain.
  3.  
  4.          This modification came about by a need to emulate a VT220 using
  5.          SCO-XENIX (tm).  I figured it was a good place to start and
  6.          also a good exercise to tone up my C. It quickly became
  7.          apparent that upload/download capability was also needed.
  8.          Using the capture facility of CVT100 was not safe enough so
  9.          XMODEM protocol was added.  Most of the code for XMODEM was
  10.          taken from Al Stevens Smallcom project in Dr. Dobbs Journal
  11.          and was adapted to CVT100.  The data entry part is also from
  12.          DDJ.  I tried to use the same style of coding as the original
  13.          when I integrated my changes.
  14.  
  15.          MODIFICATIONS:
  16.  
  17.          PROTOCOL.C is a new module.  It does the actual upload or
  18.          download.  It also intercepts the ticker interrupt in order to
  19.          install timeouts.
  20.  
  21.          DATA.C is also new.  It just reads a data field and does
  22.          minimal word processing.
  23.  
  24.          VTSETUP.C was modified to use the ALT-Function keys because the
  25.          VT220 uses F5 thru F10.  Having done this, the menu line was
  26.          changed à la BORLAND to only show when the ALT key is pressed.
  27.          All the setup screens were changed to open up with boxes and
  28.          reverse colour.  Code was added for the protocol transfer setup
  29.          screen, VT100 or VT220 mode selection, and a DOS shell.
  30.  
  31.  
  32.          KEYIO.C adds the new functions for the VT220 keys.  VT100 or
  33.          VT220 mode is selectable thru the emulation setup menu.  I also
  34.          made it aware of an AT style keyboard.  Code for a BREAK key
  35.          (CTRL-END) was added.  While adding the BREAK key code I
  36.          discovered that any extended key , such as CRTL-END or HOME or
  37.          PGDN, that did not have a function associated with it sent a
  38.          00h.  I tested this code on a PICK system and it interpreted
  39.          00h as a BREAK signal.  I changed the code to only send out
  40.          non-zero characters.
  41.  
  42.          On a PC, it does the keypad mapping like the original CVT100:
  43.             keypad DASH (-) to comma (,)
  44.             keypad PLUS (+) to enter (\r)
  45.             keypad STAR (*) to minus (-)
  46.  
  47.          If the keyboard is the AT style it does these mappings:
  48.             keypad STAR  (*) to star  (*)
  49.             keypad MINUS (-) to minus (-)
  50.             keypad PLUS  (+) to comma (,)
  51.             keypad ENTER     to keypad enter
  52.  
  53.          This visually look more like both the real VT100 and VT220
  54.          keypads.  All values used for all the VT220 keys were taken
  55.          from the Crosstalk (tm) Mark IV manual.
  56.  
  57.          CVT100.C was renamed to CVT220 and was changed to turn BREAK
  58.          off at startup and then reset it to its original value before
  59.          returning.  This allows CTRL-C to pass thru and not exit the
  60.          program.  There were people using ORACLE (tm) on a PC and they
  61.          needed BREAK on. A routine to shell to DOS was added.
  62.  
  63.          COMIO.C was modified to set the timer in ttinc() when doing
  64.          protocol transfers and returns a NULL after a timeout.  A
  65.          routine to send a BREAK signal was added.
  66.  
  67.          FILEIO.C was changed to read and save the parameters for
  68.          protocol transfer and the terminal type.  It will search the
  69.          default directory first and then the directory where the
  70.          program was loaded from for the setup file.  Saving the setup
  71.          is always done to the default directory.
  72.  
  73.          CVT100.H was renamed to CVT220.H and changed for all the
  74.          functions in the two new modules.  New KEY defines for the
  75.          VT220 were added.
  76.  
  77.          CVT100.PRJ was renamed to CVT220.PRJ.
  78.  
  79.          XMODEM.C is UNIX transfer program that will operate in either
  80.          interactive mode or batch mode.  It is supplied here so that
  81.          the automatic transfer mode can be used.  See USER.DOC for
  82.          more info.
  83.  
  84.          CHANGES in the planning stage.
  85.          1. A function to look at the LOG file while in the emulator.
  86.          2. Edit a line in the LOG file and send it to the host.
  87.             Useful to correct a command.
  88.          3. An option to send incoming data to the printer.
  89.  
  90.