home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / COMM / MISC / TR3_20.ZIP / TR.DOC < prev    next >
Encoding:
Text File  |  1992-06-10  |  108.0 KB  |  1,914 lines

  1.  
  2. TeleReplica Instruction Manual
  3.  
  4. 0.    To Get TeleReplica Up and Running Quickly...
  5.  
  6.       If you will be using modems then read the modem setup suggestions at the
  7.       start of appendix A. Then read whichever of the following sections most
  8.       closely matches your own application:
  9.          A1  Consultant/Client via Modem
  10.              One consultant wishing to connect via modem to many different
  11.              clients in order to take over the clients' computers.
  12.          A2  Remote/Shared via Modem
  13.              One remote access PC to be taken over by many different users via
  14.              modem.
  15.          A3  Laptop/Desktop via Direct Cable
  16.              A simple direct connection with no modems.
  17.          A4  Remote/Shared via Common Mini-computer
  18.              Instead of a direct link between the two PCs, each PC will be
  19.              logged into a common UNIX system.
  20.          A5  Home/Office via Modem
  21.              A dedicated office PC to be taken over from a home PC.
  22.  
  23.  
  24. 1.    What TeleReplica Will Do
  25.  
  26. 1.1   TeleReplica will allow you to connect two IBM PC-compatible computers
  27.       together (via telephone lines and modems, or via a direct cable, or via a
  28.       common mini- or main-frame computer), and arrange for input to be
  29.       accepted from either keyboard, and for both displays to appear identical.
  30.       In this document the computer which is running normal programs is called
  31.       the host computer, and the other computer is called the replica computer,
  32.       since its display is a replica of the host computer's display.
  33.  
  34. 1.2   TeleReplica will do a reasonable job of optimizing the screen changes
  35.       transmitted, so that (for example) moving a highlighted menu bar will
  36.       appear almost immediately even at 1200 bps (provided the call is
  37.       relatively local).
  38.  
  39. 1.3   TeleReplica always updates the replica computer's screen to match the
  40.       current host screen. This means that if several commands are issued
  41.       without waiting for the display to catch up, then the replica screen will
  42.       be updated to show the final host screen, without wasting time
  43.       transmitting the intermediate screens.
  44.  
  45. 1.4   TeleReplica uses a password of up to 39 characters, which means an
  46.       intruder would (on average) take millions of years at 2400 bps to guess a
  47.       well chosen password! Since this password is transmitted automatically,
  48.       there is no need to keep it short and easy to remember - once TeleReplica
  49.       is installed, you will never need to enter the password manually.
  50.  
  51. 1.5   TeleReplica will allow the host site to call the replica site, or the
  52.       other way around. For consultants this means you can make your clients
  53.       pay the 'phone bills!
  54.  
  55. 1.6   TeleReplica will automatically detect the "baud" rate being used by the
  56.       replica computer, and set the host computer's "baud" rate to match. This
  57.       means that users with different speed modems can all access a single
  58.       host.
  59.  
  60. 1.7   TeleReplica uses less than 10K of memory on the host computer, which
  61.       means there should be enough memory left to run most applications.
  62.  
  63. 1.8   TeleReplica can be installed to "type" a command in response to the
  64.       'phone ringing, which allows better control than merely using the modem's
  65.       auto-answer capability. It can also send a command directly to the modem.
  66.  
  67. 1.9   TeleReplica will trap anything printed to any printer on the host PC, and
  68.       redirect it to the chosen printer at the replica PC. This redirection
  69.       takes place only when a session is active, so at other times the host can
  70.       be used to print normally even if TRHOST is still loaded.
  71.  
  72. 1.10  TeleReplica will allow the host PC to run with screen blanked and
  73.       keyboard dead for improved privacy.
  74.  
  75. 1.11  TeleReplica will support file transfers using external protocol programs
  76.       such as DSZ, which provide crash recovery and cope better with poor lines
  77.       than TeleReplica's built-in protocol.
  78.  
  79. 1.12  TR is "DESQview-Aware". See Appendix D for details.
  80.  
  81. 1.13  Full source code is available at a small cost. See REGISTER.DOC for
  82.       details.
  83.  
  84.  
  85. 2.    What TeleReplica Will NOT Do
  86.  
  87. 2.1   TeleReplica will not replicate graphics displays. If the user at the
  88.       replica computer runs a program that displays graphics, then the replica
  89.       display may show (textual) garbage. Keystrokes will still be transmitted
  90.       to the host computer, but the user must remember which keys are necessary
  91.       to get out of graphics mode again! TeleReplica gives a warning that
  92.       graphics mode has been entered, but by then it is too late to avoid it.
  93.       However, in an emergency TR can instruct the host computer to reboot, so
  94.       provided TRHOST is run from AUTOEXEC.BAT this provides a means of
  95.       recovery.
  96.  
  97. 2.2   TeleReplica will only replicate text page 0, and only as an 80 column by
  98.       25 line display.
  99.  
  100. 2.3   TeleReplica will only work with the standard keyboard buffer (starting at
  101.       the address in segment 0040h specified at offset 0080h, ending at the
  102.       address specified at offset 0082h, with head pointer stored at offset
  103.       001Ah, and tail pointer stored at offset 001Ch).
  104.  
  105. 2.4   Where TeleReplica is being used with a modem, it will work best if the
  106.       modem and modem cable provide carrier detect, data terminal ready and
  107.       ring indicator signals in addition to the minimum transmit data, receive
  108.       data and ground signals.
  109.  
  110. 2.5   TeleReplica will cause bad "snowing" on some older CGA display cards. No
  111.       attempt has been made to use the retrace intervals for screen memory
  112.       access.
  113.  
  114. 2.6   TeleReplica will slow down the normal operation of the host computer. On
  115.       a 4.77MHz PC performance can be halved; on a faster host the difference
  116.       will not be so noticeable.
  117.  
  118. 2.7   TeleReplica requires DOS 3.0 or later.
  119.  
  120. 2.8   TeleReplica will not work particularly well on a noisy 'phone line. File
  121.       transfers are error-checked, but normal screen updates are not. Normally
  122.       this will not be a problem, since a corrupted screen will be obvious to
  123.       the user and in any case TR will usually detect the problem and
  124.       automatically request a full refresh. However, if errors happen very
  125.       frequently then TR can spend all its time continually re-refreshing the
  126.       display! Printer capture also is not error-checked, so line noise will
  127.       garble the printout.
  128.  
  129.  
  130. 3.    Why Use TeleReplica?
  131.  
  132. 3.1   Access to Local Area Network from Home
  133.  
  134.       TeleReplica will allow you to connect into your office computer from
  135.       home. This means you do not need to take all your data files home with
  136.       you, and that you do not need to license additional copies of your
  137.       software (since your home computer is not running the software, only
  138.       replicating the screen of your office computer). If your office computer
  139.       is part of a local area network, then you automatically have access to
  140.       all the network facilities from home.
  141.  
  142.       We regularly use TeleReplica with such programs as WordPerfect,
  143.       WordPerfect Office (especially mail), WordStar, FoxBASE, Lotus-style
  144.       spreadsheets, all the Novell NetWare utilities, and our local area
  145.       network is regularly backed up after hours via TeleReplica! The only
  146.       programs we have come across that could not be used remotely either:
  147.          a) used graphics displays (e.g. WordPerfect preview); or
  148.          b) took over interrupts needed by TRHOST (e.g. comms programs); or
  149.          c) used text pages other than 0 (e.g. Turbo Debugger?)
  150.  
  151. 3.2   Software Support
  152.  
  153.       TeleReplica will allow you to take over your client's computer, so that
  154.       you can see what is going wrong. In many cases this will avoid the need
  155.       for an expensive trip to the client's site.
  156.  
  157.       For details of these and other applications, see the scenarios in
  158.       Appendix A.
  159.  
  160.  
  161. 4.    TeleReplica Host Installation
  162.  
  163.       To install TeleReplica at the host computer, first copy the files:
  164.       TRHOSTIN.EXE, TRHOSTC.EXE, TRHOST.EXE, TRPUT.EXE, TRGET.EXE, TRTALK.EXE,
  165.       TRCHECK.EXE, TRASK.EXE, TRDIAL.EXE, TREXTR.EXE, TREXTS.EXE, TRMODSET.EXE,
  166.       TRRZ.BAT and TRSZ.BAT into a directory (say \TR) on the host computer.
  167.       Then enter the command:
  168.          TRHOSTIN
  169.  
  170.       Your display should show a menu similar to:
  171.       ╔═══════════════════════════════════════════════════════════════════════╗
  172.       ║ TeleReplica Host 3.20 Installation Copyright (c) 1992 Douglas Thomson ║
  173.       ║                                                                       ║
  174.       ║    A. Select serial port (currently COM1)                             ║
  175.       ║    B. Change password (currently "password")                          ║
  176.       ║    C. Change modem initialization string (currently:                  ║
  177.       ║       "\rat &c1 &d2\r")                                               ║
  178.       ║    D. Change modem dialing format string (currently:                  ║
  179.       ║       "atdt %s\r")                                                    ║
  180.       ║    E. Select maximum "baud" rate (currently 2400)                     ║
  181.       ║    F. Use modem CARRIER DETECT signal (currently YES)                 ║
  182.       ║    G. Flow control (currently NONE)                                   ║
  183.       ║    H. Generate INT 9 on each key (currently NO)                       ║
  184.       ║    I. Respond to modem RING signal (currently NO)                     ║
  185.       ║    J. Reboot on loss of carrier (currently NO)                        ║
  186.       ║    K. Synchronize "baud" rate (currently YES)                         ║
  187.       ║    L. Send wakeup every 2 minutes (currently NO)                      ║
  188.       ║    M. Private mode (currently NO)                                     ║
  189.       ║    N. Printer redirection (currently HOST)                            ║
  190.       ║    O. Create consistent .TR file                                      ║
  191.       ║    Q. Abandon changes                                                 ║
  192.       ║    S. Save changes and leave installation program                     ║
  193.       ║                                                                       ║
  194.       ║ Selection:                                                            ║
  195.       ╚═══════════════════════════════════════════════════════════════════════╝
  196.       Consider each of these options in turn:
  197.  
  198. 4.1   Select Serial Port
  199.  
  200.       Another menu will appear:
  201.       ╔══════════════════════════════════════════════════════════╗
  202.       ║ TeleReplica Host Program Serial Port Selection           ║
  203.       ║                                                          ║
  204.       ║    0. Completed, no (further) change                     ║
  205.       ║ => 1. COM1 port (base 0x03F8, interrupt IRQ4)            ║
  206.       ║    2. COM2 port (base 0x02F8, interrupt IRQ3)            ║
  207.       ║    3. COM3 port (base 0x0000, interrupt IRQ4)            ║
  208.       ║    4. COM4 port (base 0x0000, interrupt IRQ3)            ║
  209.       ║    A. Custom base (currently 0x03F8)                     ║
  210.       ║    B. Custom interrupt (currently IRQ4)                  ║
  211.       ║                                                          ║
  212.       ║ Selection:                                               ║
  213.       ╚══════════════════════════════════════════════════════════╝
  214.       All four "standard" ports are listed, although the port addresses for
  215.       non-existent ports are unlikely to be meaningful (if you are lucky, they
  216.       will be flagged with a base of 0x0000). To select one of these ports,
  217.       just type the port number. If you have a non-standard port/interrupt
  218.       combination, then use A and B to specify exactly what you want. When you
  219.       are happy with the settings, select 0 to return to the main menu.
  220.  
  221.       Please note that I do not have access to any system which uses the AT IRQ
  222.       numbers (8-15), so I cannot guarantee the performance of TeleReplica when
  223.       these 16-bit cards are used. Also, since COM1 and COM3 share the same
  224.       interrupt, only one or other of these ports can be in use at the same
  225.       time (the same applies to COM2 and COM4).
  226.  
  227. 4.2   Change Password
  228.  
  229.       The string editing menu will appear:
  230.       ╔═══════════════════════════════════════════════════════════════════════╗
  231.       ║ TeleReplica Host Program Password Selection                           ║
  232.       ║                                                                       ║
  233.       ║ Edit existing string:                                                 ║
  234.       ║ password                                                              ║
  235.       ╚═══════════════════════════════════════════════════════════════════════╝
  236.       Whenever you see the "Edit existing string:" prompt, you can use the left
  237.       and right arrow keys to move the cursor through the string, and the
  238.       backspace and delete keys to delete characters to the left of or under
  239.       the cursor respectively. Any normal characters you type will be inserted
  240.       at the cursor position. If the first key you press is a normal printable
  241.       character then the string will be cleared automatically.
  242.  
  243.       You will not be able to enter more than the maximum allowed number of
  244.       characters for any string.
  245.  
  246.       Since you will only need to enter the password once during installation,
  247.       and never in normal use, it is recommended that you make the password
  248.       near the maximum length and quite random. The main thing is that no-one
  249.       should have any chance of guessing the password.
  250.  
  251. 4.3   Change Modem Initialization String
  252.  
  253.       The string editing menu will appear again, this time asking for the modem
  254.       initialization string. This string is transmitted to the modem at the
  255.       maximum "baud" rate when TRHOST runs for the first time. If you are using
  256.       an automatic power switch that powers up the host computer when the
  257.       'phone starts ringing, then the initialization string may need to answer
  258.       the 'phone (see scenario A2). There may also be various operating modes
  259.       that cannot be stored permanently in your modem's non-volatile memory,
  260.       and which must therefore be established each time TRHOST starts. In many
  261.       applications, where nothing needs to be changed, this string may be
  262.       empty.
  263.  
  264.       You will probably need to refer to the instruction manual for the host
  265.       modem to work out what if anything is required.
  266.  
  267.       As well as normal characters, you may need to include some special
  268.       characters such as carriage return. Carriage return can be encoded as \r
  269.       (see the main menu at the start of section 4). Alternatively, any
  270.       character can be entered in hexadecimal as \0x followed by two hex digits
  271.       (for example, the escape key is \0x1B).
  272.  
  273.       It may also be necessary to include some kind of delay. For example, some
  274.       modems go off into a world of their own for a second or so after a reset
  275.       command. Delays are entered in milliseconds as \D followed by the delay
  276.       (for example, \D1000. [1 second] or \D500. [half a second]). Delays are
  277.       only accurate to the nearest 1/18.2th of a second, so the number you
  278.       enter may be modified slightly to reflect the nearest possible actual
  279.       delay.
  280.  
  281. 4.4   Change Modem Dialing Format String
  282.  
  283.       This string determines what TRDIAL will send to the modem to dial a
  284.       number. The usual use of TRDIAL will be something like TRDIAL 221166, so
  285.       normally the dialing format string should contain a %s to insert the
  286.       number. For example, if the dialing string is "atdt %s\r" and the user
  287.       enters the previous dialing command, then what will be sent to the modem
  288.       is "atdt 221166\r".
  289.  
  290.       Alternatively, if only one number is required, then the dialing format
  291.       string may contain the actual number, in which case the user will only
  292.       need to enter TRDIAL by itself.
  293.  
  294.       Note that (when CARRIER DETECT is being used) TRDIAL will only send
  295.       anything to the modem if there is NO carrier detected - once a carrier
  296.       had been established the modem would not act on the command in any case,
  297.       but would send it through to the other end. When TRHOST is installed to
  298.       ignore CARRIER DETECT, TRDIAL will send data to the modem regardless.
  299.  
  300. 4.5   Select Maximum "Baud" Rate
  301.  
  302.       Another window will appear:
  303.       ╔═══════════════════════════════════════════════════════════════════════╗
  304.       ║ TeleReplica Host Program Maximum "Baud" Rate Selection                ║
  305.       ║                                                                       ║
  306.       ║ Enter "baud" rate:                                                    ║
  307.       ╚═══════════════════════════════════════════════════════════════════════╝
  308.       You should enter the maximum "baud" rate that the host modem is capable
  309.       of using. Usually this will be 1200, 2400 or 9600. Note that TRHOST can
  310.       automatically adjust to half this speed, a quarter of this speed, or one
  311.       eighth of this speed. Thus if you choose 9600 bps, TRHOST will be able to
  312.       work at 9600, 4800, 2400 or 1200 bps (provided the host modem can handle
  313.       these speeds).
  314.  
  315.       If you will be using a direct cable between two PCs, then 19200 should
  316.       work on all systems and 38400 will work on faster computers. If your
  317.       computers have NS16550AFN UART chips instead of the standard 8250 chips
  318.       then you may find speeds of 57600 or even 115200 work even on slower PCs
  319.       (not tested, I only have the 8250!).
  320.  
  321. 4.6   Use modem CARRIER DETECT signal
  322.  
  323.       Selecting this option will determine whether or not TRHOST will use the
  324.       carrier detect signal provided by the modem. If you are using a real
  325.       modem, then you should set this to YES and make sure the modem is
  326.       initialized so that it reports the true CD status from the 'phone line.
  327.  
  328.       If you are using a direct cable between two PCs, or connecting PCs via a
  329.       mini-computer, then set this option to NO.
  330.  
  331. 4.7   Flow control
  332.  
  333.       Selecting this option will bring up the following menu:
  334.       ╔══════════════════════════════════════════════════════════╗
  335.       ║ TeleReplica Host Program Flow Control Selection          ║
  336.       ║                                                          ║
  337.       ║    0. Completed, no (further) change                     ║
  338.       ║ => 1. No flow control                                    ║
  339.       ║    2. Hardware (RTS/CTS) flow control                    ║
  340.       ║    3. Software (XON/XOFF) flow control                   ║
  341.       ║    4. Both hardware and software flow control            ║
  342.       ║    5. Set inter-character gap time (currently 330 ms)    ║
  343.       ║                                                          ║
  344.       ║ Selection:                                               ║
  345.       ╚══════════════════════════════════════════════════════════╝
  346.  
  347. 4.7.1 TeleReplica can use the following flow control systems:
  348.       NONE     No flow control. Use this with a direct cable or with modems
  349.                that require no speed adjustment.
  350.       CTS      Hardware flow control using RTS (request to send) and CTS (clear
  351.                to send). Use this in preference to software flow control if it
  352.                is available.
  353.       XON      Software flow control using XON and XOFF (^S/^Q). Use this if
  354.                flow control is needed and hardware flow control is not
  355.                available.
  356.       BOTH     Use both software and hardware flow control. I can't imagine why
  357.                anyone would want this...
  358.  
  359. 4.7.2 Normally TeleReplica will not need to use any flow control even when it
  360.       is available. However, some modems communicate with the PC at a different
  361.       speed than that at which they communicate with other modems, so that it
  362.       is possible for the PC to "get ahead" of the modem and hence lose data.
  363.       In these cases it is necessary for the modem to tell the PC when to wait
  364.       a bit before sending the next byte.
  365.  
  366. 4.7.3 A side effect of software flow control is that TeleReplica will not use
  367.       ANY control characters: it will not send any, and it will ignore all
  368.       control characters received apart from XON and XOFF. This may be useful
  369.       for networks that respond to certain control characters; however, binary
  370.       file transfers will be slightly slower since 64 characters (control
  371.       characters with and without the parity bit) are not used. Note that both
  372.       TR and TRHOST must therefore either use or not use software flow control
  373.       - if one end uses software flow control and the other does not, then no
  374.       communication will be possible!
  375.  
  376. 4.7.4 When TRHOST is receiving characters (normally keys that have been pressed
  377.       at the remote PC - each key is encoded as two or three characters) it
  378.       waits a certain length of time after receiving the first character before
  379.       giving up and ignoring the key. This is important, since otherwise a
  380.       single byte introduced by noise on the line could cause all subsequent
  381.       keys to be misinterpreted (the second character of one key being treated
  382.       as the first character in the next key and so on). TR always sends all
  383.       the characters which constitute one key as close together as the
  384.       communication speed will allow, so usually a gap of even 0.1 seconds
  385.       means that something has gone wrong and that TRHOST should start looking
  386.       for a new key again. However, if the link between TR and TRHOST uses
  387.       packets, or for any other reason introduces significant gaps between two
  388.       characters that were sent together, then TRHOST may need to be adjusted
  389.       to tolerate longer gaps between characters which should be together.
  390.       Selecting option 5 will bring up the following screen:
  391.       ╔═══════════════════════════════════════════════════════════════════════╗
  392.       ║ TeleReplica Host Program Inter-character Gap Time Selection           ║
  393.       ║                                                                       ║
  394.       ║ Longest gap to be tolerated (ms): 330                                 ║
  395.       ╚═══════════════════════════════════════════════════════════════════════╝
  396.       Any time up to about 10 seconds (10000 ms) can be entered. Be aware that
  397.       if this time is set to 10 seconds, and line noise does introduce a stray
  398.       character, then you will need to wait 10 seconds without typing anything
  399.       at the remote PC to get TRHOST back into synchronization!
  400.  
  401. 4.8   Generate INT 9 on each key
  402.  
  403.       When TRHOST receives a key from TR, it will usually just place it in the
  404.       keyboard buffer to be found by any program that wants to read a key.
  405.       However, some applications monitor the keyboard interrupt (INT 9) and
  406.       only read the keyboard input buffer after there has been a keyboard
  407.       interrupt! To keep such programs happy, TRHOST can generate an INT 9
  408.       after it has placed a key into the buffer. However, this can cause
  409.       problems for other programs, particularly when the host and remote
  410.       keyboards may both be in use at the same time (e.g. TRTALK). Leave this
  411.       option OFF unless it is really necessary.
  412.  
  413. 4.9   Respond to modem RING signal
  414.  
  415.       Selecting this option will determine whether or not TRHOST will respond
  416.       to the RING signal which the modem provides to tell the PC that the
  417.       'phone is ringing. If this option is turned on, then the menu will be
  418.       extended with the following sub-options:
  419.  
  420.       G. Respond to modem RING signal (currently YES)───┬─ 1. too short  220 ms
  421.                                                         ├─ 2. too long  5000 ms
  422.                                                         ├─ 3. delay    10000 ms
  423.                                                         ├─ 4. reset    10000 ms
  424.                                                         ├─ 5. "type" response
  425.                                                         └─ 6. response ─┐
  426.                                                                 "\0x1Btrauto\r"
  427.  
  428. 4.9.1 If the 'phone only rings for a very short time, you may wish to ignore
  429.       the ringing completely - otherwise just knocking the 'phone off the hook
  430.       can trigger a TRHOST response!
  431.  
  432. 4.9.2 If the 'phone rings for a long time, then this may indicate that the
  433.       caller is a person who should not be greeted by an ear full of modem! If
  434.       TRHOST is intended to respond before the 'phone stops ringing, then this
  435.       time should be set the same as the delay below.
  436.  
  437. 4.9.3 After a certain length of time (measured from when the 'phone starts
  438.       ringing) TR will check that the amount of ringing was within the
  439.       specified range, and if so, will "type" the response string (see point
  440.       5).
  441.  
  442. 4.9.4 If the 'phone rang for too long, then TR must know when to start looking
  443.       for another call. If the 'phone has not rung for a certain length of time
  444.       then TR assumes any ringing must be a new call.
  445.  
  446. 4.9.5 The response string may be either "typed" (that is, inserted into the
  447.       keyboard buffer as if a user at the host PC had just typed it in), or it
  448.       can be sent direct to the modem. The advantage of "typing" is that you
  449.       can run a batch file to check times and do all sorts of other things. The
  450.       advantage of sending direct to the modem is that the entire operation can
  451.       take place in the background while an application continues running.
  452.  
  453. 4.9.6 You may specify a response of up to 39 characters. If you expect the host
  454.       PC to be at the DOS prompt when a call comes in, then it is a good idea
  455.       to start with an escape key, so that DOS discards anything already typed
  456.       and treats what follows as a new command.
  457.  
  458.       If all this sounds too complicated, but you still think you want to
  459.       enable ring response, then have a look at the configuration scenario
  460.       called "Home/Office via Modem" in section A5.
  461.  
  462. 4.10  Reboot on loss of carrier
  463.  
  464.       Selecting this option will determine whether or not the computer will
  465.       reboot when the modem reports that the carrier has been lost (presumably
  466.       because the other end hung up). See scenario A5 for an example of an
  467.       application taking advantage of this feature.
  468.  
  469.       The PC will not reboot unless there has been a TeleReplica session active
  470.       since TRHOST was loaded.
  471.  
  472. 4.11  Synchronize "baud" rate
  473.  
  474.       Selecting this option will determine whether or not TRHOST will attempt
  475.       to match the "baud" rate being used by TR at the other end. This is
  476.       useful if several users will all dial into the same host, but some users
  477.       have slower modems than others. See scenario A2 for an example of this.
  478.  
  479. 4.12  Send wakeup every 2 minutes
  480.  
  481.       Selecting this option will determine whether or not TRHOST will send a
  482.       NULL character whenever two minutes has passed with no other activity. A
  483.       single NULL is ignored by TR, but may serve to keep a connection to a
  484.       mini-computer link. See scenario A4 for an example of this.
  485.  
  486. 4.13  Private mode
  487.  
  488.       In private mode, the screen of the host PC will be blank, and the
  489.       keyboard of the host PC will be inactive (including CTRL-ALT-DEL). This
  490.       is useful to enhance privacy when the host PC is in a public location.
  491.       Note that the screen blanking has only been tested on VGA, EGA, CGA and
  492.       Hercules display cards, and only in text modes. It has worked correctly
  493.       with all the applications tested, but you should test it with your own
  494.       applications and display cards before relying on it!
  495.  
  496. 4.14  Printer redirection
  497.  
  498.       When a TeleReplica session is active, it is possible to redirect printer
  499.       output (which would otherwise be printed at the host PC) so that it is
  500.       printed at the replica PC instead. When no session is active, the host
  501.       will print normally even though TRHOST is still loaded.
  502.  
  503. 4.15  Create consistent .TR file
  504.  
  505.       Once TRHOST has been installed correctly, TRHOSTIN can create a
  506.       configuration file for TR that is consistent (same "baud" rate, password,
  507.       use of carrier detect etc). It will normally still be necessary to edit
  508.       this file to do some fine tuning, but the work required will be less than
  509.       if you started with the vanilla TR.TR file distributed with TR.
  510.  
  511. 4.16  Abandon Changes
  512.  
  513.       If you have made a mistake, or if you only wanted to see what the current
  514.       settings were, then this option allows you to quit without making any
  515.       changes.
  516.  
  517. 4.17  Save Changes and Leave Installation Program
  518.  
  519.       This is the normal way to exit this program when you have made all the
  520.       required changes. The relevant files (TRHOST.EXE, TRGET.EXE, TRPUT.EXE
  521.       TRTALK.EXE, TRDIAL.EXE, TREXTR.EXE, TREXTS.EXE and TRMODSET.EXE) will all
  522.       be modified appropriately.
  523.  
  524.       Note that the executable files are actually modified, so beware of virus
  525.       protection programs which compute checksums for executable files - they
  526.       are likely to report possible virus infections after installation! The
  527.       alternative (loading configuration information from a disk file) was
  528.       rejected due to the additional memory required for the file processing
  529.       code...
  530.  
  531.  
  532. 5.    Replica Installation
  533.  
  534.       To install TeleReplica at the replica computer, first copy the files:
  535.       TR.EXE, TR.HLP, and TR.TR (or better still the .TR file that was created
  536.       during host installation) into a directory (say \TR). Then use a text
  537.       editor to edit the .TR file. This file should look something like:
  538.  
  539.       ═════════════════════════════════════════════════════════════════════════
  540.           TeleReplica Configuration File
  541.           Do NOT change the order of these parameters, or delete any lines!
  542.  
  543.       "COM1"                Communications port ("COMn" or base/interrupt)
  544.       2400                  "Baud" rate (typically 300, 1200, 2400, or 9600)
  545.       "COMSPEC"             Pathname for DOS Command Interpreter (or "COMSPEC")
  546.       07                    Attribute for normal text (such as help screen)
  547.       47/70                 Attribute for file transfer monitoring
  548.       4F/0F                 Attribute for pop-up windows
  549.       "trput %s\r"          Host command to send (download) files
  550.       "trget\r"             Host command to receive (upload) files
  551.       0                     Printer (normally 0, 1 or 2)
  552.       440                   Frequency of "bell" tone (Hz)
  553.       100                   Duration of "bell" tone (ms)
  554.       256                   Block size for file upload (1-256)
  555.       8                     Number of block buffers for upload (1-8)
  556.       111                   Length of "break" (ms)
  557.       3000                  Time to wait for first char before timeout (ms)
  558.       500                   Time to wait for subsequent chars in block (ms)
  559.       56                    Time to wait between "typing" keys (ms)
  560.       "password"            Password to log in to host computer
  561.       "MODEM"               Type of link (MODEM, DIRECT, or OTHER)
  562.       "NONE"                Flow control (CTS, XON, BOTH or NONE)
  563.       "YES"                 Send BREAKs to host computer
  564.       "YES"                 Use BIOS for keyboard input
  565.       "[TR] %s"             DOS shell prompt format string
  566.       "LRCA"                Local command shifts (Left, Right, Ctrl, Alt)
  567.       ""                    Connect command for modem
  568.       ""                    Disconnect command for modem
  569.  
  570.           Each of the remaining lines must contain 3 strings and a number.
  571.           The first string is the trigger string to search for.
  572.           The second string is the response to be sent after the trigger.
  573.           The third string is the response to be sent after timeout.
  574.           The number is the time to wait before timeout (in ms).
  575.       ═════════════════════════════════════════════════════════════════════════
  576.  
  577.       Most of these parameters will not need to be changed.
  578.  
  579. 5.1   The serial port may be one of the standard ones ("COM1", "COM2", "COM3",
  580.       or "COM4") or you may specify the base address and interrupt number [e.g.
  581.       COM1 would be 03F8/IRQ4]. For compatibility with previous versions of TR,
  582.       you may also use a hex interrupt vector number, so that a third way to
  583.       specify COM1 is 03F8/0C.
  584.  
  585. 5.2   The "baud" rate should be set appropriately for the modem.
  586.  
  587. 5.3   The DOS command interpreter should normally be taken from the COMSPEC
  588.       environment variable. However, if this does not work (or does not select
  589.       the desired command interpreter) the full path name of a command
  590.       interpreter can be specified (e.g. "C:/DOS/COMMAND.COM" - or
  591.       "C:\\DOS\\COMMAND.COM" - the \\ is needed since \ introduces an escape
  592.       sequence).
  593.  
  594. 5.4   Video attributes are two hexadecimal digits: the first is the background
  595.       color, and the second is the foreground color. Optionally a second
  596.       attribute may be specified (e.g. 4F/70) - the first attribute is used for
  597.       color displays and the second is used for monochrome systems (this allows
  598.       a single control file to work without change with different displays).
  599.  
  600. 5.5   When the user running TR requests a file transfer, TR "types" the
  601.       necessary command at the host PC. These two lines should not be changed
  602.       except possibly to fill in a full path name if TRGET.EXE and TRPUT.EXE
  603.       are not in the path of the host PC.
  604.  
  605. 5.6   When host printing is being redirected to the replica computer's printer,
  606.       TR needs to know which printer to use. LPT1: is printer 0, LPT2: is
  607.       printer 1, and LPT3: is printer 2. Serial printers are not directly
  608.       supported.
  609.  
  610.       Note that it is not necessary or possible to specify which host printer
  611.       is to be redirected; anything sent to LPT1:, LPT2: or LPT3: will be
  612.       redirected. This was done to save the user the trouble of working out
  613.       which printer the host was using.
  614.  
  615. 5.7   The frequency (or pitch) and the duration of the "bell" can be modified
  616.       to suit your personal preferences (and the volume of your PC's speaker!).
  617.       The "bell" is used to indicate that some corruption of the data being
  618.       received by TR has occurred.
  619.  
  620. 5.8   The size of file transfer blocks and the number of buffers should not
  621.       need to be changed, except on a very poor 'phone line (in which case
  622.       smaller blocks and fewer buffers may improve matters). However, if the
  623.       line is this bad then TR will probably be unusable anyway...
  624.  
  625. 5.9   The length of "break" required is not likely to need to be changed -
  626.       unless perhaps a mini-computer requires longer?
  627.  
  628. 5.10  During a file transfer, TR will wait a certain time for the start of each
  629.       block. If nothing has been received within the time, then TR will request
  630.       the block be sent again (since presumably it got lost).
  631.  
  632. 5.11  Once the first character in a block has been received, the rest should
  633.       follow immediately - any gap probably means problems. However, when using
  634.       an overloaded mini-computer link (or using a packet network that may
  635.       introduce delays between packets, or using a modem with error correction,
  636.       compression or bps translation) this parameter could need to be longer.
  637.  
  638. 5.12  Since on many PCs (especially ones with CGA displays) interrupts are
  639.       disabled for LONG periods when writing to the screen, it is usually
  640.       necessary to make TR pretend to type quite slowly, especially when
  641.       sending things like file transfer commands. If you find you are losing
  642.       characters under these circumstances, then make this delay longer; if you
  643.       have a smart BIOS and/or version of DOS and/or command interpreter then
  644.       you may be able to get away with a shorter delay (even 0 ms). On all the
  645.       systems I have used, the time taken to send two characters at 2400 bps or
  646.       below is sufficient, so this delay is probably only needed above 2400
  647.       bps.
  648.  
  649. 5.13  The password must match the password installed in TRHOST at the host
  650.       computer.
  651.  
  652. 5.14  There are three kinds of link that may be used between two PCs:
  653.       MODEM    Use this if you are working with a modem that provides CARRIER
  654.                DETECT (note that you will require an appropriate cable [see
  655.                Appendix C1] and possibly some initialization of the modem [see
  656.                the start of Appendix A]).
  657.                You can also use this if you are using a null modem cable that
  658.                provides a CD line (see Appendix C3).
  659.       DIRECT   Use this if you are working with a three-wire null modem cable,
  660.                or if you are using a modem/cable that cannot provide accurate
  661.                CD information.
  662.       OTHER    Use this if you are working with a mini-computer link (see
  663.                scenario A4), or for initial modem setup (see the start of
  664.                Appendix A).
  665.  
  666. 5.15  TR can use the following flow control systems:
  667.       NONE     No flow control. Use this with a direct cable or with modems
  668.                that require no speed adjustment.
  669.       CTS      Hardware flow control using RTS (request to send) and CTS (clear
  670.                to send). Use this in preference to software flow control if it
  671.                is available.
  672.       XON      Software flow control using XON and XOFF (^S/^Q). Use this if
  673.                flow control is needed and hardware flow control is not
  674.                available.
  675.       BOTH     Use both software and hardware flow control.
  676.  
  677.       See the discussion of flow control under host installation for further
  678.       details.
  679.  
  680. 5.16  Normally TR should send BREAKs to TRHOST, but see scenario A4 for use
  681.       with a mini-computer link.
  682.  
  683. 5.17  Normally TR will use the BIOS for keyboard input. However, many BIOSes
  684.       filter out keys from enhanced keyboards (e.g. <F11>), and if use of these
  685.       keys is important then it may be necessary to NOT use the BIOS, but
  686.       rather to use the keyboard input buffer directly. Note however that some
  687.       keyboard enhancing programs (such as Newkey) will only work with the BIOS
  688.       setting. This is because they intercept the keyboard interrupt and store
  689.       keys away in some place other than the standard buffer area, so that TR
  690.       cannot find them!
  691.  
  692. 5.18  The DOS prompt for when you are in a TR shell can be edited to suit your
  693.       individual preferences - the %s inserts the original prompt.
  694.  
  695. 5.19  If you don't like the default <Ctrl-Alt-LeftShift-RightShift> key
  696.       combination to access local commands in TR, then you can change this to
  697.       any other combination of these four main shift keys ("CAL" would mean
  698.       <Ctrl-Alt-LeftShift> for example) - see scenario A3 for an application of
  699.       this).
  700.  
  701. 5.20  The connect command for the modem is sent when TR starts running (this
  702.       will often be a dial command). The modem command strings here have the
  703.       same format as those described above for the host computer installation
  704.       (with the addition of a \B escape sequence that causes TR to transmit a
  705.       BREAK). Make sure you leave the double quotes (") around each string!
  706.  
  707. 5.21  The disconnect command is sent when TR terminates (using exit option 3
  708.       only).
  709.  
  710. 5.22  The automatic response strings at the end of the file can be used to
  711.       respond to modem status messages. For example, if the replica computer's
  712.       modem is not set to auto-answer, then TR may need to respond to a "RING"
  713.       message from the modem by answering the 'phone - see scenario A5 for an
  714.       application. These strings can also be used to achieve an automatic login
  715.       to a mini-computer - see scenario A4 for an example. The trigger strings
  716.       are only active before a TR-TRHOST link is established. They are also
  717.       disabled once the final trigger string has been detected.
  718.  
  719.       Please note that since this file contains the password, anyone who
  720.       obtains a copy of this file can potentially access the host computer!
  721.  
  722.  
  723. 6.    How to Use TeleReplica
  724.  
  725.       The following instructions assume that TeleReplica has been correctly
  726.       installed (see sections 4 and 5). Only general guidelines are given here;
  727.       more details are provided in the scenarios in Appendix A.
  728.  
  729. 6.1   Host Computer
  730.  
  731.       First run the TRHOST program. If the replica computer is to originate the
  732.       'phone call, then this may be all that is necessary.
  733.  
  734.       If the host computer is to originate the call, then use the command:
  735.             TRDIAL
  736.       or
  737.             TRDIAL number
  738.       depending on how the dialing format string was installed.
  739.  
  740.       Once TRHOST is resident and the call is established, the host computer
  741.       can be used normally. The only difference is that everything that appears
  742.       on the screen is also being replicated on the replica computer's screen.
  743.  
  744.       The best way to remove TRHOST from memory is to run TRREMOVE. It is also
  745.       possible to use utilities such as marknet/relnet. Note that some common
  746.       mark/release utilities can NOT be used, because they do not restore the
  747.       interrupt mask register.
  748.  
  749. 6.2   Replica Computer
  750.  
  751.       Use the command:
  752.             TR                     [use TR.TR configuration file]
  753.       or
  754.             TR filename            [use filename.TR configuration file]
  755.  
  756.       If the replica computer was to originate the call, then the modem
  757.       initialization string in the configuration file will usually include a
  758.       dial command to call the host computer.
  759.  
  760.       If the host computer was to originate the call, then the initialization
  761.       string may contain an answer 'phone command. Note that in this case it is
  762.       important that the TR program not be run until after the 'phone starts
  763.       ringing! (Alternatively, there may be no initialization string, but
  764.       instead there may be a trigger string to respond to RING from the modem -
  765.       see scenario A5.)
  766.  
  767.       If the configuration file contains no modem initialization string, then
  768.       the user at the remote computer can enter modem commands manually. This
  769.       may be convenient for a consultant wishing to dial many different
  770.       clients. (Before a carrier is detected, TR will behave much like a normal
  771.       communications program.)
  772.  
  773.       Once both TR and TRHOST are running and connected to each other, they
  774.       will automatically adjust the host computer's "baud" rate (if this
  775.       feature is enabled) and the host computer will check the password
  776.       provided by the replica computer. Provided the password is correct, the
  777.       replica computer will effectively be able to take over the host computer,
  778.       or alternatively to observe whatever the host computer is doing. Any key
  779.       typed on the replica computer will be acted upon by the host computer,
  780.       and anything that appears on the host computer's screen will also appear
  781.       on the replica computer's screen.
  782.  
  783.       It is sometimes necessary to execute a command on the replica computer,
  784.       rather than transmitting the keystroke to the host computer. This is
  785.       achieved by holding down some combination of left shift, right shift,
  786.       ctrl and alt all at the same time (the exact combination is specified in
  787.       the .TR file currently in use). When you do this a list of all the
  788.       possible commands will be displayed, and you can then type the required
  789.       command key:
  790.  
  791.       F2      simulate a carrier signal (useful if the modem does not provide
  792.               this information) [link type should be OTHER to use this command]
  793.       Ctrl-F2 simulate NO carrier signal (opposite of F2)
  794.       F6      send break, restart session [use this if TeleReplica locks up -
  795.               very rare!]
  796.       F8      reboot the host computer (useful if host computer "hangs" for any
  797.               reason, but make sure TRHOST is run from AUTOEXEC.BAT!)
  798.       F9      shell directly to DOS, return to TR later by typing "exit"
  799.       F10     exit TeleReplica [optionally shell out and return later]
  800.       Home    refresh display from HOST [use this if a bad 'phone line messes
  801.               up the screen]
  802.       PgUp    upload file using DMP protocol [transfer file(s) from replica to
  803.               host]
  804.       PgDn    download file using DMP protocol [transfer file(s) from host to
  805.               replica]
  806.  
  807.       Note that before performing a file transfer, the host computer must be at
  808.       the DOS prompt, and TRGET.EXE and TRPUT.EXE must be accessible in the
  809.       current path (or alternatively the .TR file must contain full paths, not
  810.       just (say) TRGET but rather C:/TR/TRGET - note forward slashes!). If
  811.       TRGET/TRPUT cannot be found, then the host will display a "command not
  812.       found" error message, but TR will go on waiting for a response from
  813.       TRGET/TRPUT! Pressing any key will terminate this waiting and bring up an
  814.       appropriate error message.
  815.  
  816.       If a file transfer needs to access a file in another directory, it may be
  817.       convenient to shell out of TR, change directories, and then exit from DOS
  818.       back into TR to start the file transfer. TR will transmit any path that
  819.       you specify, so if the two PC's have equivalent directory structures it
  820.       is easy to transfer files to the corresponding directory on the other PC
  821.       (see Appendix B for a sample file transfer session).
  822.  
  823.  
  824. 7.    TeleReplica Utility Programs
  825.  
  826. 7.1   TRREMOVE
  827.  
  828.       This will search for a copy of TRHOST loaded in memory. If one is found,
  829.       then it is checked to see whether it is currently in use (if so, TRREMOVE
  830.       will ask for confirmation before removing it). If it is not in use, or if
  831.       it is to be removed anyway, all interrupts, the interrupt mask register
  832.       and the serial chip state are restored to their initial state when TRHOST
  833.       started running, and TRHOST's memory is freed.
  834.  
  835.       Please note that as with most TSR programs, this may not work unless
  836.       TRHOST was the most recent TSR to be loaded. In general TSR programs
  837.       should be unloaded in the reverse order they were loaded. In this case
  838.       "not working" means that any TSR loaded after TRHOST may cease to
  839.       function. If this is not possible then the use of marknet/relnet (or some
  840.       other mark/release utility that preserves the interrupt mask register as
  841.       well as the vectors) is recommended.
  842.  
  843.       It is sometimes convenient to be able to keep a modem connection even
  844.       though TRHOST is being unloaded. Normally, TRREMOVE will restore the
  845.       serial port state to its original state when TRHOST was first run.
  846.       However, it is possible to force the DTR line to be left active by
  847.       entering:
  848.             TRREMOVE ON
  849.       and DTR can be forced off by entering:
  850.             TRREMOVE OFF
  851.       If either ON or OFF is specified, then TRREMOVE assumes you know what you
  852.       are doing and does not ask for confirmation even if a link is active,
  853.       allowing TRREMOVE to be used in a batch file on the host PC without
  854.       pausing for input.
  855.  
  856.  
  857. 7.2   TRHOSTC
  858.  
  859.       This program works much like TRHOSTIN, except that instead of modifying
  860.       files on disk it modifies the copy of TRHOST currently active in memory.
  861.       Not all parameters may be altered "on the fly" - for example, the COM
  862.       port cannot be altered mid-session. The anticipated use for this program
  863.       is to do things like turning private mode on or off for just part of a
  864.       session...
  865.  
  866.       Note that the copy of TRHOST.EXE on disk is not modified.
  867.  
  868.  
  869. 7.3   TRTALK
  870.  
  871.       TRTALK will allow the users at the host and replica computers to "talk"
  872.       to each other. Anything that is typed at the host computer is displayed
  873.       in the top half of the screen, and anything that is typed at the replica
  874.       computer is displayed in the bottom half of the screen.
  875.  
  876.       TRTALK sends a special command to TR to tell TR that talk mode is
  877.       required, so that TR will send keys in a way that can be distinguished
  878.       from the host keys. If this command is lost, then what is typed at either
  879.       end will appear in the top window! If this happens, simply exit TRTALK
  880.       (Alt-X) and run it again.
  881.  
  882.       TRTALK also sends a special command to TR to tell TR to end talk mode. If
  883.       this command is lost, then TR will behave normally unless a program that
  884.       uses shift-key status is run, which will cause problems because in talk
  885.       mode TR does not send shift status information! To correct this problem,
  886.       use local TR command <F2> (simulate carrier), since a side effect of this
  887.       command is to end talk mode.
  888.  
  889.  
  890. 7.4   TREXTS and TREXTR
  891.  
  892.       These programs are normally called from TRSZ.BAT and TRRZ.BAT
  893.       respectively. They allow a clean interface between TeleReplica and
  894.       external file transfer programs such as DSZ.
  895.  
  896.       These programs are an exception to the rule that TRHOSTIN installs only
  897.       programs used at the host end; TREXTS.EXE and TREXTR.EXE both need to run
  898.       at both ends, so they must be installed for the correct modem port etc on
  899.       the replica as well as the host.
  900.  
  901.       Once TRHOSTIN has installed these programs correctly on both the host and
  902.       the replica, and TRRZ.BAT, TRSZ.BAT and the external protocol program
  903.       (such as DSZ.EXE) are in some directory on the path of both the host and
  904.       replica, file transfer is quite simple:
  905.  
  906. 7.4.1 To download a file from the host PC to the replica PC, simply enter the
  907.       following command on the host PC:
  908.             trsz <filename> ...
  909.       and TR will automatically run TRRZ on the replica without you doing
  910.       anything!
  911.  
  912. 7.4.2 To upload a file from the replica PC to the host PC, first ensure that
  913.       the host PC is at the DOS command prompt. Then shell out of TR (using
  914.       local F9). Finally enter the following command on the replica PC:
  915.             trsz <filename> ...
  916.       and TRHOST will automatically run TRRZ on the host.
  917.  
  918.       TRRZ.BAT, TRSZ.BAT, TREXTS.EXE and TREXTR.EXE all pass parameters on to
  919.       the external protocol program, so parameters other than file names can be
  920.       used if desired.
  921.  
  922.       TREXTS.EXE and TREXTR.EXE recognize one special parameter:
  923.             #portx#
  924.       which will substitute in the DSZ portx <base>,<IRQ> command. This allows
  925.       TRRZ.BAT and TRSZ.BAT to remain unchanged even when TeleReplica is
  926.       installed for a different port. See the supplied TRRZ.BAT and TRSZ.BAT
  927.       for examples of this.
  928.  
  929.  
  930. 7.5   TRMODSET
  931.  
  932.       Usage: TRMODSET [-fr] [filename]
  933.  
  934.       TRMODSET will send all the commands in TRMODSET.DAT (or in filename.DAT
  935.       if specified) to the modem, waiting for an "OK" response to each command.
  936.       This is useful to set up very complicated parameters necessary for some
  937.       of the more sophisticated modems. It assumes a modem that uses the Hayes
  938.       AT command set (at least at&f to restore factory defaults and OK in reply
  939.       to a good command).
  940.  
  941.       The -r command line option will cause TRMODSET to start with an "at&f"
  942.       command to reset the modem to factory defaults, just in case a previous
  943.       program has left the modem in a peculiar state. The "at&f" is sent before
  944.       TRMODSET starts monitoring for command echo or "OK" responses.
  945.  
  946.       If a carrier is present when TRMODSET runs then it will exit without
  947.       doing anything unless the "-f" (for "force") command line argument is
  948.       present. This allows TRMODSET to be run from AUTOEXEC.BAT without
  949.       disrupting an existing connection if the host PC needs to be rebooted.
  950.  
  951.       Note that TRMODSET is installed by TRHOSTIN, so if you want to use
  952.       TRMODSET on the replica PC you will need to install the host programs on
  953.       the replica PC (once installed, the other host programs may be deleted,
  954.       but they must be present for TRHOSTIN to run).
  955.  
  956.       Note also that you cannot use TRMODSET to set the modem to "no echo" or
  957.       "quiet" modes, since TRMODSET monitors that commands are being echoed and
  958.       that the modem is responding with "OK" to each command.
  959.  
  960.  
  961. 7.6   TRCHECK
  962.  
  963.       TRCHECK checks to see if the current time is within a specified range,
  964.       and returns the DOS errorlevel set to 0 if within the range and 1 if
  965.       outside the range. The following code might appear in an AUTOEXEC.BAT
  966.       file on a host computer:
  967.             trcheck 9:00:00 17:00:00
  968.             if not errorlevel 1 goto done
  969.             trhost
  970.             :done
  971.       The effect of this is to first check to see if the time is between 9AM
  972.       and 5PM. If so, then errorlevel is set to 0, and nothing further happens.
  973.       However, if the time is not between 9 and 5, then trhost will be run.
  974.  
  975.       This has proved valuable when TRHOST must run on an office computer
  976.       outside normal working hours, but the computer must be used normally
  977.       during the day. See also scenario A5 for a further application.
  978.  
  979.  
  980. 7.7   TRASK
  981.  
  982.       Usage: TRASK <timeout> <prompt> <answers>
  983.  
  984.       TRASK works much like a normal batch file enhancing ASK program, except
  985.       that it has a timeout. This is useful when a computer will usually be
  986.       used as a TeleReplica host, but sometimes must be used locally. Rather
  987.       than having to boot from a different disk, the following code might
  988.       appear in an AUTOEXEC.BAT file on a host computer:
  989.             @echo off
  990.             path c:\tr
  991.             trask 5 "Do you want to load TRHOST? (y/n)\a\a: " "yn"
  992.             if errorlevel 1 goto no
  993.             trhost
  994.             :no
  995.       The effect of this is to run TRHOST if the user presses the 'y' key or if
  996.       no key has been pressed after 5 seconds. If a user is at the computer and
  997.       answers 'n' then TRHOST will not be loaded. See scenario A5 for an
  998.       example of this.
  999.  
  1000.       TRASK returns an errorlevel that depends on the <answers> string: the
  1001.       first letter in this string (or a timeout) returns error level 0, the
  1002.       second returns error level 1 and so on. Case is not significant unless
  1003.       the <answers> string contains the same letter in both upper and lower
  1004.       case.
  1005.  
  1006.       TRASK is a public domain program and may be distributed separately.
  1007.  
  1008.  
  1009.       APPENDIX A - Configuration Scenarios
  1010.  
  1011.       The following are specific situations in which TeleReplica has been used.
  1012.       The descriptions of the situations, and the resulting configurations of
  1013.       TeleReplica, are presented in detail. It is hoped that seeing the way
  1014.       TeleReplica was installed in some typical applications will help when it
  1015.       comes to installing TR for your own situation.
  1016.  
  1017.       Note that unless otherwise stated, all modems are assumed initially to be
  1018.       in the TeleReplica default state, to be connected to the PC via a 25-way
  1019.       straight-through modem cable, and to be Hayes-AT-command-compatible. To
  1020.       get a Hayes-AT-command-compatible modem into the TeleReplica default
  1021.       state the following commands should be sent to the modem using any normal
  1022.       communications program (or using TR SETUP or using TRMODSET):
  1023.             at &f         restore modem to "factory default"
  1024.             at &c1        modem should report true carrier status
  1025.             at &d2        modem should take notice of DTR to hang up 'phone
  1026.             at x4         (optional) give detailed status messages etc
  1027.             at &w         save current state for future use (the state is saved
  1028.                           in non-volatile RAM, so that this setup only needs to
  1029.                           be done once unless some other program interferes)
  1030.  
  1031.  
  1032. A1.   Consultant/Client via Modem
  1033.  
  1034. A1.1  Here the consultant is running a 2400 bps modem connected to COM1, and
  1035.       the client (whom we will call Fred) is running a similar modem also
  1036.       connected to COM1. Both computers are equipped with EGA color display
  1037.       cards. The consultant will be performing the TRHOST installation for the
  1038.       client, and then sending the client the installed version ready to run.
  1039.  
  1040.       When the client wants help, he will call the consultant (a normal voice
  1041.       call). When both parties are ready TeleReplica must take over the call.
  1042.  
  1043. A1.2  First the consultant must run TRHOSTIN, and make the changes necessary to
  1044.       achieve the following display:
  1045.       ╔═══════════════════════════════════════════════════════════════════════╗
  1046.       ║ TeleReplica Host 3.20 Installation Copyright (c) 1992 Douglas Thomson ║
  1047.       ║                                                                       ║
  1048.       ║    A. Select serial port (currently COM1)                             ║
  1049.       ║    B. Change password (currently "Fred's password")                   ║
  1050.       ║    C. Change modem initialization string (currently:                  ║
  1051.       ║       "")                                                             ║
  1052.       ║    D. Change modem dialing format string (currently:                  ║
  1053.       ║       "ata\r")                                                        ║
  1054.       ║    E. Select maximum "baud" rate (currently 2400)                     ║
  1055.       ║    F. Use modem CARRIER DETECT signal (currently YES)                 ║
  1056.       ║    G. Flow control (currently NONE)                                   ║
  1057.       ║    H. Generate INT 9 on each key (currently NO)                       ║
  1058.       ║    I. Respond to modem RING signal (currently NO)                     ║
  1059.       ║    J. Reboot on loss of carrier (currently NO)                        ║
  1060.       ║    K. Synchronize "baud" rate (currently YES)                         ║
  1061.       ║    L. Send wakeup every 2 minutes (currently NO)                      ║
  1062.       ║    M. Private mode (currently NO)                                     ║
  1063.       ║    N. Printer redirection (currently HOST)                            ║
  1064.       ║    O. Create consistent .TR file                                      ║
  1065.       ║    Q. Abandon changes                                                 ║
  1066.       ║    S. Save changes and leave installation program                     ║
  1067.       ║                                                                       ║
  1068.       ║ Selection:                                                            ║
  1069.       ╚═══════════════════════════════════════════════════════════════════════╝
  1070.       Refer to section 4 for the meaning of each option. Since both modems run
  1071.       at the same speed it does not matter whether "baud" rates get
  1072.       synchronized or not. Since Fred will only run TRHOST when he wishes to
  1073.       get help from the consultant, the password is not important. The modem
  1074.       dialing format string simply answers the 'phone - or more accurately,
  1075.       since the 'phone will already be in use for the voice call, it causes the
  1076.       modem to take over the call in "answer" mode.
  1077.  
  1078.       Next the consultant selects option O from the main menu, and enters the
  1079.       name of the configuration file he wishes to use for Fred:
  1080.       ╔═══════════════════════════════════════════════════════════════════════╗
  1081.       ║ TeleReplica Host Program .TR File Name Selection                      ║
  1082.       ║                                                                       ║
  1083.       ║ Edit existing string:                                                 ║
  1084.       ║ fred                                                                  ║
  1085.       ╚═══════════════════════════════════════════════════════════════════════╝
  1086.  
  1087.       Finally the consultant exits TRHOSTIN by selecting option S to save the
  1088.       changes. The consultant can now send Fred a disk with all the installed
  1089.       TeleReplica files on it (note that the consultant should also send Fred
  1090.       an unaltered original copy of the TeleReplica files in case Fred wants to
  1091.       pass them on to anyone - see the LICENCE.DOC file for details).
  1092.  
  1093. A1.3  Now the consultant needs to edit the file named FRED.TR to make a few
  1094.       alterations (TRHOSTIN only provides a starting point...). In particular,
  1095.       the following line must be changed:
  1096.             ""                Connect command for modem
  1097.       to:
  1098.             "at d\r"          Connect command for modem
  1099.       This command tells the modem to go "off hook" and take over the call in
  1100.       "originate" mode.
  1101.  
  1102.       This completes the installation stage.
  1103.  
  1104. A1.4  When Fred wants some help, he will run TRHOST and then 'phone the
  1105.       consultant and explain the problem. When the consultant is ready, he will
  1106.       enter the command:
  1107.             TR FRED
  1108.       and then instruct Fred to enter the command:
  1109.             TRDIAL
  1110.       and hang up the 'phone as soon as he (Fred) hears his modem making a
  1111.       "screaming" noise. After giving these instructions (and thus while Fred
  1112.       is still typing) the consultant will hang up his 'phone. Fred will finish
  1113.       entering the TRDIAL command, and hang up when he hears the screaming
  1114.       noise. TeleReplica will then take over the call, synchronize "baud"
  1115.       rates, exchange passwords, and give the consultant control of Fred's
  1116.       computer.
  1117.  
  1118. A1.5  When the consultant is finished, he will exit TR using option 3, which
  1119.       will cause the modem to hang up and terminate the 'phone call.
  1120.  
  1121.       Fred can either leave TRHOST running (it will do no harm, and uses less
  1122.       than 10K of memory), or else use TRREMOVE to uninstall TRHOST.
  1123.  
  1124.  
  1125. A2.   Remote/Shared via Modem
  1126.  
  1127. A2.1  Here a remote user wishes to connect into a local area network, and one
  1128.       node in the LAN is dedicated to this purpose. The main problem is that
  1129.       since the LAN node will be unattended, all it takes is one user to run a
  1130.       program which "hangs" the computer, and then no-one will be able to dial
  1131.       in until someone pushes the reset button on the node PC! However, in this
  1132.       scenario there is a modem-controlled switch box which turns on power to
  1133.       the node PC as soon as the 'phone starts ringing, and leaves the power on
  1134.       until either a minute or so has elapsed with no carrier being
  1135.       established, or until the carrier is lost (which will happen when the
  1136.       remote user hangs up). [These switch boxes are (I believe) commercially
  1137.       available, and indeed the electronics required is trivial to someone who
  1138.       feels at home with circuit diagrams and a soldering iron. We have several
  1139.       home-made ones in use here at MUCG.] This means there is no problem if a
  1140.       user "hangs" the computer; just hang up and then dial in again, and the
  1141.       computer will have been powered down and come up again clean!
  1142.  
  1143.       The node PC has a 2400 bps modem connected to COM2, and the remote user
  1144.       is running a 1200 bps modem connected to COM1. The node PC is equipped
  1145.       with a CGA color display card (with no monitor required). The remote PC
  1146.       is equipped with a Hercules monochrome display.
  1147.  
  1148.       The LAN manager will be performing the TRHOST installation for the node
  1149.       PC, and then providing all the remote users with a disk that is almost
  1150.       ready to go.
  1151.  
  1152.       The 'phone number of the node PC is 123 4567.
  1153.  
  1154. A2.2  First the LAN manager must run TRHOSTIN, and make the changes necessary
  1155.       to achieve something like the following display:
  1156.       ╔═══════════════════════════════════════════════════════════════════════╗
  1157.       ║ TeleReplica Host 3.20 Installation Copyright (c) 1992 Douglas Thomson ║
  1158.       ║                                                                       ║
  1159.       ║    A. Select serial port (currently COM2)                             ║
  1160.       ║    B. Change password (currently "sdggsdjgxvwept97867km,.mvikjdsdh")  ║
  1161.       ║    C. Change modem initialization string (currently:                  ║
  1162.       ║       "\rata\r")                                                      ║
  1163.       ║    D. Change modem dialing format string (currently:                  ║
  1164.       ║       "\r%s\r")                                                       ║
  1165.       ║    E. Select maximum "baud" rate (currently 2400)                     ║
  1166.       ║    F. Use modem CARRIER DETECT signal (currently YES)                 ║
  1167.       ║    G. Flow control (currently NONE)                                   ║
  1168.       ║    H. Generate INT 9 on each key (currently NO)                       ║
  1169.       ║    I. Respond to modem RING signal (currently NO)                     ║
  1170.       ║    J. Reboot on loss of carrier (currently NO)                        ║
  1171.       ║    K. Synchronize "baud" rate (currently YES)                         ║
  1172.       ║    L. Send wakeup every 2 minutes (currently NO)                      ║
  1173.       ║    M. Private mode (currently NO)                                     ║
  1174.       ║    N. Printer redirection (currently HOST)                            ║
  1175.       ║    O. Create consistent .TR file                                      ║
  1176.       ║    Q. Abandon changes                                                 ║
  1177.       ║    S. Save changes and leave installation program                     ║
  1178.       ║                                                                       ║
  1179.       ║ Selection:                                                            ║
  1180.       ╚═══════════════════════════════════════════════════════════════════════╝
  1181.       Refer to section 4 for the meaning of each option. Note that the modem
  1182.       initialization string answers the 'phone - this is nice in the case of
  1183.       timed call charges, since the remote user does not pay for the time it
  1184.       takes the PC to boot. Since some remote users will dial in at 2400 bps,
  1185.       TRHOST must be installed for 2400; but since other remote users will dial
  1186.       in at 1200 bps it is essential that "baud" rates get synchronized. Since
  1187.       anyone could try to get into the LAN via the node PC the password is very
  1188.       important - notice that it is both long and quite random.
  1189.  
  1190.       Next the LAN manager selects option O from the main menu, and enters the
  1191.       name of the configuration file he wishes to use for the node PC:
  1192.       ╔═══════════════════════════════════════════════════════════════════════╗
  1193.       ║ TeleReplica Host Program .TR File Name Selection                      ║
  1194.       ║                                                                       ║
  1195.       ║ Edit existing string:                                                 ║
  1196.       ║ lan1                                                                  ║
  1197.       ╚═══════════════════════════════════════════════════════════════════════╝
  1198.  
  1199.       Finally the LAN manager exits TRHOSTIN by selecting option S to save the
  1200.       changes. He can now make up a disk with all the installed TeleReplica
  1201.       files on it to give to the remote users, but first he must edit the
  1202.       LAN1.TR file to install the node PC's 'phone number. This means changing
  1203.       the line:
  1204.             ""                Connect command for modem
  1205.       to:
  1206.             "at d 123 4567\r" Connect command for modem
  1207.       so that when remote users run TR the number will be dialed automatically.
  1208.       Also, since modems more often use COM1 than COM2, the LAN manager should
  1209.       probably edit the line:
  1210.             "COM2"            Communications port (COMn or base/interrupt)
  1211.       to become:
  1212.             "COM1"            Communications port (COMn or base/interrupt)
  1213.  
  1214. A2.3  Now the remote user needs to edit his personal copy of the file named
  1215.       LAN1.TR to work at 1200 bps. The line containing:
  1216.             2400              "Baud" rate (typically 300, 1200, 2400, or 9600)
  1217.       must be changed to:
  1218.             1200              "Baud" rate (typically 300, 1200, 2400, or 9600)
  1219.  
  1220.       This completes the installation stage.
  1221.  
  1222. A2.4  When the remote user wishes to connect into the LAN, he will enter the
  1223.       command:
  1224.             TR LAN1
  1225.       This will cause the modem to dial the node PC, which will cause the modem
  1226.       switch box to turn on the power to the node PC, which will boot and then
  1227.       run TRHOST, which will make the node PC's modem answer the call.
  1228.       TeleReplica will then synchronize "baud" rates, exchange passwords, and
  1229.       give the remote user control of the node PC.
  1230.  
  1231. A2.5  When the remote user is finished, he will exit TR using option 3, which
  1232.       will cause the modem to hang up and terminate the 'phone call. The node
  1233.       PC will then be powered down until the next call.
  1234.  
  1235.  
  1236. A3.   Laptop/Desktop via Direct Cable
  1237.  
  1238. A3.1  Here someone wishes to connect a laptop computer to a desktop computer
  1239.       via a three-wire null modem cable. The reason for this is that the
  1240.       desktop only has a 5.25" disk, and the laptop only has a 3.5" disk, and
  1241.       it is necessary to transfer files between the two systems. The desktop
  1242.       computer is a 20MHz 80386, and the laptop is a 12MHz 80286. The cable is
  1243.       connected from COM1 on the desktop to COM1 on the laptop. The desktop has
  1244.       a VGA color display; the laptop has a gas plasma display that emulates
  1245.       EGA.
  1246.  
  1247.       It does not matter which PC is the host, but for the sake of this example
  1248.       we will assume the desk PC will be the host.
  1249.  
  1250.       The laptop computer has its <Del> key right next to <RightShift>, so the
  1251.       user does not wish to be using <Ctrl-Alt-LeftShift-RightShift> for fear
  1252.       of accidentally rebooting the computer. <Ctrl-Alt-LeftShift> seems a
  1253.       safer combination.
  1254.  
  1255. A3.2  First the user must run TRHOSTIN, and make the changes necessary to
  1256.       achieve something like the following display:
  1257.       ╔═══════════════════════════════════════════════════════════════════════╗
  1258.       ║ TeleReplica Host 3.20 Installation Copyright (c) 1992 Douglas Thomson ║
  1259.       ║                                                                       ║
  1260.       ║    A. Select serial port (currently COM1)                             ║
  1261.       ║    B. Change password (currently "password")                          ║
  1262.       ║    C. Change modem initialization string (currently:                  ║
  1263.       ║       "")                                                             ║
  1264.       ║    D. Change modem dialing format string (currently:                  ║
  1265.       ║       "")                                                             ║
  1266.       ║    E. Select maximum "baud" rate (currently 38400)                    ║
  1267.       ║    F. Use modem CARRIER DETECT signal (currently NO)                  ║
  1268.       ║    G. Flow control (currently NONE)                                   ║
  1269.       ║    H. Generate INT 9 on each key (currently NO)                       ║
  1270.       ║    I. Respond to modem RING signal (currently NO)                     ║
  1271.       ║    J. Reboot on loss of carrier (currently NO)                        ║
  1272.       ║    K. Synchronize "baud" rate (currently NO)                          ║
  1273.       ║    L. Send wakeup every 2 minutes (currently NO)                      ║
  1274.       ║    M. Private mode (currently NO)                                     ║
  1275.       ║    N. Printer redirection (currently HOST)                            ║
  1276.       ║    O. Create consistent .TR file                                      ║
  1277.       ║    Q. Abandon changes                                                 ║
  1278.       ║    S. Save changes and leave installation program                     ║
  1279.       ║                                                                       ║
  1280.       ║ Selection:                                                            ║
  1281.       ╚═══════════════════════════════════════════════════════════════════════╝
  1282.       Refer to section 4 for the meaning of each option. Notice that the "baud"
  1283.       rate is set to 38400 for fast file transfers (this works well on my test
  1284.       system, but slower speeds may be needed on other systems - experiment!).
  1285.       Obviously here the password is not important. Since the three-wire cable
  1286.       will not provide any carrier information, it is essential that carrier be
  1287.       ignored.
  1288.  
  1289.       Next the user selects option O from the main menu, and enters the name of
  1290.       the configuration file he wishes to use for the desktop:
  1291.       ╔═══════════════════════════════════════════════════════════════════════╗
  1292.       ║ TeleReplica Host Program .TR File Name Selection                      ║
  1293.       ║                                                                       ║
  1294.       ║ Edit existing string:                                                 ║
  1295.       ║ desk                                                                  ║
  1296.       ╚═══════════════════════════════════════════════════════════════════════╝
  1297.  
  1298.       Finally the user exits TRHOSTIN by selecting option S to save the
  1299.       changes.
  1300.  
  1301. A3.3  Next the user needs to edit the file named DESK.TR to use the shift key
  1302.       combination required for the laptop. The line containing:
  1303.             "LRCA"            Local command shifts (Left, Right, Ctrl, Alt)
  1304.       must be changed to:
  1305.             "LCA"             Local command shifts (Left, not Right, Ctrl, Alt)
  1306.  
  1307.       The user can now copy the installed files onto a 5.25" floppy disk, take
  1308.       the disk to a computer that has both 5.25" and 3.5" inch drives, and copy
  1309.       the file onto a 3.5" disk for the laptop.
  1310.  
  1311.       This completes the installation stage.
  1312.  
  1313. A3.4  When the user wishes to connect the two computers, he will enter the
  1314.       command:
  1315.             TRHOST
  1316.       on the desktop, and the command:
  1317.             TR DESK
  1318.       on the laptop. This will cause TeleReplica to synchronize "baud" rates,
  1319.       exchange passwords, and give the user control of the desktop computer
  1320.       from the laptop. Files can now be transferred at almost 3.8K per second!
  1321.  
  1322. A3.5  When the user is finished, he will exit TR using option 3, which will
  1323.       take the laptop back to normal, but leave TRHOST in the desktop's memory
  1324.       (see A1.5 for further discussion of this).
  1325.  
  1326.  
  1327. A4.   Remote/Shared via Common Mini-computer
  1328.  
  1329. A4.1  Here a remote user wishes to connect into a local area network, and one
  1330.       node in the LAN is dedicated to this purpose. There is no direct link
  1331.       between the PCs; instead, both the node PC and the remote user must log
  1332.       into the same mini-computer and run a link program (such as trfifo) to
  1333.       establish a connection via the mini-computer.
  1334.  
  1335.       One problem is that since the LAN node will be unattended, all it takes
  1336.       is one user to run a program which "hangs" the computer, and then no more
  1337.       remote users will be able to connect to the LAN until someone pushes the
  1338.       reset button on the node PC! (Note that TeleReplica does support
  1339.       rebooting the host PC, but this can only work if interrupts are not
  1340.       disabled and if the relevant code has not been overwritten. As a rule,
  1341.       TeleReplica can get out of any situation that <Ctrl-Alt-Del> could get
  1342.       out of, but if the hardware reset button was needed TR would be
  1343.       helpless.)
  1344.  
  1345.       Another potential problem is that if one user exits TR while still logged
  1346.       in to the LAN, then the next user could pick up the session! This is
  1347.       avoided by having the link program send a "reboot" command to the node PC
  1348.       when the link is broken.
  1349.  
  1350.       Trfifo cannot pass BREAKs from one end to the other; instead, BREAK is
  1351.       used to terminate the execution of trfifo. This means that TR must not
  1352.       send a BREAK unless it wants to kill the link.
  1353.  
  1354.       To make life complicated, the mini-computer will automatically disconnect
  1355.       any terminal that does no input or output for 5 minutes. However, the
  1356.       node PC must remain connected to the mini-computer all day waiting for
  1357.       remote users to connect in.
  1358.  
  1359.       The mini-computer links are set at 9600 bps, and cannot be changed. Both
  1360.       computers are connected to the mini-computer via COM1, and both computers
  1361.       are running color displays (however, the dedicated node PC requires no
  1362.       monitor).
  1363.  
  1364.       The LAN manager will be performing the TRHOST installation for the node
  1365.       PC, and then providing all the remote users with a disk that is almost
  1366.       ready to go.
  1367.  
  1368. A4.2  First the LAN manager must run TRHOSTIN, and make the changes necessary
  1369.       to achieve something like the following display:
  1370.       ╔═══════════════════════════════════════════════════════════════════════╗
  1371.       ║ TeleReplica Host 3.20 Installation Copyright (c) 1992 Douglas Thomson ║
  1372.       ║                                                                       ║
  1373.       ║    A. Select serial port (currently COM1)                             ║
  1374.       ║    B. Change password (currently "sdfddffgjkiou774htgjhgsduh875sdh")  ║
  1375.       ║    C. Change modem initialization string (currently:                  ║
  1376.       ║       "")                                                             ║
  1377.       ║    D. Change modem dialing format string (currently:                  ║
  1378.       ║       "")                                                             ║
  1379.       ║    E. Select maximum "baud" rate (currently 9600)                     ║
  1380.       ║    F. Use modem CARRIER DETECT signal (currently NO)                  ║
  1381.       ║    G. Flow control (currently NONE)                                   ║
  1382.       ║    H. Generate INT 9 on each key (currently NO)                       ║
  1383.       ║    I. Respond to modem RING signal (currently NO)                     ║
  1384.       ║    J. Reboot on loss of carrier (currently NO)                        ║
  1385.       ║    K. Synchronize "baud" rate (currently NO)                          ║
  1386.       ║    L. Send wakeup every 2 minutes (currently YES)                     ║
  1387.       ║    M. Private mode (currently NO)                                     ║
  1388.       ║    N. Printer redirection (currently HOST)                            ║
  1389.       ║    O. Create consistent .TR file                                      ║
  1390.       ║    Q. Abandon changes                                                 ║
  1391.       ║    S. Save changes and leave installation program                     ║
  1392.       ║                                                                       ║
  1393.       ║ Selection:                                                            ║
  1394.       ╚═══════════════════════════════════════════════════════════════════════╝
  1395.       Refer to section 4 for the meaning of each option. The password is not so
  1396.       critical here, since a user must be able to log into the mini-computer
  1397.       before getting through to the node PC. The mini-computer line will not
  1398.       provide any carrier information, so this must be ignored. "Baud" rates
  1399.       must NOT be synchronized, since a NULL character transmitted at 2400 bps
  1400.       would be received as a BREAK by the mini-computer at 9600 bps! To avoid
  1401.       the node PC getting logged out, TRHOST must send a NULL character to
  1402.       "wake up" the mini-computer every few minutes. This will be ignored by
  1403.       TR.
  1404.  
  1405.       Next the LAN manager selects option O from the main menu, and enters the
  1406.       name of the configuration file he wishes to use for the node PC:
  1407.       ╔═══════════════════════════════════════════════════════════════════════╗
  1408.       ║ TeleReplica Host Program .TR File Name Selection                      ║
  1409.       ║                                                                       ║
  1410.       ║ Edit existing string:                                                 ║
  1411.       ║ lan2                                                                  ║
  1412.       ╚═══════════════════════════════════════════════════════════════════════╝
  1413.  
  1414.       Finally the LAN manager exits TRHOSTIN by selecting option S to save the
  1415.       changes. He can now make up a disk with all the installed TeleReplica
  1416.       files on it to give to the remote users.
  1417.  
  1418. A4.3  Due to the way trfifo buffers input (or possibly some other peculiarity
  1419.       of our mini-computer?) the delay between sending keys needs to be 165 ms
  1420.       to avoid losing characters! Therefore, the line containing:
  1421.             56                Time to wait between "typing" keys (ms)
  1422.       must be changed to:
  1423.             165               Time to wait between "typing" keys (ms)
  1424.  
  1425.       Also, since we are using a mini-computer link, the line containing:
  1426.             "DIRECT"           Type of link (MODEM, DIRECT, or OTHER)
  1427.       must be changed to:
  1428.             "OTHER"            Type of link (MODEM, DIRECT, or OTHER)
  1429.  
  1430.       Finally, TR is capable of automating the mini-computer login process. If
  1431.       this is desired, then something like the following lines must be added at
  1432.       the end of the file:
  1433.             "DISCONNECTED"      "\D250\r"               "\r"             5000
  1434.             "Enter RESOURCE ? " "\D100G9000\r"          "\r"             5000
  1435.             "CONNECTED TO"      ""                      ""               5000
  1436.             "login: "           "\D100doug\r"           "\B\r"            500
  1437.             "Password:"         "\D100password\r"       "\r"            10000
  1438.             "Selection: "       "\D100d\r"              ""              40000
  1439.             "/users/doug>"      "\D100trfifo lan2\r"    ""              40000
  1440.             "and run TR"        "\D1000"                ""              40000
  1441.       The exact strings will depend on the mini-computer. This example (apart
  1442.       from the password) works for the author.
  1443.  
  1444.       This completes the installation stage.
  1445.  
  1446. A4.4  When the remote user wishes to connect into the LAN, he will run TR:
  1447.             TR LAN2
  1448.       which will automatically log into the mini-computer and run trfifo to
  1449.       connect to the node PC (in this case lan2).
  1450.  
  1451.       TeleReplica will then synchronize "baud" rates, exchange passwords, and
  1452.       give the remote user control of the node PC.
  1453.  
  1454. A4.5  When the remote user is finished, he will exit TR using option 3, which
  1455.       will send a BREAK to the mini-computer. This will terminate the trfifo
  1456.       program which the remote user was running. The trfifo program that the
  1457.       node PC was running will detect that this has happened, and send a
  1458.       TeleReplica reboot command to the node PC to ensure that the next user
  1459.       cannot pick up anything the previous user left running. The node PC's
  1460.       trfifo program will then prepare for the next remote user. The node PC
  1461.       will complete rebooting, and run TRHOST from AUTOEXEC.BAT ready for the
  1462.       next remote login.
  1463.  
  1464.       [All this sounds complicated, but we use this system daily here at MUCG
  1465.       for some staff who have mini-computer lines but are too far away for LAN
  1466.       connections.]
  1467.  
  1468.  
  1469. A5.   Home/Office via Modem
  1470.  
  1471. A5.1  Here a user wishes to dial in from home and take over the PC on his desk
  1472.       at work. The office PC has a 2400 bps modem connected to COM2, and the
  1473.       home PC has a 2400 bps modem connected to COM1. The office PC is equipped
  1474.       with an EGA color display, and the home PC is equipped with a Hercules
  1475.       monochrome display.
  1476.  
  1477.       One problem is that since the office PC will be unattended, all it takes
  1478.       is for the user to run a program which "hangs" the computer, and that
  1479.       will be the end of the office PC until the user goes back to work and
  1480.       presses the reset button! (Note that TeleReplica does support rebooting
  1481.       the host PC, but this can only work if interrupts are not disabled and if
  1482.       the relevant code has not been overwritten. As a rule, TeleReplica can
  1483.       get out of any situation that <Ctrl-Alt-Del> could get out of, but if the
  1484.       hardware reset button was needed TR would be helpless.)
  1485.  
  1486.       Since the user is putting in overtime working at night without getting
  1487.       paid for it, it seems reasonable that the office 'phone should at least
  1488.       pay for the call. However, how can the office computer know when to call
  1489.       the user at home? One possibility would be to set up a batch file to run
  1490.       TRDIAL at a predetermined time. However, it would be better if the user
  1491.       could choose any convenient time. TeleReplica can achieve this by
  1492.       monitoring the RING signal from the modem, and responding appropriately.
  1493.       The basic idea is that the user will dial the office number, and then
  1494.       hang up as soon as the 'phone starts ringing. TeleReplica will detect the
  1495.       'phone ringing, and respond by calling the user at home.
  1496.  
  1497.       Since the user does not want to be bothered by nuisance calls from the
  1498.       office computer, TeleReplica needs to be quite selective about the ring
  1499.       patterns it will respond to. Too short a ring may mean a telephone
  1500.       company routine line test. Too long a ring will mean a person trying to
  1501.       ring the office. Even if the ring is the correct length, the user may
  1502.       still wish to guarantee no interruptions between 11PM and 7AM!
  1503.  
  1504.       The 'phone number of the office PC is 123 4567.
  1505.       The 'phone number of the home PC is 765 4321.
  1506.  
  1507. A5.2  First the user must run TRHOSTIN, and make the changes necessary to
  1508.       achieve something like the following display:
  1509.       │═══════════════════════════════════════════════════════════════════════╗
  1510.       │plica Host 3.20 Installation Copyright (c) 1992 Douglas Thomson        ║
  1511.       │                                                                       ║
  1512.       │Select serial port (currently COM2)                                    ║
  1513.       │Change password (currently "fhkjeuyibn4593874sefeh8631wjds874dffd")    ║
  1514.       │Change modem initialization string (currently:                         ║
  1515.       │"")                                                                    ║
  1516.       │Change modem dialing format string (currently:                         ║
  1517.       │"\r%s\r")                                                              ║
  1518.       │Select maximum "baud" rate (currently 2400)                            ║
  1519.       │Use modem CARRIER DETECT signal (currently YES)                        ║
  1520.       │Flow control (currently NONE)                                          ║
  1521.       │Generate INT 9 on each key (currently NO)                              ║
  1522.       │Respond to modem RING signal (currently YES)───┬─ 1. too short  220 ms ║
  1523.       │Reboot on loss of carrier (currently YES)      ├─ 2. too long  5000 ms ║
  1524.       │Synchronize "baud" rate (currently YES)        ├─ 3. delay    10000 ms ║
  1525.       │Send wakeup every 2 minutes (currently NO)     ├─ 4. reset    10000 ms ║
  1526.       │Private mode (currently NO)                    ├─ 5. "type" response   ║
  1527.       │Printer redirection (currently HOST)           └─ 6. response ─┐       ║
  1528.       │Create consistent .TR file                             "\0x1Btrauto\r" ║
  1529.       │Abandon changes                                                        ║
  1530.       │Save changes and leave installation program                            ║
  1531.       │                                                                       ║
  1532.       │ion:                                                                   ║
  1533.       │═══════════════════════════════════════════════════════════════════════╝
  1534.       Refer to section 4 for the meaning of each option. Since anyone could try
  1535.       to get into the office PC the password is important - notice that it is
  1536.       both long and quite random. The modem dialing format string permits ANY
  1537.       modem command to be sent direct to the modem. It is essential that TRHOST
  1538.       takes notice of the CD signal, since the host computer will be
  1539.       automatically rebooted if the carrier is lost (see below). The host
  1540.       computer is to monitor the 'phone ringing and respond accordingly (again,
  1541.       see below). "Baud" rate synchronization is not important here.
  1542.  
  1543.       Next the user selects option O from the main menu, and enters the name of
  1544.       the configuration file he wishes to use for the office:
  1545.       ╔═══════════════════════════════════════════════════════════════════════╗
  1546.       ║ TeleReplica Host Program .TR File Name Selection                      ║
  1547.       ║                                                                       ║
  1548.       ║ Edit existing string:                                                 ║
  1549.       ║ office                                                                ║
  1550.       ╚═══════════════════════════════════════════════════════════════════════╝
  1551.  
  1552.       Finally the user exits TRHOSTIN by selecting option S to save the
  1553.       changes. He can now make up a disk with all the installed TeleReplica
  1554.       files on it to take home.
  1555.  
  1556.       However, still on the office PC the user needs to create a batch file
  1557.       called TRAUTO.BAT, containing something like:
  1558.             trcheck 7:00:00 23:00:00
  1559.             if errorlevel 1 goto done
  1560.             trdial atd7654321
  1561.             :done
  1562.       which will check that the time is between 7AM and 11PM, and if so dial
  1563.       the user's home number. Note that the "atd7654321" contains no spaces!
  1564.  
  1565.       The user must also ensure that AUTOEXEC.BAT has the directory containing
  1566.       all the TeleReplica files on the path, and that TRHOST is run whenever
  1567.       the system boots. However, when the user is at the office he will not
  1568.       want TRHOST loaded, so AUTOEXEC.BAT should contain something like:
  1569.             @echo off
  1570.             prompt $p$g
  1571.             path c:\tr
  1572.             trask 5 "Do you want to load TRHOST? (y/n): " "yn"
  1573.             if errorlevel 1 goto no
  1574.             trhost
  1575.             :no
  1576.       This will ask the user at the host PC whether or not to load TRHOST, and
  1577.       if the user does not say no within 5 seconds TRHOST will be loaded
  1578.       anyway. If the user is at the office, then typing 'n' will prevent TRHOST
  1579.       from loading.
  1580.  
  1581. A5.3  At home the user needs to edit the file named OFFICE.TR to install the
  1582.       office PC's 'phone number. This means changing the line:
  1583.             ""                Connect command for modem
  1584.       to:
  1585.             "at d 123 4567\r" Connect command for modem
  1586.       so that when the user runs TR the number will be dialed automatically.
  1587.  
  1588.       Next, since the home modem is on COM1 the line:
  1589.             "COM2"            Communications port (COMn or base/interrupt)
  1590.       must become:
  1591.             "COM1"            Communications port (COMn or base/interrupt)
  1592.  
  1593.       Finally, TR should respond to the modem ringing by answering the 'phone.
  1594.       This means adding an extra line at the end of the file containing:
  1595.             "RING"       "\D250ata\r"       ""       40000
  1596.       (Note the \D250 to wait a little bit for the modem to finish sending the
  1597.       carriage return and line feed after RING before sending the answer
  1598.       command. With some modems this may not be necessary; with others, a
  1599.       different delay may work better. If the answer command is ignored, then
  1600.       try a different delay.)
  1601.  
  1602.       This completes the installation stage.
  1603.  
  1604. A5.4  Before leaving the office, the user must remember to reboot the PC (thus
  1605.       loading TRHOST) and leave it turned on! However, it would be a good idea
  1606.       to switch the monitor off.
  1607.  
  1608.       When the user is ready to dial into the office PC from home, he will
  1609.       enter the command:
  1610.             TR OFFICE
  1611.       This will cause the modem to dial the office PC. The user must then
  1612.       listen to the modem and wait until he hears the 'phone ring once. As soon
  1613.       as he hears this, he must press any key (say the space bar) to terminate
  1614.       the call. TRHOST will start a timer going when the 'phone rings, and then
  1615.       wait 10 seconds, keeping track of the total time the 'phone has spent
  1616.       ringing. If, during the 10 seconds, the 'phone was ringing for more than
  1617.       0.2 seconds but less than .9 seconds, then TRHOST will pretend to "type"
  1618.       the keys:
  1619.             <Esc>trauto<enter>
  1620.       The <Esc> will ensure that anything currently on the command line is
  1621.       ignored, and the trauto will run the TRAUTO.BAT script. The batch file
  1622.       will check that the time of day is reasonable, and then call the user
  1623.       back. When the user's 'phone rings, the modem will send the message:
  1624.             RING
  1625.       to the home PC, and TR will trigger on this to respond to the modem with:
  1626.             ata
  1627.       which will answer the 'phone. TeleReplica will then synchronize "baud"
  1628.       rates, exchange passwords, and give the user control of the office PC.
  1629.  
  1630. A5.5  When the user is finished, he will exit TR using option 3, which will
  1631.       cause the modem to hang up and terminate the 'phone call. The office PC
  1632.       will then automatically reboot, ready for the user to call in again.
  1633.  
  1634.       [This is probably the most complicated set up of all, but it is the one
  1635.       the author has found most useful, and is in daily use by a number of
  1636.       staff at MUCG.]
  1637.  
  1638.  
  1639.       APPENDIX B - Sample File Transfer Session
  1640.  
  1641. B1    In this example, we will assume that a good link has been established as
  1642.       described in scenario A2. The user has logged into the LAN from home, and
  1643.       wishes to transfer all the C source files from the LAN directories:
  1644.             F:\USERDATA\FRED\TEST
  1645.             F:\USERDATA\FRED\UTILS
  1646.             F:\USERDATA\FRED\PROBLEM
  1647.       to the corresponding directories on his home PC:
  1648.             C:\PROGRAMS\TEST
  1649.             C:\PROGRAMS\UTILS
  1650.             C:\PROGRAMS\PROBLEM
  1651.       The current working directory on the LAN PC is F:\USERDATA\FRED. The
  1652.       current working directory on the home PC is C:\TR.
  1653.  
  1654.       First, the user needs to make C:\PROGRAMS the current working directory
  1655.       on his home PC. To do this, he must hold down Ctrl, Alt, LeftShift and
  1656.       RightShift all at the same time! This will bring up a screen similar to:
  1657.       ╔═══════════════════════════════════════════════════════════════════════╗
  1658.       ║ TeleReplica Copyright (c) 1992 Douglas Thomson                        ║
  1659.       ║                                                                       ║
  1660.       ║  Key         Effect                                                   ║
  1661.       ║  ===         ======                                                   ║
  1662.       ║  <F2>      - simulate carrier - not used with MODEM link              ║
  1663.       ║  <Ctrl-F2> - simulate NO carrier - not used with MODEM link           ║
  1664.       ║  <F6>      - send break, restart session                              ║
  1665.       ║  <F8>      - perform warm boot on host                                ║
  1666.       ║  <F9>      - shell to DOS                                             ║
  1667.       ║  <F10>     - exit TeleReplica                                         ║
  1668.       ║  <Alt-X>   - exit TeleReplica                                         ║
  1669.       ║  <Home>    - refresh display from HOST                                ║
  1670.       ║  <PgUp>    - upload file using DMP protocol                           ║
  1671.       ║  <PgDn>    - download file using DMP protocol                         ║
  1672.       ║                                                                       ║
  1673.       ║  <ESC>     - do nothing                                               ║
  1674.       ║                                                          Press key:   ║
  1675.       ╚═══════════════════════════════════════════════════════════════════════╝
  1676.       Then he should press <F9> to shell to DOS, and enter the command:
  1677.             CD \PROGRAMS
  1678.       to make C:\PROGRAMS the current working directory. Then he can enter the
  1679.       command:
  1680.             EXIT
  1681.       to return to TR.
  1682.  
  1683.       Next he needs to start the download. To do this he must again hold down
  1684.       Ctrl, Alt, LeftShift and RightShift, and then press <PgDn>. Another box
  1685.       will appear:
  1686.       ╔═══════════════════════════════════════════════════════════════════════╗
  1687.       ║ Name(s) of file(s) to be downloaded (use DOS wildcards):              ║
  1688.       ║ WARNING: Files with the same names on this PC will be overwritten!    ║
  1689.       ║                                                                       ║
  1690.       ╚═══════════════════════════════════════════════════════════════════════╝
  1691.       and he must enter the relative paths and wildcards:
  1692.       ╔═══════════════════════════════════════════════════════════════════════╗
  1693.       ║ Name(s) of file(s) to be downloaded (use DOS wildcards):              ║
  1694.       ║ WARNING: Files with the same names on this PC will be overwritten!    ║
  1695.       ║ TEST\*.C TEST\*.H UTILS\*.C UTILS\*.H PROBLEM\*.C PROBLEM\*.H         ║
  1696.       ╚═══════════════════════════════════════════════════════════════════════╝
  1697.  
  1698.       If there were some problem (for example, if TRPUT.EXE were not on the
  1699.       path of the LAN PC), then the following could be displayed:
  1700.       ╔═══════════════════════════════════════════════════════════════════════╗
  1701.       ║ TeleReplica Error:                                                    ║
  1702.       ║ no ready marker from host                                             ║
  1703.       ║ Type <ESC> to continue:                                               ║
  1704.       ╚═══════════════════════════════════════════════════════════════════════╝
  1705.  
  1706.       However, normally the download will then commence, leaving the following
  1707.       display:
  1708.             ╔═════════════════════════════════════════════╗
  1709.             ║ File Transfer in Progress...                ║
  1710.             ║                                             ║
  1711.             ║ File:       test\xyz.c                      ║
  1712.             ║                                             ║
  1713.             ║ Error:                                      ║
  1714.             ║                                             ║
  1715.             ║ Efficiency: 96.6%                           ║
  1716.             ║                                             ║
  1717.             ║ You may:                                    ║
  1718.             ║    1. Abort the file transfer               ║
  1719.             ║    2. Shell to DOS                          ║
  1720.             ║                                             ║
  1721.             ║ Selection:                                  ║
  1722.             ╚═════════════════════════════════════════════╝
  1723.       The number of bytes remaining to be transferred is displayed in the top
  1724.       right corner of the screen. The most recent error will be reported in the
  1725.       appropriate line of the box, and the efficiency of the transfer (relative
  1726.       to a perfect 10 bits per byte) may help to relieve the boredom while
  1727.       waiting for the transfer to complete! The box also indicates which file
  1728.       is currently being transferred.
  1729.  
  1730.       At this stage, the user can either wait for the transfer to finish, or
  1731.       else select option 2 from the menu and shell to DOS. In this case, he can
  1732.       use his home PC for other jobs while the transfer takes place in the
  1733.       background. TR will continue to display the number of bytes remaining in
  1734.       the top right corner until the transfer is completed, at which time the
  1735.       number in the top right corner will become the string "Completed" (or,
  1736.       possibly, "Doubtful" if one or more files could not be created on the
  1737.       home PC). However, the user must be careful not to do things like delete
  1738.       the file that is being downloaded!
  1739.  
  1740.       While shelled out to DOS in this way, the user may exit back into TR at
  1741.       any time. If the file transfer is still in progress, then the file
  1742.       transfer window will still be there; otherwise, the exit will leave TR
  1743.       displaying the normal replica of the host PC's display.
  1744.  
  1745.  
  1746.       APPENDIX C - Modem Cables
  1747.  
  1748. C1.   Minimum Standard Modem Cable
  1749.  
  1750.       Although a full 25-wire straight-through male-to-female RS232 cable is
  1751.       recommended for TeleReplica (since there is less room for error in the
  1752.       cable construction/selection), in fact the following signals are the only
  1753.       ones ever required or used:
  1754.  
  1755.       MALE (modem)                            FEMALE (PC)
  1756.       =============                           ========
  1757.       25D RS232 pin     signal       signal   25D   9D (as in AT)
  1758.       =============     ======       ======   ===   ==
  1759.                   2     TD  <------- TD         2    3
  1760.                   3     RD  -------> RD         3    2
  1761.                   4     RTS <------- RTS        4    7
  1762.                   5     CTS -------> CTS        5    8
  1763.                   7     GND <------> GND        7    5
  1764.                   8     CD  -------> CD         8    1
  1765.                  20     DTR <------- DTR       20    4
  1766.                  22     RI  -------> RI        22    9
  1767.  
  1768.       The following sections describe the kind of null modem cables that can be
  1769.       used with TeleReplica.
  1770.  
  1771. C2.   Simplest Possible 3-wire Null Modem Cable
  1772.  
  1773.       This is the most common kind of null modem cable, but TR and TRHOST must
  1774.       be set to ignore carrier detect, since the cable does not provide this
  1775.       information.
  1776.  
  1777.       MALE                                    FEMALE
  1778.       =============                           ========
  1779.       25D RS232 pin     signal       signal   25D   9D (as in AT)
  1780.       =============     ======       ======   ===   ==
  1781.                   7     GND <------> GND        7    5
  1782.                   3     RD  <------- TD         2    3
  1783.                   2     TD  -------> RD         3    2
  1784.  
  1785. C3.   Full TeleReplica Null Modem Cable
  1786.  
  1787.       If you can build or get hold of one of these, then TeleReplica can use
  1788.       carrier detect correctly. Note that CTS is not provided, and that
  1789.       TeleReplica must therefore be installed not to use it (there would be no
  1790.       point is using flow control with a direct cable in any case)!
  1791.  
  1792.       MALE                                    FEMALE
  1793.       =============                           ========
  1794.       25D RS232 pin     signal       signal   25D   9D (as in AT)
  1795.       =============     ======       ======   ===   ==
  1796.                   7     GND <------> GND        7    5
  1797.                   3     RD  <------- TD         2    3
  1798.                   2     TD  -------> RD         3    2
  1799.                  20     DTR -------> CD         8    1
  1800.                   8     CD  <------- DTR       20    4
  1801.  
  1802. C4.   Complete Null Modem Cable
  1803.  
  1804.       If you really want a complete null modem cable, which should work with
  1805.       ANY communications program, then I would suggest:
  1806.  
  1807.       MALE                                    FEMALE
  1808.       =============                           ========
  1809.       25D RS232 pin     signal       signal   25D   9D (as in AT)
  1810.       =============     ======       ======   ===   ==
  1811.                   7     GND <------> GND        7    5
  1812.                   3     RD  <------- TD         2    3
  1813.                   2     TD  -------> RD         3    2
  1814.                   5     CTS <------- RTS        4    7
  1815.                   4     RTS -------> CTS        5    8
  1816.                  20     DTR ----+--> CD         8    1
  1817.                                 |
  1818.                                 +--> DSR        6    6
  1819.                   8     CD  <--+---- DTR       20    4
  1820.                                |
  1821.                   6     DSR <--+
  1822.  
  1823.  
  1824.       APPENDIX D - DESQview Compatibility
  1825.  
  1826. D1.   TR is "DESQview-Aware" and runs nicely in a small DESQview window. TRHOST
  1827.       needs to put keys into the BIOS keyboard buffer, and this means that what
  1828.       is typed at the remote end cannot be distinguished by DESQview from what
  1829.       is typed at the real keyboard at the host end. The net effect is that
  1830.       there is no point in trying to run TRHOST in a DESQview window, and so
  1831.       TRHOST makes no attempt to be "DESQview-Aware". Also, DESQview is
  1832.       activated by "tapping" the ALT key, but TRHOST has no way to make this
  1833.       appear to happen, hence DESQview cannot be activated remotely. TRHOST and
  1834.       DESQview really don't mix!
  1835.  
  1836. D2.   For anyone wishing to set up DESQview for TR, these are the settings that
  1837.       I am currently using successfully:
  1838.       ╔1══Change═a═Program════════════════════════════════════════════════════╗
  1839.       ║                            Change a Program                           ║
  1840.       ║                                                                       ║
  1841.       ║ Program Name............: TR                                          ║
  1842.       ║                                                                       ║
  1843.       ║ Keys to Use on Open Menu: TR                  Memory Size (in K):  70 ║
  1844.       ║───────────────────────────────────────────────────────────────────────║
  1845.       ║ Program...: C:\TR\TR                                                  ║
  1846.       ║                                                                       ║
  1847.       ║ Parameters: REMOTE                                                    ║
  1848.       ║                                                                       ║
  1849.       ║ Directory.: \TR                                                       ║
  1850.       ║───────────────────────────────────────────────────────────────────────║
  1851.       ║ Options:                                                              ║
  1852.       ║               Writes text directly to screen.......: [N]              ║
  1853.       ║               Displays graphics information........: [N]              ║
  1854.       ║               Virtualize text/graphics (Y,N,T).....: [N]              ║
  1855.       ║               Uses serial ports (Y,N,1,2)..........: [1]              ║
  1856.       ║               Requires floppy diskette.............: [N]              ║
  1857.       ║                                                                       ║
  1858.       ║  Press F1 for advanced options           Press <─┘ when you are DONE  ║
  1859.       ╚═══════════════════════════════════════════════════════════════════════╝
  1860.       and advanced options:
  1861.       ╔1══Change═a═Program════════════════════════════════════════════════════╗
  1862.       ║                   Change a Program Advanced Options                   ║
  1863.       ║                                                                       ║
  1864.       ║ System Memory (in K):  0    Maximum Program Memory Size (in K)..:  70 ║
  1865.       ║                                                                       ║
  1866.       ║ Script Buffer Size:  100    Maximum Expanded Memory Size (in K):    0 ║
  1867.       ║                                                                       ║
  1868.       ║ Text Pages: 1  Graphics Pages: 0  Initial Mode:  Interrupts: 00 to 2F ║
  1869.       ║───────────────────────────────────────────────────────────────────────║
  1870.       ║ Window Position:                                                      ║
  1871.       ║    Maximum Height: 25     Starting Height: 25     Starting Row...:  1 ║
  1872.       ║    Maximum Width.: 80     Starting Width.: 80     Starting Column:  1 ║
  1873.       ║───────────────────────────────────────────────────────────────────────║
  1874.       ║                            Shared Program                             ║
  1875.       ║ Pathname..:                                                           ║
  1876.       ║ Data......:                                                           ║
  1877.       ║───────────────────────────────────────────────────────────────────────║
  1878.       ║ Close on exit (Y,N,blank)..: [Y]  Uses its own colors...........: [Y] ║
  1879.       ║ Allow Close Window command.: [N]  Runs in background (Y,N,blank): [Y] ║
  1880.       ║ Uses math coprocessor......: [N]  Keyboard conflict (0-4).......: [0] ║
  1881.       ║ Share CPU when foreground..: [Y]  Share EGA when foreground/....: [Y] ║
  1882.       ║ Can be swapped out (Y,N, ).: [N]  Protection level (0-3)........: [0] ║
  1883.       ║                                                                       ║
  1884.       ║  Press F1 for standard options           Press <─┘ when you are DONE  ║
  1885.       ╚═══════════════════════════════════════════════════════════════════════╝
  1886.  
  1887. D3.   When running under DESQview, the "shell to DOS" option during a file
  1888.       transfer is disabled, since DESQview does not permit interrupt handlers
  1889.       to call DOS and BIOS functions (necessary for reading and writing files).
  1890.       However, this is not a serious limitation under DESQview, since DESQview
  1891.       will allow you to run multiple simultaneous programs.
  1892.  
  1893. D4.   The normal "shell to DOS" option may be used under DESQview, but in this
  1894.       case more than 70K of memory will need to be allocated - with 4dos, it
  1895.       has been reported that at least 150K is required!
  1896.  
  1897.  
  1898.       APPENDIX E - Acknowledgements
  1899.  
  1900.       I would like to thank all the users of TeleReplica who have helped me to
  1901.       improve the package by suggesting new features and reporting
  1902.       difficulties. The following individuals in particular have had a
  1903.       significant impact on the current version:
  1904.             Mr Lindsay Smith, Monash University College, Gippsland, Australia
  1905.             Prof. Timo Salmi, University of Vaasa, Finland
  1906. ==============================================================================
  1907. ==============================================================================
  1908. ==============================================================================
  1909. ==============================================================================
  1910. ==============================================================================
  1911. ==============================================================================
  1912. ==============================================================================
  1913. ==============================================================================
  1914. ==============================================================================
  1915. ========================================================