home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / ITERM.ZIP / ITERM.DOC < prev    next >
Encoding:
Text File  |  1986-01-26  |  7.9 KB  |  160 lines

  1. ITERM.COM by Scott Murphy
  2.  
  3. 77 So. Adams St. #301
  4.  
  5. Denver, CO 80209
  6.  
  7. Compuserve 70156,263
  8.  
  9.  
  10.  
  11.    ITERM.COM is a terminal emulator for the IBMPC and close
  12.  
  13. compatibles.  It supports a telephone directory and auto-dial
  14.  
  15. for a Hayes external modem.  ASCII files can be transmitted and
  16.  
  17. received with X/ON-X/OFF flow control, or files of any kind may
  18.  
  19. be sent and received using the XMODEM-CRC protocol. Because it
  20.  
  21. is written in Turbo Pascal, and because it does not include
  22.  
  23. every concievable feature, it is relatively small (25K), and
  24.  
  25. loads and executes quickly.  Its only known bug that I have been
  26.  
  27. unable to root out is a frequent failure to initialize the modem
  28.  
  29. correctly when first executed. Exiting and re-running the
  30.  
  31. program invariably solves the problem.
  32.  
  33.  
  34.  
  35.    ITERM is essentially "modeless."  Everything you type at the
  36.  
  37. keyboard, with the exception of the alt-shifted command keys
  38.  
  39. described below, is sent to the modem and on to the machine you
  40.  
  41. are communicating with.  I find this simplicity attractive
  42.  
  43. compared to older CP/M programs, or the implementation of
  44.  
  45. KERMIT that I have used.
  46.  
  47.  
  48.  
  49. Status Line
  50.  
  51.    ITERM maintains a dispaly of its current status on the top
  52.  
  53. line of the screen. If you wonder what's going on, look there-
  54.  
  55. it probably says.
  56.  
  57.  
  58.  
  59. Auto-Dialing
  60.  
  61.    ITERM maintains a directory of 20 telephone numbers.  Each
  62.  
  63. directory entry has room for the name of the system, your
  64.  
  65. usercode and password, the communication parameters needed by
  66.  
  67. the remote system, and a list of characters to be filtered from
  68.  
  69. the incoming stream.  ITERM will look for its directory file on
  70.  
  71. the currently logged disk.  If none is present, a new, blank
  72.  
  73. directory is created.  It is up to you to fill in the directory
  74.  
  75. as you use the program.
  76.  
  77.  
  78.  
  79. Command Keys
  80.  
  81.  
  82.  
  83. F1 ------ Send the current usercode string.
  84.  
  85. F2 ------ Send the current password string.
  86.  
  87. F3 ------ Recall the last line typed at the keyboard.
  88.  
  89. F7 ------ Send an ASCII file with X/ON - X/OFF flow control.
  90.  
  91. F9 ------ Toggle ASCII text capture on/off. The first time you
  92.  
  93.           use F9, you will be prompted for a filename to open and
  94.  
  95.           use for text capture. If the file exists, text will be
  96.  
  97.           added to the end of the file. X/ON - X/OFF flow control
  98.  
  99.           is used.
  100.  
  101. F10 ----- Close the current text capture file, and turn text capture off.
  102.  
  103. Alt-B --- Break. Sends a break signal to the remote system.
  104.  
  105. Alt-C --- Clear the screen.
  106.  
  107. Alt-D --- Dial the modem. A numbered list of system names will
  108.  
  109.           appear in a window on the screen. To dial a system,
  110.  
  111.           enter its line number (1-20), and a carriage return.
  112.  
  113.           To add, or change an entry, enter the letter 'C' and
  114.  
  115.           a carriage return. You will be prompted for a line
  116.  
  117.           number to add or change.  You will be prompted for
  118.  
  119.           the contents of the directory entry interactively. If 
  120.  
  121.           you don't wish to change an item of the directory entry,
  122.  
  123.           just type a carriage return.  Some mainframes _will_ 
  124.  
  125.           persist in adding junk characters to their output stream. 
  126.  
  127.           You may filter these out by providing their decimal ASCII
  128.  
  129.           codes at the appropriate prompt. (127, the little house-
  130.  
  131.           shaped pictograph on IBM is a common one.) Some machines cannot
  132.  
  133.           accept the strings sent by the F1, F2, and F3 keys at the
  134.  
  135.           full speed of your modem. By default, ITERM waits for an
  136.  
  137.           echo from the remote system before sending each new character.
  138.  
  139.           You may defeat this by answering no at the 'Use pacing' prompt.
  140.  
  141.           If you decide not to dial a number or change an entry,
  142.  
  143.           answer the first prompt with a single carriage
  144.  
  145.           return.  If you wish to abort a call in progress,
  146.  
  147.           (perhaps because of a busy signal) type a control-X.
  148.  
  149. Alt-H --- Hang-up the modem. This command tells the modem that
  150.  
  151.           the terminal (your computer) is no longer ready to
  152.  
  153.           talk to a remote system. The modem responds by
  154.  
  155.           hanging up. In its default configuration, the Hayes
  156.  
  157.           modem maintains the Terminal-Ready state regardless
  158.  
  159.           of what ITERM tells it. To enable the Alt-H command,
  160.  
  161.           you must disable this feature of the modem. (Switch 1
  162.  
  163.           inside the front panel of the Smartmodem 300 must be
  164.  
  165.           UP to enable Alt-H. Settings for other models and
  166.  
  167.           compatible brands will vary. Consult your manual.)
  168.  
  169. Alt-P --- Parameters. Alter or examine the current
  170.  
  171.           communication parameters.  Allows you to see or set
  172.  
  173.           the baud-rate, number of stop-bits and data bits, and
  174.  
  175.           the parity setting.  The program will gladly accept
  176.  
  177.           any baud rate up to 9600. It's up to you to enter the
  178.  
  179.           desired rate without typos.
  180.  
  181. Alt-R --- Recieve a file in XMODEM-CRC protocol. You will be
  182.  
  183.           prompted for a filename. If the file exists, you have
  184.  
  185.           the option of overwriting it or entering a new file
  186.  
  187.           name.
  188.  
  189. Alt-S --- Send a file in XMODEM-CRC protocol. You will be
  190.  
  191.           prompted for a file name to send. If it cannot be
  192.  
  193.           found, you may retype the name, or abort the send.
  194.  
  195.           Once the transmission process has begun, you may
  196.  
  197.           abort it at any time by typing a control-X.
  198.  
  199. Alt-X --- eXit ITERM.  You can back out of the exit if you
  200.  
  201.           issue this command by mistake.  (Note: ITERM will not
  202.  
  203.           automatically hang up the modem on exit. This can be
  204.  
  205.           useful if you wish to run other software and then
  206.  
  207.           return to your session.)
  208.  
  209. Home ---- Help. Displays a menu of commands.
  210.  
  211.  
  212.  
  213. Up
  214.  
  215. Arrow --- Saves the contents of the current screen for later
  216.  
  217.           review.
  218.  
  219. Down
  220.  
  221. Arrow --- Restores the contents of the screen saved with Up
  222.  
  223.           Arrow.
  224.  
  225. Right
  226.  
  227. Arrow --- Recalls characters from the last line typed at the
  228.  
  229.           keyboard, one at a time.
  230.  
  231.  
  232.  
  233.  
  234.  
  235. Notes on the source code.
  236.  
  237.    ITERM is composed of code I have written in Turbo-Pascal,
  238.  
  239.    and of code others have written and released to the public
  240.  
  241.    domain.  I hereby release the portions I wrote into the
  242.  
  243.    public domain as well.  You may do anything with it except
  244.  
  245.    put your name on it and attempt to sell it for profit.
  246.  
  247.    Remember, there is no creature more despicable than a
  248.  
  249.    plagiarer!
  250.  
  251.  
  252.  
  253.    ITERM is composed of a "root" file, ITERM.PAS, and a set of
  254.  
  255.    ".INC" files that implement various sections of the program.
  256.  
  257.    Turbo Pascal permits the type definitions, and constant and
  258.  
  259.    variable declarations of a program to be scattered through-
  260.  
  261.    out a source file, so long as they appear outside the block
  262.  
  263.    where they are used. I have taken advantage of this feature
  264.  
  265.    to keep the Type, Const, and Var sections of the various
  266.  
  267.    include files near the code that uses them.
  268.  
  269.  
  270.  
  271.    The include files are as follows:
  272.  
  273.         ITRMDIAL.INC -- implements auto-dialing and the phone
  274.  
  275.           directory.
  276.  
  277.         ITRMSAVE.INC -- the code to capture the ASCII text of
  278.  
  279.           your terminal section.
  280.  
  281.         ITRMXFER.INC -- implements XMODEM protocol and ASCII
  282.  
  283.           text-file transmission.
  284.  
  285.         ITRMMISC.INC -- miscellaneous service routines used by
  286.  
  287.           other program segments.
  288.  
  289.         ITRMPORT.INC -- the routines that drive the serial
  290.  
  291.           port, including the interrupt service routine that
  292.  
  293.           permits interrupt driven input from your modem. Most
  294.  
  295.           of these routines were written by Alan Bishop.
  296.  
  297.         ITRMWIND.INC -- the routines that handle the windows
  298.  
  299.           that come and go as the program runs, and allow you
  300.  
  301.           to save a screen for later reference. Thes were
  302.  
  303.           written mostly by Bela Lubkin of Borland Int'l.
  304.  
  305.  
  306.  
  307. Your comments or complaints, and especially your improvements,
  308.  
  309. are of course, invited.
  310.  
  311.  
  312.  
  313. Unsolicited Advertisement: Turbo Pascal, and Borland International,
  314.  
  315. its publishers, are a joy to work with.  Seek them out.
  316.  
  317.  
  318.  
  319.