home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / dosutils / xdosman.arj / CHAPT12.DOC < prev    next >
Encoding:
Text File  |  1991-11-28  |  102.1 KB  |  2,136 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                   Chapter 12.
  8.  
  9.  
  10.  
  11.                            The Communications Program
  12.  
  13.      Introduction
  14.  
  15.           X-COM is a general data communications software package which
  16.           allows one computer to communicate with another via modem. With
  17.           data communications becoming a popular field among personal
  18.           computer (PC) users, X-COM was designed to offer powerful
  19.           functions, yet retain its simplicity, allowing it to operate on
  20.           all PC computers and modems. X-DOS is the only operating system
  21.           to offer a built-in, full function communications program and you
  22.           will not need to use any additional software to carry out all
  23.           your data communications operations.
  24.           X-COM supports the full Hayes AT Command Set, and can be used
  25.           with any Hayes compatible modem, which includes most modems on
  26.           the market for PC users today.
  27.  
  28.           X-COM contains a complete range of features, including terminal
  29.           emulation to emulate popular terminals, automatic dialing, file
  30.           transfer capabilities (send and receive), and the ability to
  31.           setup your modem, using the software. X-COM includes a
  32.           comprehensive, context sensitive on-line HELP function. The
  33.           design principle of X-COM was to make it capable of doing
  34.           everything you need it to do, in the simplest possible way. So,
  35.           even if you are a beginner to computerized telecommunications,
  36.           just using the program will allow you to become very proficient.
  37.           If you are not a beginner, you will probably be surprised by the
  38.           range of features offered.
  39.  
  40.      Activating X-COM
  41.  
  42.           X-COM can be activated either from the command line at the X-DOS
  43.           prompt by entering the command :
  44.  
  45.                                      X-COM
  46.  
  47.           or from the X-DOS SHELL from the utility menu of the file section
  48.           by selecting the COMMUNICATION PROGRAM item. Once X-COM is
  49.           activated, it will initialise the necessary communication ports
  50.           which make take a few seconds and enter the Terminal mode.
  51.  
  52.      Basic Setup
  53.  
  54.           In order for everything to function correctly with X-COM, it is
  55.           crucial that the settings for your modem and X-COM are correct.
  56.           To make these settings, first load X-COM.
  57.  
  58.           Call up the X-COM Menu with the F10 key or click with the mouse
  59.  
  60.  
  61.  
  62.  
  63.                                       12-1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.           and use the <> arrow key, or use a mouse if you have one, to move
  70.           the highlight bar down to the fourth item from the bottom, Basic
  71.           Setup, and press <>. Alternatively, rather than moving the
  72.           highlight bar, you could type the Quick key for Basic Setup which
  73.           is <Alt>B.
  74.  
  75.           You will notice that there is a menu with a highlight bar on the
  76.           left of the screen entitled Basic Setup, and a window on the
  77.           right entitled Setup. You will use the lefthand Setup window to
  78.           make your choices and these choices will then be displayed in the
  79.           Setup window. The settings shown in the Basic Setup menu when you
  80.           first enter this option are the settings presently being used.
  81.  
  82.           You may have to change some of them, and you may leave others as
  83.           they are. The default settings are as detailed below.
  84.  
  85.           COM Port
  86.           Take a look at the first item which says COM Port. A COM port is
  87.           like a channel selector on your T.V. set. It is used by a device
  88.           which uses a serial interface. Modems and mice are common devices
  89.           using a serial interface. Without getting into too much detail
  90.           the COM port defines where in the computer a given device or add-
  91.           on card that uses a serial interface is to be found. Suppose you
  92.           have a mouse and a modem installed in your computer, both of
  93.           which use a serial interface. When you want X-COM to communicate
  94.           with your modem, X-COM may accidentally communicate with your
  95.           mouse, since this also uses a serial interface and X-COM cannot
  96.           recognize different kinds of devices.
  97.  
  98.           To avoid this problem, different devices have to be assigned to
  99.           different ports. For example, you have to tell your software that
  100.           your mouse is using COM 1 and your modem is using COM 2. That way
  101.           the software will know where to look for a particular device.
  102.           This is further complicated by the fact that most modems have a
  103.           hardware switch to define the modem as COM 1 or COM 2. To
  104.           configure the COM port you must know which ports are used by
  105.           which devices in your computer.
  106.  
  107.           If you have a mouse, you must check whether it is using COM 1 or
  108.           COM 2. You can check this in the software you use with your mouse
  109.           since, to use the mouse with any software, you must have defined
  110.           the COM port. If you have assigned the mouse to the COM 1 port
  111.           and you then wish to install a modem, you must configure it to
  112.           use the COM 2 port.
  113.           This may involve setting a dip switch on the modem. If you have
  114.           configured your modem to use the COM 2 port you must then tell X-
  115.           COM to look for the modem on the COM 2 port. To do this, first
  116.           make sure that the highlight bar is over the first item in the
  117.           Basic Setup menu, COM Port, and press <>.
  118.  
  119.           In the Enter COM Port menu you can then use the <> and <> arrow
  120.           keys, or your mouse to move the highlight bar over your desired
  121.  
  122.  
  123.  
  124.  
  125.                                       12-2
  126.  
  127.  
  128.  
  129.  
  130.  
  131.           selection. This way you can select any one of four COM ports.
  132.           Thus, to select COM 2, position the highlight bar over COM 2 and
  133.           hit <>. As soon as you do this, the Enter COM port menu will
  134.           disappear and COM 2 will appear next to the COM Port setting in
  135.           the Setup window.
  136.  
  137.           Connection Mode
  138.           The next item in the Basic Setup menu is the COnnection Mode. You
  139.           can see in the Setup window that the default is shown as Modem.
  140.           To see what other choices are available, highlight the COnnection
  141.           Mode item in the Basic Setup menu and press <>.
  142.  
  143.           Modem Connection
  144.           You can see that you have two choices, Modem Connection and
  145.           Direct Connection. If you are going to use your modem to
  146.           communicate with other modems, then the default setting of "Modem
  147.           Connection" should be retained. This will probably be the choice
  148.           in most cases.
  149.  
  150.           Direct Connection
  151.           The Direct Connection mode allows you to connect your computer
  152.           directly with another computer, using a null-modem cable and no
  153.           modem. In most cases this kind of connection will be to a
  154.           mainframe computer or another PC. This kind of connection will
  155.           allow you to send and receive data directly between two
  156.           computers.
  157.  
  158.           To quit the Connection Mode menu without making any changes,
  159.           press <Esc> and you will be returned to the Basic Setup menu. In
  160.           this case the default setting of Modem in the Setup window will
  161.           not be altered. If you do wish to select Direct Connection,
  162.           highlight this entry and press <Enter>. Direct Connection will
  163.           appear in the Setup window next to the Connection Mode item.
  164.  
  165.           Dial Mode
  166.           The next item in the Basic Setup menu is the Dial Mode. Highlight
  167.           this entry and press <Enter> to see your choices.
  168.  
  169.           You have two choices, Touch Tone dialing (i.e. digital) and Pulse
  170.           dialing. The option you select will depend on the kind of
  171.           telephone system installed in your area.
  172.  
  173.           Touch Tone or Pulse Dialing?
  174.           To use Touch Tone Dial, the telephone network in your area must
  175.           use a newer digital system. If the older pulse system is still
  176.           employed, you will have to choose the Pulse Dial option.
  177.           Generally speaking, areas that support touch tone dialing also
  178.           support pulse dialing, but areas that support pulse dialing do
  179.           not necessarily support touch tone dialing. Also note that, even
  180.           though you may have a push button telephone, this does not
  181.           necessarily mean that your area supports touch tone dialing.
  182.  
  183.  
  184.  
  185.  
  186.  
  187.                                       12-3
  188.  
  189.  
  190.  
  191.  
  192.  
  193.           To check, dial a number on your push button telephone. If a
  194.           connection is made immediately after you have finished keying in
  195.           the phone number, your telephone network must be digital. If,
  196.           after keying in a number, there is a delay and a faint sound of
  197.           mechanical clicking over the telephone, then your network must
  198.           still be of the pulse dialing variety.
  199.  
  200.           If you are not sure which system you should use, try dialing a
  201.           number with both modes and see which way works best. Within X-COM
  202.           it is very easy to change any of the settings and any changes
  203.           made, can be modified later. If you want to retain the default as
  204.           Touch Tone Dial, press <Enter> to return to the Basic Setup menu.
  205.           If you wish to select Pulse Dial, highlight this entry and hit
  206.           <Enter>. The change will be registered in the Setup window.
  207.  
  208.      Modem Init
  209.  
  210.           Modem init is short for Modem Initialization. Highlight this item
  211.           and hit <Enter>.
  212.  
  213.           You are asked to enter a modem initialization string, though you
  214.           may have no idea what that is. You may remember that when you
  215.           loaded X-COM, a message saying "INTIALIZING MODEM" appeared on
  216.           your screen.
  217.           That message is related to what you type in this Entry Box. To
  218.           initialize means to prepare, or to configure. You may enter some
  219.           commands in this window so, whenever you load X-COM, these
  220.           commands will be automatically sent to your modem to configure
  221.           it. That way you can be sure that, as soon as you have loaded X-
  222.           COM, your modem is set up the way you want it and you do not have
  223.           to enter the same commands every time you start using X-COM.
  224.  
  225.           As we mentioned at the beginning of this chapter, to send
  226.           commands to a modem, you have to use the Hayes Command Set. The
  227.           kind of commands you might wish to enter in the initialization
  228.           string could be a command to define how many times you want your
  229.           modem to ring before it "answers" an incoming call; and/or how
  230.           many seconds you want your modem to try ringing a number before
  231.           it hangs up; and/or how long your modem should wait for a dial
  232.           tone on the telephone line before attempting to dial a number,
  233.           etc.
  234.  
  235.           These settings may not mean much to you now, but they will
  236.           probably come in very useful when you are more familiar with
  237.           telecommunications and wish to expand your capabilities. Note
  238.           that whatever setting you enter here can be altered at any time.
  239.  
  240.           If you are familiar with the Hayes Command Set, you can enter a
  241.           command, or a string of several commands, in this Entry Box. For
  242.           instance, if you wish to configure your modem to automatically
  243.           answer an incoming call after two rings, just type in the command
  244.           ATS0=2 and press <Enter>. This command will be entered in the
  245.  
  246.  
  247.  
  248.  
  249.                                       12-4
  250.  
  251.  
  252.  
  253.  
  254.  
  255.           Setup window. It is perfectly alright to leave this entry blank
  256.           if you are not sure what commands to enter. To return to the
  257.           Basic Setup menu, press <Esc>.
  258.  
  259.           Default Set
  260.           Highlight this item and press <Enter>. Unless you have been
  261.           galloping ahead of us and entering data by yourself in the
  262.           dialing directory, a message will appear saying there are no
  263.           default set. The default set draws data from the Phonebook, but
  264.           since you have not yet entered anything in the Phonebook, there
  265.           is no default set. In X-COM a Set consists of a name, a telephone
  266.           number, and all the relevant communications settings for that
  267.           telephone number. If you specify a default Set, this means that
  268.           whatever settings you have made in that particular Set, including
  269.           bps rate, stop bit, echo, emulation etc., will automatically be
  270.           loaded each time you load X-COM. Thus, you can create a Set with
  271.           the parameters you use most of the time and then these settings
  272.           will be automatically loaded when X-COM is loaded.
  273.           This way you will avoid having to reset the parameters of X-COM
  274.           each time you use it. This will become much clearer when you have
  275.           made some entries in the telephone directory, so further
  276.           information about this particular entry is contained in the
  277.           section dealing with the configuration of the dialing directory.
  278.           For the moment you can just press <Enter> to leave this entry
  279.           blank and return to the Basic Setup menu.
  280.  
  281.           Greetings String
  282.           Highlight the Greetings String item in the menu and press
  283.           <Enter>. The Greetings String is the greeting message that will
  284.           appear on the screen of any remote computer which connects to
  285.           your computer. For instance, suppose you enter "WELCOME TO X-COM"
  286.           in the Greetings String Entry Box. Then, if your friend down the
  287.           street connects to your computer by modem, as soon as a
  288.           connection is made, the message "WELCOME TO X-COM" will appear on
  289.           his screen. Any message up to 28 characters long can be entered
  290.           here. Once you have typed in your desired message, press <Enter>
  291.           and your message will appear in the Setup window. If you do not
  292.           wish to enter any greetings string press <Esc> to return to the
  293.           Basic Setup menu.
  294.  
  295.           Host Password
  296.           Highlight this entry in the Basic Setup menu and press <Enter>.
  297.           The Host Password is the password that is required to be entered
  298.           by another user connecting to your computer when your computer is
  299.           in the Host mode. Thus, suppose you enter the password COMPUTER.
  300.           If someone calls up your computer over a modem, wishing to copy a
  301.           file from your computer to his computer, he will first have to
  302.           enter the password COMPUTER before he will be granted access to
  303.           any data.
  304.  
  305.           If you do not enter a password, then it will not be necessary for
  306.           another user, calling up your computer, to enter a password
  307.  
  308.  
  309.  
  310.  
  311.                                       12-5
  312.  
  313.  
  314.  
  315.  
  316.  
  317.           before having access to your files. If you do not wish to enter a
  318.           password, hit <Esc> to return to the Basic Setup menu. If you
  319.           wish to enter a password, type any combination of up to 10
  320.           characters and hit <Enter>. The password you have selected will
  321.           appear in the Setup window. We suggest you enter a password now,
  322.           even if you are not sure what the Host mode is. When you have
  323.           read the section detailing the Host mode, you will understand the
  324.           purpose of this password.
  325.  
  326.           Saving Settings
  327.           The new settings you have made in the Basic Setup menu are
  328.           automatically recorded by X-COM when you press <Esc> to exit the
  329.           Basic Setup menu. The Basic Setup menu and the Setup window will
  330.           disappear and you will be returned to the X-COM Menu. Please
  331.           note, that having changed the settings, you may call up the Basic
  332.           Setup menu at any time and alter your choices. Whatever settings
  333.           you have entered will automatically be loaded when X-COM is
  334.           loading, so you will not have to repeat the operations detailed
  335.           here until you decide to make changes.
  336.  
  337.      Edit Phonebook
  338.  
  339.           Having finished configuring your system and X-COM with the Basic
  340.           Setup functions, you can now go on to making some entries in the
  341.           X-COM Phonebook. Let's move one item up in the X-COM Menu to the
  342.           item marked Edit Phonebook.
  343.  
  344.           With the Edit Phonebook item highlighted press <Enter> and the
  345.           Edit Phonebook menu will appear on the left of your screen and on
  346.           the right, a window showing the Current Phonebook Set. The
  347.           Phonebook allows you to input more than just a phone number and a
  348.           name. Along with each phone number you can also specify all the
  349.           important data transmission parameters for each individual number
  350.           such as bps rate, number of data bits, emulation, etc.
  351.  
  352.           This means that, in the future when you want to call a number,
  353.           you can simply select the name of the person or system you want
  354.           to call and X-COM will dial that number. All the communication
  355.           parameters related to that particular number will automatically
  356.           be loaded as soon as you select the number. Once you have made
  357.           your settings, you should never have to change them.
  358.  
  359.           You will notice that when you first call up the Edit Phonebook
  360.           function the Current Phonebook Set window has a blank next to the
  361.           Name of Set and Telephone entries and that the other settings are
  362.           TTY, 1200bps, None, 8 data bits, 1 stop bit, Full Duplex, CR. The
  363.           Init Sequence entry is also blank. The reason we have filled in
  364.           these settings is because, in the vast majority of cases, these
  365.           are the settings you can use for normal transmission. If you are
  366.           going to use your modem to call into mainframe computers and
  367.           certain databases you may need to alter some of these settings.
  368.           If you are in doubt as to what settings to use, the default
  369.  
  370.  
  371.  
  372.  
  373.                                       12-6
  374.  
  375.  
  376.  
  377.  
  378.  
  379.           settings displayed here are a good place to start. Now, let's
  380.           look at each of the settings in more detail.
  381.  
  382.           Phonebook Directory
  383.           If you select this item and press <Enter>, the message No set
  384.           name available will appear. This is because you have not yet
  385.           entered any numbers in your Phonebook, so your Phonebook cannot
  386.           be displayed. We will come back to this later.
  387.  
  388.           Modify/Add Set
  389.           Highlight this entry and hit <Enter>. An Entry Box will appear,
  390.           asking you to Enter Set Name.
  391.  
  392.           A Set consists of a name, a telephone number and all the
  393.           communication parameters related to that telephone number. The
  394.           list of Set names you enter will be shown in your Phonebook so
  395.           the Set name should be such that, when you see it in your
  396.           Phonebook, you know what it means. For instance, if you want a
  397.           Set in your Phonebook to enable you to call a database called
  398.           NewsBBS, you could enter NEWSBBS as the Set name in the Entry
  399.           Box. Then, when you see it in your Phonebook you will know what
  400.           it is for. A Set name can consist of up to eight alphanumeric
  401.           characters.
  402.  
  403.           Remove Set
  404.           Skip this item for the present since you have not yet made any
  405.           entries. This item is explained at the end of this section since
  406.           you cannot use it until you have created some Sets in the
  407.           Phonebook.
  408.  
  409.           Telephone
  410.           Select this item and enter the telephone number corresponding to
  411.           the name you have just given your Set. For instance, in the
  412.           example above, if the number for the NewsBBS database was 123-
  413.           4567 then this will be the number you should enter.
  414.  
  415.           This number may be up to 26 digits long and can include
  416.           international codes, area codes and commas which can be used to
  417.           pause dialing operations. Details of why you might want to insert
  418.           commas in a telephone number are given in the section entitled
  419.           Dialing a Number with X-COM. Note that you may also include
  420.           dashes (-) and spaces for the sake of clarity and these will be
  421.           skipped over by X-COM when the number is dialed. Having entered
  422.           the number press <Enter>.
  423.  
  424.           Emulation
  425.           Select this item and press <Enter>. The Emulation window
  426.           containing six entries will appear.
  427.  
  428.           What Is Emulation And Why do you Need to Use It?
  429.           Transmission of data with computers used to be restricted to
  430.           professional engineers, who mainly operated with mainframe and
  431.  
  432.  
  433.  
  434.  
  435.                                       12-7
  436.  
  437.  
  438.  
  439.  
  440.  
  441.           mini computers. It is only in recent years, with the advent of
  442.           the PC, that this field has become opened up to the public. The
  443.           terminals of mainframes and minicomputers use different codes to
  444.           perform certain display tasks, with each manufacturer having its
  445.           own proprietary display codes.
  446.  
  447.           A PC can therefore not be used to display data from a mainframe,
  448.           unless the PC can behave like a terminal designed specifically
  449.           for that mainframe. That is where emulation programs come in. An
  450.           emulation program enables a PC to "pretend" it is a terminal of a
  451.           given computer. Thus, if you select the VT100 emulation, your PC
  452.           will emulate a VT100 terminal when it is displaying data. That
  453.           allows your PC to communicate with any minicomputer which
  454.           supports VT-100 terminals.
  455.  
  456.           In summary, the emulation function does the following two things:
  457.  
  458.           1. It produces the screen display you would expect if you were
  459.              using the terminal being emulated.
  460.  
  461.  
  462.           2. It allows you to use the keyboard commands employed by the
  463.              terminal being emulated.
  464.  
  465.           Each kind of emulation offered by X-COM is detailed individually
  466.           below:
  467.  
  468.           TTY
  469.           This is the most basic emulation program and can be used in most
  470.           cases to communicate with other PC's installed with a modem. If
  471.           in doubt of which emulation to use, you should always try this
  472.           emulation first.
  473.  
  474.           VT-52
  475.           The VT52 is a popular terminal produced by Digital Equipment
  476.           Corporation (DEC). Thus, this emulation should be used when
  477.           communicating with VT52 compatible systems.
  478.  
  479.           VT-100
  480.           This is another commonly used terminal, also produced by Digital
  481.           Equipment Corporation. It may be necessary to use this emulation
  482.           to log into some BBS's (Bulletin Board Systems).
  483.  
  484.           ANSI-BBS
  485.           This is a commonly used emulation program by BBS's all over the
  486.           world. The X-COM ANSI implementation supports the full range of
  487.           ANSI features including support for colors. If you use X-COM to
  488.           access a BBS you should normally use this emulation type.
  489.  
  490.           Chat Mode
  491.           This emulation enables you to "talk" and exchange messages with
  492.           another user on a remote computer. The data received and
  493.  
  494.  
  495.  
  496.  
  497.                                       12-8
  498.  
  499.  
  500.  
  501.  
  502.  
  503.           transmitted appears in two different windows, making it easier to
  504.           read. The upper window is entitled REMOTE and will contain the
  505.           messages being sent from the remote computer. The lower window is
  506.           entitled LOCAL and will display the messages that you enter, and
  507.           which are sent to the remote computer. Under this emulation, once
  508.           you are connected to a remote computer, you can type in a message
  509.           on your keyboard and it will appear directly on the monitor of
  510.           the computer, with which you are connected. It will also appear
  511.           on your monitor as you type it and the remote user may then
  512.           likewise type in a message on his keyboard which will appear
  513.           directly on your monitor. This allows you to "chat" with a remote
  514.           operator using your computer monitors.
  515.  
  516.           Host Mode
  517.           The HOST MODE allows a remote user to access files on your
  518.           computer, and carry out file transfer operations on those files.
  519.           The host mode contains special features, and is explained
  520.           separately later in this chapter.
  521.  
  522.           Selecting an Emulation
  523.           The above emulation programs will allow you to communicate with
  524.           virtually all computer systems. If you are not sure which
  525.           emulation to use, check the specifications of the remote
  526.           computer. As noted before, for most normal PC telecommunications
  527.           the TTY emulation can be used. If you wish to retain the default
  528.           TTY setting, press <Esc> to return to the Edit Phonebook menu,
  529.           otherwise select a new option and press <Enter>.
  530.  
  531.           Speed
  532.           Select the Speed item to specify the bps rate to be used for data
  533.           transmission. The speed you select will depend on the
  534.           specification of your modem. X-COM offers you settings from 110
  535.           bps to 19200 bps. If you have a 1200 bps modem then the default
  536.           setting of 1200 should be retained. If you have a 2400 bps modem
  537.           you can alter the speed to 2400.
  538.  
  539.           Please note, however, that the speed you select should also
  540.           depend on the capabilities of the modem with which you wish to
  541.           communicate. Even though you have a 2400 bps modem it is no use
  542.           sending data at 2400 bps to a modem which supports a maximum
  543.           speed of 1200 bps. If you do, there will certainly be an error in
  544.           the transmission of the data. Select the highest bps rate
  545.           supported by both your modem and the remote modem. If you are
  546.           using a direct connection with a null-modem cable, you should use
  547.           19200 bps for maximum speed.
  548.  
  549.           Parity
  550.           This will depend on the settings of the remote computer with
  551.           which you are communicating. In most cases you can retain the
  552.           default value.
  553.  
  554.           Data Bits
  555.  
  556.  
  557.  
  558.  
  559.                                       12-9
  560.  
  561.  
  562.  
  563.  
  564.  
  565.           In most cases either seven or eight data bits are used. Again you
  566.           are best advised to retain the default value unless you know that
  567.           another setting is required by the computer to which you will be
  568.           connected.
  569.  
  570.           Stop Bits
  571.           Retain the default value of one stop bit unless you are sure that
  572.           two stop bits are required. This also depends on the settings of
  573.           the computer, to which you will be connected.
  574.  
  575.           Duplex Mode
  576.           The duplex mode you choose will depend on the settings of the
  577.           remote computer. Select either full or half duplex mode.
  578.  
  579.           CR Translation
  580.           This item means Carriage Return Translation. Highlight this item
  581.           and hit <Enter>. You will see that you have a choice between
  582.           CR/LF (Carriage Return/Line Feed) and CR (Carriage Return). This
  583.           setting will also affect the way in which data is displayed on
  584.           your screen. Whichever option you choose should be synchronized
  585.           with the computer you intend to connect to. If you select CR then
  586.           the remote computer should select CR/LF. If you select CR/LF then
  587.           the remote computer should select CR.
  588.  
  589.           The reason is, if a remote computer is transmitting data to your
  590.           screen and you both have set a CR setting, you will have no Line
  591.           Feed. Thus, when data is transmitted and the end of the line is
  592.           reached, the next batch of data will be displayed on top of the
  593.           first line. This is because there is no Line Feed instruction to
  594.           tell the computer that the data should be printed on the next
  595.           line.
  596.  
  597.           Similarly, if your computer and the remote computer are both
  598.           configured with the CR/LF setting then, upon reaching the end of
  599.           a line of data, the remote computer will be instructed to jump
  600.           down one line. Your computer will then tell it to jump down one
  601.           line again, so the result will be double spaced text appearing on
  602.           your screen. Ideally you should check with the remote operator to
  603.           ensure you have complementary settings, otherwise you will have
  604.           to adjust this setting through trial and error.
  605.  
  606.           Init Sequence
  607.           The Initialization sequence in the Edit Phonebook menu is similar
  608.           to the initialization string in the Basic Setup menu. The Init
  609.           Sequence here is used to set up parameters related to single
  610.           phonebook entries. The phonebook initialization sequence can
  611.           contain any Hayes commands which will be activated when the Set,
  612.           in which they are written, is used to dial a number.
  613.  
  614.           Macro File
  615.           Macro Files are used to automate repetitive tasks you find
  616.           yourself doing again and again. Connecting to a BBS system is an
  617.  
  618.  
  619.  
  620.  
  621.                                      12-10
  622.  
  623.  
  624.  
  625.  
  626.  
  627.           example of a repetitive task. You have to go through the same
  628.           procedure every time. Use a Macro file to simplify your logon
  629.           procedures. Details of what Macro files are and how to use them
  630.           are given later in this chapter.
  631.           Notes on Making Phonebook Sets
  632.  
  633.           Try entering a few numbers into your Phonebook. To do this, first
  634.           enter the name and then the telephone number using the Edit
  635.           Phonebook menu. The name and number you enter will appear in the
  636.           Phonebook window. For each Set you enter, check whether you
  637.           should alter the communication parameters. When you have
  638.           completed a Phonebook Set, it is not necessary to save it as X-
  639.           COM automatically stores your Sets as you type them in. To type
  640.           in another Set just go back to the Modify/Add Set item and type
  641.           in a new name.
  642.  
  643.           Once you have typed in a new Set name, all other entries in the
  644.           Phonebook window will return to the default values. As soon as
  645.           you enter a Set it is saved. To check that each Set has been
  646.           saved in the Phonebook, go back to the first item in the Edit
  647.           Phonebook menu, Phonebook Directory. If you call this function up
  648.           now, the Phonebook Directory will appear on the left side of the
  649.           screen.
  650.  
  651.           The name of each Phonebook Set you have entered will be shown.
  652.           Scroll through the set names you have entered and you will see
  653.           that the settings shown in the Current Phonebook Set window will
  654.           change, according to the settings you have made for each Set
  655.           name. If you find you have made an error in a Set, go to the
  656.           Modify/Add Set menu and enter the name of the set you wish to
  657.           modify. Make the necessary changes, using the Edit Phonebook
  658.           menu, and then check the result again using the Phonebook
  659.           Directory.
  660.  
  661.           Remove Set
  662.           If, after having made some entries in your Phonebook, you decide
  663.           that you wish to delete a Set, highlight this option. A list of
  664.           Set names will appear on your screen, just as in the Phonebook
  665.           Directory option.
  666.           Move the highlight bar over the Set you wish to delete and press
  667.           <Enter> and that Set will be removed from the Phonebook. To check
  668.           that it really has been deleted, go back to the Phonebook
  669.           Directory function and check the contents of the Phonebook. You
  670.           will see that the Set you have just deleted is no longer there.
  671.           Note that the Remove Set function can only be used to remove a
  672.           whole Set, not one single parameter within a Set. To change
  673.           single items within a given Set, use the Modify/Add Set menu.
  674.  
  675.      Dialing and Making a Connection with X-COM
  676.  
  677.           If you have never used your computer to connect with remote
  678.           computers over the telephone line before, you are probably
  679.  
  680.  
  681.  
  682.  
  683.                                      12-11
  684.  
  685.  
  686.  
  687.  
  688.  
  689.           unfamiliar with the basic dialing procedures. We give you a short
  690.           guide here to the general principles involved in using modems to
  691.           dial telephone numbers, and to what you can expect when you make
  692.           a connection.
  693.  
  694.           In order to send and receive data successfully, you must do
  695.           things in the right order. It does not matter whether you dial a
  696.           number with the Phonebook, with the Number to Dial function, or
  697.           by using the Hayes Command Set. The basic order of operations
  698.           will always be the same.
  699.  
  700.           If you wish to send data you should:
  701.           1. Use X-COM to dial the correct telephone number.
  702.  
  703.           2. Wait for a connection, as shown by the result code on your
  704.              screen (see later in this section for details on result
  705.              codes).
  706.  
  707.           3. Send (upload) the desired data.
  708.  
  709.           4. Disconnect.
  710.  
  711.           If you wish to receive data you should:
  712.           1. Use X-COM to dial the correct telephone number.
  713.  
  714.           2. Wait for a connection.
  715.  
  716.           3. Receive (download) the desired data.
  717.  
  718.           4. Disconnect.
  719.  
  720.           Please note that these instructions only give the basic steps
  721.           involved. In between each of these steps, you may have to perform
  722.           other operations, such as entering a file name, selecting a file
  723.           transfer protocol etc. However, the basic order of these main
  724.           operations will always apply. Exactly what happens when you
  725.           connect to a remote computer will depend on the nature of that
  726.           remote computer and the kind of communications software used by
  727.           the remote computer. Remember that you must logoff (disconnect)
  728.           when you have completed operations, otherwise your modem will
  729.           stay online waiting for a command, which could result in a rather
  730.           large phone bill!
  731.  
  732.           Result Codes
  733.           A Result Code, as its name implies, tells you the result of the
  734.           call you have just made. For instance, if you dial a number which
  735.           is busy, X-COM will send the result code Line is busy. If there
  736.           is no modem, or nobody, to answer the number you called, after a
  737.           certain period of time the modem will send the result code No
  738.           Carrier Detected. If you dial one of your friends' number to log
  739.           onto his computer, your screen will show Communication
  740.           established if a connection is made.
  741.  
  742.  
  743.  
  744.  
  745.                                      12-12
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.           When you use the X-COM dialing facilities, the result codes
  753.           issued by X-COM may differ from those specified in your modem
  754.           manual because X-COM translates result codes into a special
  755.           format. Standard result codes and the X-COM equivalents are given
  756.           on the following page:
  757.  
  758.               Standard Result Codes             X-COM Equivalents
  759.                 NO CARRIER                      No Carrier Detected
  760.                 CONNECT                         Communication Established
  761.                 NO DIALTONE                     No Dial Tone Detected
  762.                 BUSY                            Line is Busy
  763.                 NO ANSWER                       No Answer
  764.  
  765.           If you dial with the Hayes commands at the Terminal Screen, and
  766.           do not use the X-COM menus, the result codes you see will be in
  767.           the standard format.
  768.  
  769.           Using the Phonebook to Dial a Number
  770.           In the X-COM menu select the first entry, Phonebook, and press
  771.           <Enter>. On the left of the screen is the Dial from Phonebook
  772.           menu which contains a list of the Set names you entered when you
  773.           configured the Phonebook. Remember that each Set name refers to a
  774.           particular telephone number with a matching set of communications
  775.           parameters for that number. On the right is the Current Phonebook
  776.           Set window.
  777.  
  778.           When you select the Phonebook, the name of the first Set you
  779.           entered will be highlighted. The settings shown in the Current
  780.           Phonebook Set window will correspond to that of the first Set
  781.           name. With the <UP> and <DOWN> arrow keys or with your mouse,
  782.           move the highlight bar up and down in the Phonebook. You will see
  783.           that, as you highlight each Set, the settings which you defined
  784.           for that Set, will appear in the Current Phonebook Set window.
  785.  
  786.           So how do you go about dialing a number? Simple! Highlight the
  787.           name of the Set which you wish to dial and press <Enter>. That is
  788.           all you have to do. As you can see from the message on your
  789.           screen, the number corresponding to the Set which you have
  790.           selected is being dialed. If you have entered an Initialization
  791.           String in the Set being dialed, X-COM will first prompt you with
  792.           a message Initializing Modem before displaying the Modem is
  793.           Dialing message. When a Phonebook Set is dialed, X-COM
  794.           automatically configures itself according to the settings you
  795.           specified for that Set, as shown in the Current Phonebook Set
  796.           window. How do you know X-COM has done this?
  797.  
  798.           Just take a look at the Status Line at the bottom of your screen.
  799.           You will see that the name of the Set you are dialing has
  800.           appeared at the far left, along with all of the other parameters,
  801.           including; Emulation, bps rate, number of Data Bits etc. The
  802.           items on the Status Line now reflect those of the Set you are
  803.  
  804.  
  805.  
  806.  
  807.                                      12-13
  808.  
  809.  
  810.  
  811.  
  812.  
  813.           dialing.
  814.  
  815.           Thus, you can see that once you have entered a Set into the
  816.           Phonebook, all you have to do to dial it is call up the Phonebook
  817.           menu, select the desired Set name and press <Enter>. X-COM will
  818.           do everything else for you!
  819.  
  820.      Automatic Redialing
  821.  
  822.           If X-COM displays the message Line is Busy on your screen, you
  823.           will probably want to keep trying until you get through. X-COM
  824.           features an automatic dial facility, so you do not actually need
  825.           to do anything.
  826.           When X-COM encounters a busy line, it will automatically redial
  827.           the number five times at 20 second intervals. If you wish to exit
  828.           from this redial sequence, press <Esc>. If no connection is made
  829.           after dialing five times, the call will be aborted. This feature
  830.           works when you dial with the Phonebook and the Number to Dial
  831.           function, which is detailed later in this chapter.
  832.  
  833.           If the No Carrier Detected message appears, you will
  834.           automatically be returned to the Terminal Mode. If you want to
  835.           try the number again you will have to call up the X-COM Menu
  836.           again and repeat the dialing operation.
  837.  
  838.      Aborting a Call
  839.  
  840.           If you decide to abort a call while the modem is dialing, press
  841.           <Esc>. The Phonebook will immediately disappear from the screen
  842.           and you will be returned to the Terminal Screen.
  843.  
  844.      Making Connection
  845.  
  846.           When a connection is made with a remote computer, a result code
  847.           will be displayed to show that you are connected (see the
  848.           previous section on Result Codes). Then the Phonebook will
  849.           disappear from your screen and you will be returned to the
  850.           Terminal Mode, i.e. your screen will be blank except for the
  851.           Status Line. What happens next will depend on the nature of the
  852.           computer, with which you are connected.
  853.  
  854.      Disconnecting
  855.  
  856.           After you have dialed a number and made a connection, the next
  857.           step is often to send or receive a file. This is explained in the
  858.           next section entitled Sending and Receiving Files. Before you go
  859.           to that section, however, we suggest you first learn how to
  860.           disconnect your modem, which means terminating the connection. If
  861.           you want to abort a connection, press the <F10> function key to
  862.           call up the X-COM Menu. Move the highlight bar down over the item
  863.           Disconnect and press <Enter>. A window will appear in the center
  864.           of your screen with the message Please Wait. Disconnecting Line.
  865.  
  866.  
  867.  
  868.  
  869.                                      12-14
  870.  
  871.  
  872.  
  873.  
  874.  
  875.           After a few seconds, you will be returned to the Terminal Screen,
  876.           and the line should be disconnected. The <Alt> H key command and
  877.           <Alt> D can also be used to disconnect and this can be entered
  878.           directly from the Terminal Screen without calling up the X-COM
  879.           Menu.
  880.  
  881.      Using the Number to Dial Item
  882.  
  883.           Sometimes you may wish to dial a number that is not in your
  884.           Phonebook. Maybe you want to first test a number or maybe it is a
  885.           number that you will rarely use, so you do not wish to enter it
  886.           into your Phonebook. In this case you should select the second
  887.           item in the X-COM Menu, Number to Dial.
  888.  
  889.           You are asked to enter the number, so type in the number from
  890.           your keyboard. You may also enter commas in the number to cause a
  891.           pause. This is especially useful if you are dialing through a
  892.           switchboard, which often needs one digit followed by a delay
  893.           before a dial tone is given. For example, suppose you have to
  894.           dial "0" to get an outside line, before dialing the actual
  895.           telephone number.
  896.  
  897.           When you dial 0 there is a delay of about two seconds before you
  898.           get an outside line. So you should enter your number as:
  899.  
  900.                               0,[telephone number]
  901.  
  902.           This will result in the modem dialing a zero, and then waiting
  903.           for two seconds before dialing the telephone number. If you want
  904.           a longer delay, you can enter several commas. Please note that
  905.           the length of the delay caused by entering a comma, will depend
  906.           on the configuration of your modem. The default Hayes setting is
  907.           two seconds but this setting may have been altered on your modem.
  908.           The length of the pause can be altered with a Hayes command.
  909.  
  910.           For the sake of clarity you can also include dashes (-) in the
  911.           number when you type it in. X-COM ignores the dashes when it
  912.           dials the number. If you make an error when typing in the number,
  913.           just use the <Backspace> key to delete unwanted digits. Or if you
  914.           want to start all over again, press the <F7> function key to
  915.           clear the Entry Box. You may also use the <Ins> (Insert) key to
  916.           toggle between Insert and Overwrite mode and use the <LEFT> and
  917.           <Right> arrow keys to move the cursor within the entry to make
  918.           corrections in the middle of a number. Once you are satisfied
  919.           that the number you have entered is correct, press <Enter>. The
  920.           number you have entered will be dialed. To find out what to do
  921.           then look at the next section on sending and receiving Files.
  922.  
  923.      Sending a File
  924.  
  925.           We are now going to assume you wish to send a file entitled
  926.           LETTER1.DAT which is a letter you have written with your text
  927.  
  928.  
  929.  
  930.  
  931.                                      12-15
  932.  
  933.  
  934.  
  935.  
  936.  
  937.           editor. For the purpose of this example it would be useful if you
  938.           wrote a short data file with the X-DOS text editor and call it
  939.           LETTER1.DAT. Refer to Chapter 9 in this manual for details on how
  940.           to use ED.
  941.           Having written a file, you now wish to send this file LETTER1.DAT
  942.           to your friend who also has a PC installed with a modem. After
  943.           having made a connection, you can send the file.
  944.  
  945.           To send a file, first press the <F10> function key to call up the
  946.           X-COM Menu. It doesn't matter whether you are connected to
  947.           another modem or not, you can always use the <F10> function key
  948.           to call up the X-COM Menu. Calling up the menu will not cause you
  949.           to be disconnected or affect the connection in any way. Also,
  950.           remember that you can use the <Alt> keys to enter commands
  951.           directly rather than calling up the X-COM Menu every time.
  952.  
  953.           Choosing a Send File Protocol
  954.           Having called up the X-COM Menu, select the the third item, Send
  955.           File. The entries in the Send File Protocols menu may not be
  956.           familiar to you at this stage. Basically, the Send File Protocols
  957.           menu contains a list of transmission protocols, any of which you
  958.           can choose. A transmission protocol is the way in which data is
  959.           sent. Data can be sent in one long stream, it can be sent in
  960.           blocks of a certain number of bytes at a time, it can be sent and
  961.           echoed back to your screen so you can see the data as it is being
  962.           transmitted etc. etc.
  963.  
  964.           Each of the transmission protocols listed in the Send File
  965.           Protocols menu sends data in a certain way. Whichever protocol
  966.           you use, the end result will be the same, i.e. in our present
  967.           example, the file LETTER1.DAT will be sent to your friend's
  968.           computer. Using a different protocol simply means that the data
  969.           is transmitted in a different way. So how do you know which one
  970.           to select? A look at the features and advantages and
  971.           disadvantages of each protocol are given later in this chapter.
  972.           We suggest you skip that for now and accept our word for the
  973.           moment that XMODEM would be a good choice.
  974.  
  975.           Select the third item in the File Sending Menu, which is XMODEM.
  976.           You are told to Enter File Name to Send. In our present example
  977.           we wish to send the file LETTER1.DAT, so type in this name. Then
  978.           press <Enter>. Your friend will now have to access the Receive
  979.           File menu on his computer and select XMODEM as the receiving
  980.           protocol.
  981.  
  982.           This window is entitled XMODEM Transfer Status. It gives you
  983.           details of the transmission currently in progress which in our
  984.           example is the sending of the file LETTER1.DAT. Each item
  985.           displayed in the XMODEM Transfer Status window is detailed below,
  986.           going from top to bottom.
  987.  
  988.           Transmission Mode
  989.  
  990.  
  991.  
  992.  
  993.                                      12-16
  994.  
  995.  
  996.  
  997.  
  998.  
  999.           Next to this entry Transmit will be displayed, since you are now
  1000.           transmitting a file not receiving one. When you are receiving,
  1001.           Receive will be displayed.
  1002.  
  1003.           File Name
  1004.           Next to this entry is the name of the file you are presently
  1005.           transmitting, which in this case is LETTER1.DAT.
  1006.  
  1007.           Packet number
  1008.           When XMODEM transmits data, it does so in "packets" of 128 bytes.
  1009.           That means it divides the data to be sent into packets of data of
  1010.           128 bytes and sends each packet until all the data has been
  1011.           transmitted. The packet number tells you which packet is
  1012.           presently being transmitted. When you first activate the XMODEM
  1013.           transfer function, this will read "1", since the first packet is
  1014.           ready to be sent. If you are sending a long file, the number
  1015.           shown next to Packet Number will count through 1, 2, 3, 4, .....
  1016.           until all the packets have been transmitted. The number of
  1017.           packets sent will depend on the total length of the file being
  1018.           sent. For example, if you send a file 5,120 bytes long, this will
  1019.           consist of 40 packets (5,120 divided by 128 = number of packets).
  1020.           Some other communication packages and BBS systems refer to a
  1021.           packet as a block.
  1022.  
  1023.           There is of course no need for you to make any calculation, as
  1024.           XMODEM will do this for you.
  1025.  
  1026.           Number of Errors
  1027.           Hopefully this item is blank. Errors refer to errors in the
  1028.           transmission of data. Errors may occur because of a fault in the
  1029.           telephone line or modem, or a fault in the file being sent.
  1030.           However, if an error occurs, this does not necessarily mean that
  1031.           your transmission has failed.
  1032.  
  1033.           If XMODEM sends a packet and an error occurs, it will notify you
  1034.           that one error has occured and it will automatically go back to
  1035.           the beginning of the packet and try to transmit it again. If the
  1036.           error was due to some temporary interference on the telephone
  1037.           line, chances are that the second attempt at transmission will be
  1038.           successful and XMODEM can then continue to the next packet. If
  1039.           the error is repeated, XMODEM will keep trying. Each time an
  1040.           error occurs, it will add one to the number of errors recorded.
  1041.           If you see that the number of errors is increasing and that the
  1042.           packet number being sent is not changing, then you will know that
  1043.           there is a fault in the system or the file, or the line is just
  1044.           too noisy to transmit data on at your current speed, and you
  1045.           should abort the transmision by pressing the <Esc> key. XMODEM
  1046.           will automatically abort the file transfer if it encounters ten
  1047.           consecutive errors.
  1048.  
  1049.           Type of XMODEM
  1050.           Either Checksum or CRC will be displayed next to this item.
  1051.  
  1052.  
  1053.  
  1054.  
  1055.                                      12-17
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.           Checksum and CRC are two methods of error correction. X-COM
  1062.           supports both methods and the correct method will automatically
  1063.           be selected according to the method used by the remote modem.
  1064.  
  1065.           Transmission Mode
  1066.           The message Wait Initialization is shown next to this item at
  1067.           first. That means that your modem is being initialized prior to
  1068.           the transmission taking place. While you are sending a file the
  1069.           message Transmission running should appear. If you were to abort
  1070.           the transmission of the file by pressing the <Esc> key, the
  1071.           message User Cancel will be shown. This item tells you the
  1072.           present status of the transmission.
  1073.  
  1074.           At the bottom of the window is the message Press any key to
  1075.           return to menu. So if you suddenly realize that you are sending
  1076.           the wrong file, or you for some reason want to abort the
  1077.           transmission, you can press the <Esc> key, and the transmission
  1078.           will be terminated.
  1079.  
  1080.           We are presently sending the file LETTER1.DAT. If transmission
  1081.           goes ahead without any problems, when all the data has been
  1082.           transmitted, the message at the bottom of the screen will change
  1083.           to Press any key to return to menu.
  1084.  
  1085.           To disconnect the line after a successful transmission of a file,
  1086.           use the Disconnect function in the X-COM Menu or use the <Alt> D
  1087.           command.
  1088.  
  1089.           Following is a brief introduction to the windows for each of the
  1090.           other transmission protocols. We suggest you go back to the X-COM
  1091.           Menu, select Send File, and then highlight each protocol in turn,
  1092.           to call up the relevant window. Note that in order to view some
  1093.           of the transmission protocol screens, you will have to enter a
  1094.           file name. It does not matter what file name you enter but it
  1095.           must be a real file, or the error message File Unknown will
  1096.           appear on your screen. We suggest that, for the purpose of
  1097.           experiment, you use the LETTER1.DAT file, or any other text file
  1098.           you have stored in your computer. Note that you do not have to be
  1099.           connected to another computer to view the protocol screens.
  1100.  
  1101.           ASCII
  1102.           Note that when you call up the ASCII Transfer Status window, even
  1103.           though you are not connected to a remote computer and even though
  1104.           you may not have connected your modem, the number of bytes shown
  1105.           will count up in units of 256. How can the file be sent when you
  1106.           have not even dialed a number? Well of course the file is not
  1107.           being sent anywhere, but the ASCII transmission portocol still
  1108.           counts through the file just as if it was sending it. This will
  1109.           in no way harm the file or your computer.
  1110.  
  1111.           ASCII ECHO
  1112.           The ASCII ECHO protocol works in exactly the same way as ASCII,
  1113.  
  1114.  
  1115.  
  1116.  
  1117.                                      12-18
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.           except that ASCII ECHO echoes everything it transmits to your
  1124.           screen too. Thus, when you use ASCII ECHO, no ASCII Transfer
  1125.           Status window will appear on your screen. Instead the text of the
  1126.           file you are transmitting will be written onto your screen. Only
  1127.           when the transmission is completed will the ASCII Transfer Status
  1128.           Window appear. It is exactly the same as for ASCII, and will show
  1129.           you the total number of bytes transmitted and the entry Transfer
  1130.           Status should read Transmission ended OK.
  1131.  
  1132.           YMODEM
  1133.           EXPLANATION OF YMODEM TRANSFER STATUS WINDOW
  1134.                YMODEM Mode              There are different versions of the
  1135.                                         YMODEM protocol. This entry tells
  1136.                                         you which version is
  1137.                                         currently being used.
  1138.  
  1139.                Transmission Mode        Same as XMODEM
  1140.  
  1141.                File Name                Same as XMODEM
  1142.  
  1143.                File Size (Bytes)        YMODEM counts the total number of
  1144.                                         bytes in a file before transmitting
  1145.                                         the file. This entry tells you the
  1146.                                         total number of bytes in the file
  1147.                                         you wish to transmit.
  1148.  
  1149.                File Number              Only applicable in YMODEM Batch
  1150.                                         (see below).
  1151.  
  1152.                Packet Number            Same as XMODEM
  1153.  
  1154.                Number of Errors         Same as XMODEM
  1155.  
  1156.                Current Status           Same as XMODEM
  1157.  
  1158.           YMODEM BATCH
  1159.           The file transfer protocol window for YMODEM Batch is the same as
  1160.           for YMODEM, as the basic transmission specifications are exactly
  1161.           the same. YMODEM Batch, however, is capable of multiple file
  1162.           transfers. This means that, when you enter the name of the file
  1163.           you wish to transmit, you can use wildcard characters such as '?'
  1164.           and '*'. If you entered *.TXT as the name of file to transmit,
  1165.           YMODEM Batch will send ALL files in the current directory with
  1166.           the extension .TXT. YMODEM Batch can also send packets of either
  1167.           128 bytes or 1024 bytes long.
  1168.  
  1169.                YMODEM Mode              This will read YMODEM Batch, to
  1170.                                         tell you that you are using this
  1171.                                         mode of YMODEM.
  1172.  
  1173.                Transmission Mode        Same as XMODEM
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.                                      12-19
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.                File Name                Same as XMODEM
  1186.  
  1187.                File Size (bytes)        Same as YMODEM above.
  1188.  
  1189.                File Number              YMODEM Batch is capable of multiple
  1190.                                         file transfers and this item tells
  1191.                                         you the number of the file
  1192.                                         presently being transmitted.
  1193.  
  1194.                Packet number            Same as XMODEM
  1195.  
  1196.                Number of Errors Same as XMODEM
  1197.  
  1198.                Current Status           Same as XMODEM
  1199.  
  1200.           KERMIT
  1201.           EXPLANATION OF KERMIT TRANSFER STATUS WINDOW
  1202.  
  1203.                Transmission Mode        Same as XMODEM
  1204.  
  1205.                File Name                Same as XMODEM
  1206.  
  1207.                File Size (bytes)        KERMIT counts the number of bytes
  1208.                                         in a file that is to be sent.
  1209.  
  1210.                File Type                Not yet implemented
  1211.  
  1212.                File Number              Not yet implemented
  1213.  
  1214.                Compression              Not yet implemented
  1215.  
  1216.                Elapsed Transfer Time    Shows the time elapsed since the
  1217.                                         start of the current file transfer.
  1218.  
  1219.                Packet Number            Same as XMODEM
  1220.  
  1221.                Bytes Transferred        Shows the number of bytes that have
  1222.                                         already been sent.
  1223.  
  1224.                Current Status           Same as XMODEM
  1225.  
  1226.           COMPUSERVE B
  1227.           Compuserve is the name of a popular Bulletin Board System in the
  1228.           United States. The Compuserve B file transfer protocol can only
  1229.           be used to call up the Compuserve BBS, so you will only use it if
  1230.           you subscribe to the this BBS.
  1231.  
  1232.           EXPLANATION OF COMPUSERVE B TRANSFER STATUS WINDOW
  1233.  
  1234.                Transmission Mode        Same as XMODEM
  1235.  
  1236.                File Name                Same as XMODEM
  1237.  
  1238.  
  1239.  
  1240.  
  1241.                                      12-20
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.                Packet Number            Same as XMODEM
  1249.  
  1250.                Number of Errors         Same as XMODEM
  1251.  
  1252.                Current status           Same as XMODEM
  1253.  
  1254.      Receiving a File
  1255.  
  1256.           Having sent your file LETTER.DAT to your friend, you now wish
  1257.           your friend to send you a file that is stored in his computer.
  1258.           Let us suppose there is a file called README on your friend's
  1259.           computer and you wish to be able to receive this file on your own
  1260.           computer. To receive a file on your computer, you must tell X-COM
  1261.           what file transfer protocol is going to be used to carry out the
  1262.           transmission. Also, the protocol you select to receive on must be
  1263.           the same as the protocol used by your friend to send the file.
  1264.           The process is almost exactly the same as for sending a file. You
  1265.           must first call up your friend with the X-COM Phonebook or Number
  1266.           to Dial item. Or, if you want him to pay for the call, let him
  1267.           call you. When you are connected, as shown by the Communication
  1268.           Established result code on your screen, call up the X-COM Menu
  1269.           and select the Receive File item.
  1270.  
  1271.           You will notice that the Receive File Protocols menu is almost
  1272.           exactly the same as the Send File Protocols menu, except that the
  1273.           first entry reads ASCII Receive instead of just ASCII. Let us
  1274.           suppose you have agreed with your friend to use the ASCII
  1275.           protocol to carry out the file transfer. The highlight bar is
  1276.           already over the ASCII Receive function when the Receive File
  1277.           Protocol menu first appears, so just press <Enter> to select this
  1278.           item.
  1279.  
  1280.           You will be asked to Enter the file name to receive. In our
  1281.           example you want to receive the file README, so type this into
  1282.           the space provided. It makes no difference whether you use upper-
  1283.           or lower-case letters when typing in file names. The file name
  1284.           you type is the name under which the file will be saved on your
  1285.           computer and you can choose any legal file name. The file name
  1286.           does not necessarily have to be the same as the name of the file
  1287.           on the remote computer. Having typed in the file name, press
  1288.           <Enter> and the ASCII Transfer Status window will appear on your
  1289.           screen.
  1290.  
  1291.           What happens then? Nothing, until your friend sends the file.
  1292.           Remember, the receive file function only prepares your computer
  1293.           to receive a file. The actual transmission of the file must be
  1294.           initiated by the remote user, who must use the send file
  1295.           procedure. That is why you can select a different filename. When
  1296.           your friend sends you the README file, if you entered a different
  1297.           file name, for example MESSAGE, then you will receive the README
  1298.           file but it will be saved on your computer under the name
  1299.  
  1300.  
  1301.  
  1302.  
  1303.                                      12-21
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.           MESSAGE. You cannot use the Receive File function to select any
  1310.           file on a remote computer and download it to your computer,
  1311.           unless the remote computer is configured in the host mode.
  1312.  
  1313.           It is not necessary for us to explain the individual transmission
  1314.           protocol screens for receiving a file since they are similar to
  1315.           those for sending a file. Equally, the choice of protocols for
  1316.           receiving a file will be based on the same factors as the choice
  1317.           of protocol for sending a file. If you are in doubt as to what
  1318.           protocol to use, a safe choice would be XMODEM which is probably
  1319.           the most commonly used protocol for sending and receiving files
  1320.           with Personal Computers. When you have received a file from
  1321.           another computer, how do you know your computer has received it?
  1322.           Where will it be stored on your disk? To find the answer to these
  1323.           questions, please take a look at the next section, File
  1324.           Functions.
  1325.  
  1326.      File Functions
  1327.  
  1328.           When you are sending and receiving files, you will probably be
  1329.           using files in different sub-directories. X-COM allows you to
  1330.           look for files in different sub-directories and even to carry out
  1331.           a multi-directory file search.
  1332.  
  1333.           Please note, however, that the file functions provided by X-COM
  1334.           can only be used on the drive from which X-COM was loaded. That
  1335.           means that, if you load X-COM from your C: fixed disk drive, you
  1336.           may only view and change to directories on the C: drive. You
  1337.           cannot access files on the A: or B: drive.
  1338.  
  1339.           To access the file functions, call up the X-COM Menu and
  1340.           highlight the File Functions item.
  1341.  
  1342.           Current Directory
  1343.           Current Directory, the first item in the menu, will be
  1344.           highlighted. Press <Enter> to see what this function does. A
  1345.           window called Directory will appear. In this window, a list of
  1346.           all the files in the current directory is displayed. The list may
  1347.           not fill the window completely, or there may be too many files to
  1348.           be displayed in the window at one time.
  1349.  
  1350.           You can use the <UP> and <DOWN> arrow keys to move the highlight
  1351.           bar down the list (or of course you can use your mouse). When you
  1352.           reach the bottom of the window keep pressing the <DOWN> arrow
  1353.           key. Any files not displayed will come into the window one by
  1354.           one. When you have reached the bottom of the list, your computer
  1355.           will "beep" if you continue to press the <DOWN> arrow key. You
  1356.           may then use the <UP> key to scroll back up through the list of
  1357.           files and, again, when you reach the top your computer will
  1358.           "beep". Thus, this function allows you to view a list of all the
  1359.           files contained in the present directory. To quit the Directory
  1360.           list and return to the Files/Dir Functions menu, press <Esc>.
  1361.  
  1362.  
  1363.  
  1364.  
  1365.                                      12-22
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.           Change Directory
  1373.           The next function allows you change to another directory from
  1374.           that which you are presently in. Remember that you cannot change
  1375.           to another drive but only to another directory. Highlight this
  1376.           function and press <Enter>. You are asked to enter the name of
  1377.           the directory you wish to change to. Suppose you loaded X-COM
  1378.           from a sub-directory named COMM and you now want to view files in
  1379.           the subdirectory DATAFILE, which is a subdirectory of COMM. In
  1380.           this case enter DATAFILE and press <Enter>. Note that it is not
  1381.           necessary to write the letter of the drive, since the action will
  1382.           automatically be carried out on the drive, from which X-COM was
  1383.           loaded. Thus, if you loaded X-COM from a floppy disk in the A:
  1384.           drive, then X-COM will look for the sub-directory DATAFILE on the
  1385.           A: drive; if you loaded X-COM from your fixed disk drive, C:,
  1386.           then X-COM will look for the sub-directory on the C: drive.
  1387.  
  1388.           When you change directories, it is also possible to go to the
  1389.           sub-directory of a sub-directory. When you are asked to enter a
  1390.           new directory, you could enter a command such as
  1391.           \BUSINESS\LETTERS, which would change the default directory to
  1392.           the LETTERS sub-directory of the BUSINESS sub-directory.
  1393.  
  1394.           Find File
  1395.           Sometimes you may forget in which sub-directory a file is stored,
  1396.           and indeed whether the file is stored on your disk drive at all.
  1397.           In this case the Find File function provided by X-COM can be
  1398.           extremely useful. Suppose you want to send a file called
  1399.           LETTER1.DAT using X-COM, but you have forgotten in which sub-
  1400.           directory this file is stored and you are not really sure if you
  1401.           called it LETTER1.DAT or LETTER.DAT. Select the Find File item in
  1402.           the Files/Dir Functions menu. You are asked to enter a file name
  1403.           so type in *.DAT and press <Enter>. A window will appear saying
  1404.           Please wait. Searching file(s). X-COM will now find all files
  1405.           matching the filespec *.DAT. How long you have to wait will
  1406.           depend on the capacity of your disk drive, but it should be no
  1407.           more than a few seconds.
  1408.  
  1409.           When completed the display will list all files matching the
  1410.           filespec you entered. Also, you will be able to see that the file
  1411.           should be LETTER1.DAT if no file called LETTER.DAT is found.
  1412.  
  1413.           Again please note that the file search is only carried out on the
  1414.           drive from which X-COM was loaded.
  1415.  
  1416.           View/Edit File
  1417.           This item can be selected when you wish to edit an existing text
  1418.           file with the text editor included with X-DOS. You may also
  1419.           create new text files with the X-DOS text editor. To call up the
  1420.           X-DOS text editor, select the View/edit file item in the
  1421.           Files/Dir Functions menu. Full details of how to use the text
  1422.           editor look at the chapter on ED in the X-DOS manual.
  1423.  
  1424.  
  1425.  
  1426.  
  1427.                                      12-23
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.           Capture
  1435.           The Capture function allows you to "capture" everything displayed
  1436.           on your Terminal Screen and store it on your disk drive under any
  1437.           file name you may choose for it. You can also capture files
  1438.           directly to your printer. Suppose you have called up a database
  1439.           and you want to see a directory of files currently stored in that
  1440.           database. Not only do you want to see the directory of files on
  1441.           your screen but you also want to be able to store that directory
  1442.           for reference in the future. In this case you would use the
  1443.           Capture function to ensure that the information sent to your
  1444.           computer by the database is stored on your disk drive.
  1445.  
  1446.           When you decide you want to store the incoming information, call
  1447.           up the X-COM Menu and select the Capture menu.
  1448.  
  1449.           You have two options, Begin Capture and End Capture. Of course,
  1450.           you must first select Begin Capture. Select this item and you
  1451.           will be asked for a Capture File Name. This file name will be the
  1452.           file name under which the captured data will be stored on your
  1453.           disk drive. Enter any file name of eight letters with a three
  1454.           letter extension if desired, and press <Enter>.
  1455.  
  1456.           Notice that the entry to the right of the box marked CD (or NCD)
  1457.           on the Status Line at the bottom of your screen, now shows CA
  1458.           (Capture), to indicate that a Capture is in progress. When all
  1459.           the data you wish to capture has been sent to your computer, call
  1460.           up the Capture function again and select the End Capture option
  1461.           to finish the operation. The CA in the Status Line will go back
  1462.           to blank. You can now use the X-COM File Function to check that
  1463.           the file you just captured was saved to your disk drive under the
  1464.           filename you gave it. You can then use the editor to view the
  1465.           contents of the captured file at any time.
  1466.  
  1467.           Capturing to your Printer
  1468.           If you want captured data to be sent directly to your printer
  1469.           instead of stored on your disk drive, the operation for capturing
  1470.           the file is the same. Select the Begin Capture function in the
  1471.           Capture menu. Then, when you are asked to enter the Capture file
  1472.           name, type:
  1473.  
  1474.           PRN <Enter>
  1475.           The captured data will be sent directly to your printer. When you
  1476.           wish to end the Capture function, select the End Capture option
  1477.           in the Capture menu, just as with capturing a file to disk.
  1478.  
  1479.           Gateway to DOS
  1480.           This function allows you to jump between X-COM and DOS without
  1481.           actually leaving X-COM. You will often find, when you are using
  1482.           any program, that you will need to use some of the utilities
  1483.           provided by DOS. It would be very inconvenient if you had to quit
  1484.           X-COM to access the DOS functions, and then reload X-COM.
  1485.  
  1486.  
  1487.  
  1488.  
  1489.                                      12-24
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.           The Gateway to DOS function allows you to jump to DOS, do
  1497.           whatever you want to do, and then jump straight back to X-COM,
  1498.           even when you are online with a remote system. To use this
  1499.           function, select the Gateway to DOS item in the X-COM Menu. The
  1500.           X-COM screen will be cleared, and you will be returned to DOS.
  1501.           Once in DOS you can perform any DOS function such as making a
  1502.           directory, checking what files you have on any of your disk
  1503.           drives, etc etc. You can even run another application program if
  1504.           you have enough memory.
  1505.  
  1506.           When you want to return to X-COM type EXIT <Enter> at the the DOS
  1507.           prompt and you will be returned to the Terminal Screen of X-COM,
  1508.           just as if you had never left it.
  1509.  
  1510.      An Introduction to Macro Files
  1511.  
  1512.           A Macro File is a file which "remembers" a given sequence of
  1513.           actions and can repeat them automatically. If that sounds
  1514.           complicated, let's start with an example to give you a clearer
  1515.           picture.
  1516.           Suppose you have a Set in your Phonebook called NEWSBBS, which
  1517.           you want to use to call a BBS (Bulletin Board System) by that
  1518.           name. Suppose you have named the Macro file for the NEWSBBS Set
  1519.           NEWSMAC. Now, you want to use this NEWSBBS Set to call the
  1520.           NewsBBS BBS for the first time.
  1521.  
  1522.           So you call up the NEWSBBS Set in the Phonebook, and press
  1523.           <Enter> to cause it to dial. When you log on to the NewsBBS BBS,
  1524.           you are first asked for your first name, so you type this in.
  1525.           Then, NewsBBS wants to know your last name, so you type this in.
  1526.           Finally, NewsBBS wants you to specify a password, and you type
  1527.           this in. You then perform some other operations which we will
  1528.           ignore for now. You then hang-up and quit NewsBBS.
  1529.  
  1530.           Half an hour later you decide you want to call NewsBBS again, so
  1531.           you select the NEWSBBS Set and dial the number. This time, when
  1532.           NewsBBS asks for your first name, family name and password, you
  1533.           can sit back and have a cup of coffee. The Macro file has
  1534.           remembered what you typed in the first time, and will now
  1535.           automatically type it in for you without you having to lift a
  1536.           finger.
  1537.  
  1538.           That is what Macro files do. They remember something when you do
  1539.           it the first time around and, when activated, will repeat your
  1540.           key-strokes EXACTLY as you executed them, including the delay
  1541.           between each key-stroke. Macro files are especially useful when
  1542.           you call BBS systems that ask you for your name, password, zip
  1543.           code, driver's license number, etc. every time you call up. With
  1544.           Macro files, when you have entered this information one time, you
  1545.           will never have to type it in again. The macro file will take
  1546.           over and do it for you every time you call up that particular
  1547.  
  1548.  
  1549.  
  1550.  
  1551.                                      12-25
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.           Set.
  1558.  
  1559.           Macro files are saved on your diskette or fixed diskette with the
  1560.           file extension MAC. This extension is automatically given to
  1561.           macro files by X-COM and you do not have to enter it, even when
  1562.           you are calling up a previously saved Macro file. You cannot edit
  1563.           macro files directly, they must be saved as detailed below.
  1564.  
  1565.           Entering a Macro File in the Phonebook
  1566.           Having explained what macro files are, let's start from the
  1567.           beginning again and teach you how to use them. You are in the
  1568.           Edit Phonebook menu and have finished entering all the Settings
  1569.           for a Set which you have called BBS1. You now come to the last
  1570.           entry, Macro File. What do you do? With the entry Macro File
  1571.           highlighted, press <Enter>.
  1572.  
  1573.           Why is the name BBS1 already in the Name of Macro window when you
  1574.           have not entered anything yet? When you first call up the Macro
  1575.           File option, the function will assume you want the name of the
  1576.           Macro file to be the same as the name of the Set you are editing.
  1577.           This is a reasonable assumption since, by calling it the same
  1578.           name, you will know to which Set the Macro file refers. If you
  1579.           wish to keep the Macro file with the same name as the Set, press
  1580.           <Enter>. Of course, you may want to give your Macro file a
  1581.           different name, so you should use the <F7> function key to clear
  1582.           the default and then type in the name of your choice, followed by
  1583.           <Enter>. The name of the Macro file will appear in the Current
  1584.           Phonebook Set window.
  1585.  
  1586.           Once a name is given to a Macro file in the Phonebook, the Macro
  1587.           file will automatically record all your key-strokes when you
  1588.           first use that Phonebook Set. The message MAC will appear in the
  1589.           Status Line, indicating that a Macro file is recording.
  1590.  
  1591.           You must end the Macro file or it will continue recording your
  1592.           key-strokes, even if you have disconnected from the number you
  1593.           are dialing. To see how to do this, read the section below.
  1594.  
  1595.           Defining the Length of a Macro File
  1596.           When you call a BBS, certain operations, such as entering your
  1597.           name and password, have to be done every time you call that BBS.
  1598.           These are the operations that you will want included in the Macro
  1599.           file. But having entered your name and password, you might then
  1600.           want to select different options in the BBS. You might want to
  1601.           retrieve a file, you might want to transmit a file, or you might
  1602.           want to take a look in the mailbox to see if there are any
  1603.           messages for you. Of course the Macro file cannot read your mind,
  1604.           so it has no way of knowing which of the above actions you want
  1605.           to perform, once you have entered the preliminary information.
  1606.  
  1607.           So, what you want to do is to tell your Macro file to auto-
  1608.           matically enter your name and password and probably stop there.
  1609.  
  1610.  
  1611.  
  1612.  
  1613.                                      12-26
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.           The commands entered after that will be different each time,
  1620.           depending on what you want to do, unless you check your mailbox
  1621.           everytime you logon. In this case you would want to include this
  1622.           operation in your Macro file.
  1623.           Taking the example of calling up the BBS1 Set we used above, you
  1624.           want to call the BBS1 Bulletin Board System for the first time
  1625.           and we will assume that the BBS called by the BBS1 Set always
  1626.           asks for your name and a password when you log on. Then the BBS
  1627.           shows you a variety of options to choose from. You want your
  1628.           Macro file to enter your name and password and then let you take
  1629.           over manually.
  1630.  
  1631.           First, call up the BBS1 entry in the Phonebook and press <Enter>
  1632.           to dial the number. When you log on, the BBS asks for your first
  1633.           name, so type it in (remember this is the first time you are
  1634.           calling this number, so the Macro file is recording everything
  1635.           you type). There is a pause of about five seconds while the BBS
  1636.           records your name. You are then asked for the password and you
  1637.           type it in. That is all you want recorded in the Macro file, so
  1638.           how do you stop recording your entries? Easy enough. Press the
  1639.           <F10> function key to call up the X-COM Menu onto your screen and
  1640.           select the Macros item, or if you are becoming familiar with the
  1641.           <Alt> keys in X-COM, you could use the <Alt> M command.
  1642.  
  1643.           Select the item End Macro and press <Enter>. That is it! You have
  1644.           told the Macro file to finish recording after you have typed in
  1645.           your name and password, so any further key-strokes you make will
  1646.           not be recorded in the Macro file. Press <Esc> to remove the X-
  1647.           COM Menu from the screen and you may then go ahead and do
  1648.           whatever you want to do in the BBS1 database.
  1649.  
  1650.           The next time you call BBS1, the Macro file will automatically
  1651.           enter your name and password and you can then take over and
  1652.           choose any of the options available. In our example above we
  1653.           mentioned that, when you call BBS1, there is a five second pause
  1654.           between entering your password and your name. Won't the Macro
  1655.           file type in information too quickly? Don't worry! Macro files
  1656.           not only remember the keys you type, they are also good
  1657.           timekeepers. Macro files actually remember the amount of time
  1658.           between key-strokes and will EXACTLY duplicate all entries
  1659.           including the time it takes to make them. If, when you entered
  1660.           your name, you made a typing error and used the <Backspace> key
  1661.           to delete a character, the Macro file will also repeat this
  1662.           operation. ANYTHING and EVERYTHING you type on the keyboard will
  1663.           be EXACTLY duplicated.
  1664.  
  1665.           Changing and Deleting Macro Files
  1666.           Suppose you have recorded a Macro file in a Phonebook Set and you
  1667.           then want to change it. Actually, you cannot change it. You will
  1668.           have to delete it and record the Macro file again. So remember -
  1669.           you cannot edit a Macro file. Once you have saved it, you will
  1670.           have to either stick with it or get rid of it and record a new
  1671.  
  1672.  
  1673.  
  1674.  
  1675.                                      12-27
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.           one. To delete a Macro file, you work directly from the Macros
  1682.           entry in the X-COM Menu.
  1683.  
  1684.           Let us use our BBS1 example above. If you remember, the BBS you
  1685.           call with the BBS1 Set in your Phonebook requires that you enter
  1686.           your name and password. For some reason your password has
  1687.           changed, so of course you cannot use the old Macro file. To
  1688.           delete the old Macro file, you must know the filename. If you
  1689.           cannot remember the Macro filename, just go to the BBS1 Set in
  1690.           the Phonebook, and it will be displayed. In our example the name
  1691.           of the BBS1 Set Macro file is BBS1. Call up the X-COM Menu with
  1692.           the <F10> function key and select the Macros item. The Macros
  1693.           menu will appear on your screen
  1694.  
  1695.           Highlight the item Delete Macro and press <Enter>. In the window
  1696.           that appears, type in the name of the Macro file that you wish to
  1697.           delete, in our example, BBS1. Then press <Enter> and the Macro
  1698.           file will be deleted.
  1699.  
  1700.           Please note, however, that when you delete a Macro file, the
  1701.           entry in the phonebook Set is NOT deleted. Thus, if you delete
  1702.           the BBS1 Macro file and then go to the Phonebook and call up the
  1703.           BBS1 Set, you will see that there is still an entry entitled BBS1
  1704.           next to the Macro File entry. That means, that if you now want to
  1705.           save a new Macro file with the same name for the BBS1 Set in your
  1706.           Phonebook, you do not need to do anything except dial the BBS1
  1707.           number with the Phonebook. When you are connected, you will then
  1708.           enter your name and the new password and this will be recorded in
  1709.           the new Macro file. When everything you want recorded in the
  1710.           Macro file has been recorded, you then call up the Macros item
  1711.           from the X-COM Menu and select End Macro.
  1712.  
  1713.           Aborting a Macro File
  1714.           If you have called up a number with an attached Macro file from
  1715.           the Phonebook and you wish to cancel the automatic entry of data
  1716.           by the Macro file, this is easily done. Simply press any key on
  1717.           your keyboard and the Macro file will be aborted, allowing you to
  1718.           enter data manually from the keyboard.
  1719.  
  1720.           For example, suppose there is a BBS you often call and always
  1721.           enter your name, password and the command "S" to enter the Send
  1722.           File menu. Normally when you call this number, the Macro file
  1723.           will automatically enter your name, password, and then enter the
  1724.           letter "S" to enter the Send File menu. But this time you want to
  1725.           go to the Receive File menu, not the Send File menu. So, just
  1726.           call the number as usual from the Phonebook, let the Macro file
  1727.           enter your name, and password and then press any key on your
  1728.           keyboard. The Macro will be discontinued and REP will disappear
  1729.           from the Status Line. You can then manually enter the "R" command
  1730.           to go to the Receive File menu, overriding the Macro file which
  1731.           is programmed to select the Send File menu. This is why you
  1732.           should allow a small amount of time to elapse between entries you
  1733.  
  1734.  
  1735.  
  1736.  
  1737.                                      12-28
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.           make while recording a Macro, allowing you time to abort the
  1744.           Macro, if you should wish to.
  1745.  
  1746.           Disabling a Macro File
  1747.           Does every Set in my Phonebook have to have a Macro file? No,
  1748.           they do not. If you have a Set in your Phonebook to call your
  1749.           friend in the chat mode, to exchange messages and talk about the
  1750.           weather, obviously you do not need a Macro file since what you
  1751.           are going to enter will be different every time. In this case
  1752.           just leave a blank next to the Macro File entry. If there is no
  1753.           filename in the Macro File entry, there is no Macro file that can
  1754.           be called, so all operations will be manual. Any more questions?
  1755.  
  1756.           Yes. If I have entered a Macro file name, can I temporarily
  1757.           disable it without deleting the Macro file, and then maybe enable
  1758.           it again in the future? Yes, you can. To disable a Macro file,
  1759.           select the Macro File entry in the Phonebook. The Macro File Name
  1760.           window will appear with the name of the Macro file in it. Use the
  1761.           <F7> function key to clear the filename in the window and press
  1762.           <Enter>. The entry next to the Macro File in the Phonebook window
  1763.           will be blank, which means that the Macro file is disabled and
  1764.           will not go into operation when you dial the number. Note, that
  1765.           only the entry, not the file, has been deleted. So if, in the
  1766.           future, you want to re-enable the Macro file, just type in the
  1767.           same name of the Macro file in the Phonebook and it will be re-
  1768.           enabled. Remember, if there is no entry next to the Macro File
  1769.           entry in the Current Phonebook Set window, no macro file will be
  1770.           activated.
  1771.  
  1772.           Advanced Macro Usage
  1773.           With a little imagination, Macro files can be used to automate
  1774.           key-stroke operations in a very flexible way. They can also be
  1775.           used to memorize a string of entries which can then be replayed
  1776.           to remind you, or help you learn a series of operations. They can
  1777.           also be used to memorize Hayes commands and even messages you
  1778.           want to write to yourself.
  1779.  
  1780.           As a basic illustration of this, press the <F10> function key and
  1781.           select the Macros item. We will assume you wish to call a
  1782.           Bulleting Board System called BBS1 and that when you are
  1783.           connected to  BBS1, you have to type in your name and password.
  1784.           This must be done every time you call up BBS1 to gain entry. Once
  1785.           you have done that, you have a choice of three operations. You
  1786.           can either send a file, receive a file, or look in the mailbox.
  1787.  
  1788.           To select the Send File operation you must enter the command "S".
  1789.           You then have to enter the name of the file you wish to send, and
  1790.           tell BBS1 what protocol you want to use to send the file. To
  1791.           choose the Receive function you must type "R", enter the
  1792.           filename, and then give the protocol. To select the Mailbox
  1793.           function, you must type the "M" command, enter your full name,
  1794.           and then enter "Y" (yes) or "N" (no) as to whether you want to
  1795.  
  1796.  
  1797.  
  1798.  
  1799.                                      12-29
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.           retrieve the mail to your system ( i.e. have the mail files
  1806.           transmitted to your computer). You are now going to learn how to
  1807.           use Macro files to automate individual operations as far as
  1808.           possible.
  1809.  
  1810.           For the sake of this example, we are going to assume that you
  1811.           have to transmit a file called REPORT.NEW to the DATABASE BBS
  1812.           every week and receive a file called JOBLIST.NEW, also every
  1813.           week. We also assume that you always want mail files sent to your
  1814.           system. To automate all these processes, you must first make four
  1815.           Macro files.
  1816.  
  1817.           The first Macro file you should make is the one to be stored in
  1818.           the Phonebook, to enter your name and password, since this must
  1819.           be done every time. You do this by following the instructions in
  1820.           the section entitled Defining The Length of a Macro File. Having
  1821.           done this, you know that every time you call BBS1 the Macro file
  1822.           will automatically enter your name and password.
  1823.  
  1824.           You then have three possibilities, send, receive or look in the
  1825.           mailbox. Thus, you should make three more Macro files, one to
  1826.           send, one to receive, and one to enter the mailbox function.
  1827.           Let's look at send first. In the send Macro file you want to be
  1828.           able to enter "S" to select that option, type in REPORT.NEW since
  1829.           that is the name of the file you have to send every time, and
  1830.           type XMODEM since that is the protocol you wish to use. So, once
  1831.           you are connected to the BBS1 and the Phonebook Macro file has
  1832.           entered your name and password, select the Macros menu, and in
  1833.           the Macros menu, select Begin Macro.
  1834.  
  1835.           Enter a suitable filename, such as SENDDATA, and press <Enter>.
  1836.           The menu will disappear from the screen, and you will be back
  1837.           with BBS1. Now, everything you type will be recorded in the
  1838.           SENDDATA Macro file. Type "S", to enter the send file function;
  1839.           type REPORT.NEW, since this is the name of the file you want to
  1840.           send every time and then type XMODEM, since this is the protocol
  1841.           you want to use every time. Select the Macros menu and select End
  1842.           Macro. You have now made a Macro file called SENDDATA which will
  1843.           automatically enter "S", REPORT.NEW and XMODEM.
  1844.  
  1845.           Do the same for receive: select Begin Macro, type in a filename
  1846.           (RECDATA, for example); then type in "R", JOBLIST.NEW, XMODEM and
  1847.           then highlight End Macro in the Macros menu.
  1848.  
  1849.           Repeat the operation for the mailbox: Begin Macro, filename
  1850.           (DATAMAIL for example), "M", JOHN DOE, "Y".
  1851.  
  1852.           Once you have recorded these three Macros in this way, it is easy
  1853.           to use them. Use your BBS1 Phonebook Set to call up BBS1. The
  1854.           Phonebook Macro will enter your name and password. Then, suppose
  1855.           you want to transmit a file, select the Macros menu. Highlight
  1856.           the entry Replay Macro and press <Enter>. You will be asked to
  1857.  
  1858.  
  1859.  
  1860.  
  1861.                                      12-30
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.           enter the name of the macro file you wish to replay.
  1868.  
  1869.           Enter the relevant Macro file name, in this case SENDDATA, and
  1870.           press <Enter>. The SENDDATA Macro file will run, automatically
  1871.           typing in "S", REPORT.NEW, and XMODEM. Remember that Macro files
  1872.           remember the timing between commands, so the commands will be
  1873.           entered exactly as you entered them when you recorded the Macro
  1874.           file. If you had wanted to receive a file, you would have
  1875.           replayed the RECDATA file, and to look at your mail, you would
  1876.           have replayed the DATAMAIL file.
  1877.  
  1878.           This simple example illustrates what can be done with Macro
  1879.           files. You can use them to record any sequence of characters you
  1880.           type in from the keyboard. And you can then replay that sequence
  1881.           at any time. Even if you have a macro file attached to a
  1882.           particular Phonebook Set, you can replay that macro file at any
  1883.           time with the replay item. you do not have to use that Phonebook
  1884.           Set to be able to use it.
  1885.  
  1886.           Using Macro Files with Hayes Commands
  1887.           If you are familiar with the use of Hayes commands, Macro files
  1888.           can also be very useful in recording Sets of commands which can
  1889.           be used to configure a modem in a certain way. First, select
  1890.           Begin Macro in the Macros menu, and enter a file name.
  1891.  
  1892.           Then, type the Hayes commands, which will appear on the Terminal
  1893.           Screen. For example:
  1894.  
  1895.           ATS0=3 <Enter>
  1896.           ATE0 <Enter>
  1897.           ATV0 <Enter>
  1898.           ATD 4123333 <Enter>
  1899.  
  1900.           Finally, select End Macro in the Macros menu. The Hayes commands
  1901.           will be stored in the Macro and any time you want to send these
  1902.           commands to your modem, call up the Macros menu, select Replay
  1903.           Macro, and enter the relevant file name.
  1904.  
  1905.           Using Macro Files as Tutorials
  1906.           If you want to record any sequence of key-strokes so you can
  1907.           replay them later as a reminder of the correct sequence or as a
  1908.           tutorial, you can make a Macro file to record the sequence of
  1909.           key-strokes. Then, when you want to review this sequence, just
  1910.           use the Replay Macro function to "play back" what you recorded in
  1911.           the Macro file. You can use this feature to help you remember
  1912.           what you did the first time around, or to record a complicated
  1913.           series of keyboard entries. Just start a Macro file, give it a
  1914.           name, key-in the text and/or commands, and end the Macro file.
  1915.           Then use the Replay function to review what you have recorded.
  1916.  
  1917.           Limitations of Macros
  1918.           When making Macro files, there are two main points to consider:
  1919.  
  1920.  
  1921.  
  1922.  
  1923.                                      12-31
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.           1. The maximum number of characters that can be recorded in any
  1930.              Macro file is 2,000.
  1931.           2. Macro files do not store menus or selections within menus.
  1932.              They can only store characters typed from your keyboard. Thus,
  1933.              you could not record the sequence of calling up the X-COM
  1934.              menu, selecting Edit Phonebook and then making entries in the
  1935.              Edit Phonebook menu.
  1936.  
  1937.      The Host Mode
  1938.  
  1939.           X-COM provides a Host Mode facility, allowing your computer to
  1940.           act as a host for another computer. When your computer is in the
  1941.           Host mode, a remote computer can connect with your computer
  1942.           either by modem or a direct connection, and perform certain DOS
  1943.           operations on your computer. The remote user can change directory
  1944.           (CD), look in the current directory (DIR) and type any text file
  1945.           (TYPE) stored on your computer. The Host mode also allows a
  1946.           remote user to Send (UPLOAD) and Receive (DOWNLOAD) files,
  1947.           without you having to be anywhere near your computer at the time.
  1948.  
  1949.           In fact, when in the Host mode, your computer behaves like a mini
  1950.           BBS and remote users can call your computer and have access to
  1951.           data. X-COM provides password protection to ensure that only
  1952.           users to whom you have given this password can connect to your
  1953.           computer, thus protecting your data from uninvited "visitors". If
  1954.           you use the Host mode with a direct connection, a password is
  1955.           probably not necessary, but we highly recommend that you specify
  1956.           a password when using the Host mode with a modem for your own
  1957.           security.
  1958.  
  1959.           Setting up the Host Mode
  1960.           There are certain things you have to do to set up Host mode
  1961.           correctly in X-COM. The best way to do this is to create a
  1962.           Phonebook set (which you could call HOST) with all the correct
  1963.           parameters. Then, whenever you want to set your computer in the
  1964.           Host mode, you can just go to the phonebook and select the HOST
  1965.           Set. The settings to use for the Phonebook Set named HOST are
  1966.           detailed in the section below, Making a Host Set in the
  1967.           Phonebook. There is one more thing you must do to let a remote
  1968.           computer connect to your system. After setting X-COM in the Host
  1969.           mode, call up the X-COM menu and highlight the Auto Answer item.
  1970.           This enables your modem to automatically answer an incoming call
  1971.           and activate the Host mode. It is not nescessary to set X-COM in
  1972.           the Auto Answer mode when using a direct connection.
  1973.  
  1974.           Creating a Host Phonebook Set
  1975.           Call up the Edit Phonebook menu from the X-COM Menu. Then, within
  1976.           the Edit Phonebook menu, carry out the following steps:
  1977.           1. Call up the the Modify/Add Set entry box and type in a name
  1978.              for your Host mode Set. We suggest you call it HOST.
  1979.           2. Go to the Emulation menu and select the HOST emulation.
  1980.           3. Go to the Speed menu and select the speed, at which you want
  1981.  
  1982.  
  1983.  
  1984.  
  1985.                                      12-32
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.              your Host mode to operate. With a modem connection, the speed
  1992.              you select will depend on the capabilities of both your modem
  1993.              and that of your expected callers. If you expect someone with
  1994.              a 1200 bps modem to connect to your modem, you cannot specify
  1995.              a speed of 2400 bps. If you are using a direct connection you
  1996.              will probably want to select a speed of 9600 bps to allow the
  1997.              fastest communication between the two direct linked computers.
  1998.           4. Go to the Parity menu and select NONE if this is not already
  1999.              selected.
  2000.           5. Go to the Data Bits menu and select 8-bit Data if this is not
  2001.              already selected.
  2002.           6. Go to the Stop Bit(s) menu and select 1 stop bit if this is
  2003.              not already selected.
  2004.           7. Go to the Duplex Mode menu and select Full Duplex if this is
  2005.              not already selected.
  2006.  
  2007.           The other items in the Edit Phonebook menu need not be specified.
  2008.           Exit the Edit Phonebook menu. If you did not set a Host password
  2009.           in the Basic Settings menu as explained in earlier in this
  2010.           chapter, call up the Basic Setup menu to enter the password now.
  2011.           Specify any password up to 10 characters long. You could also
  2012.           type in a Greetings String if you have not already done so, as
  2013.           the Greetings String will appear on the screen of all remote
  2014.           users when they connect to your computer. If you need to change
  2015.           Connection Mode, you should do this in the Basic Setup menu too.
  2016.  
  2017.           You are now ready to set X-COM in Host mode. Call up the
  2018.           Phonebook and select the Set you specified to be the Host Set.
  2019.           Then select the Auto Answer menu if you want to use Host with a
  2020.           modem connection. Now the rest is up to the user hooking up to
  2021.           your computer.
  2022.  
  2023.           Connecting to the Host Mode
  2024.           If a remote user connects to your computer when it is in the Host
  2025.           mode, there are certain things he will have to do to gain access.
  2026.           The communication parameters of the remote user must be the same
  2027.           as those you have set. These parameters are Speed, Parity, Data
  2028.           Bits, Stop Bit(s) and Duplex Mode, which you set in your HOST
  2029.           Phonebook Set. The remote user should also set the CR Translation
  2030.           to CR/LF and preferably use the TTY terminal emulation.
  2031.  
  2032.           With all of these parameters set up correctly, a remote user
  2033.           should have no trouble in connecting with your computer. If you
  2034.           find that callers cannot connect with your computer when you are
  2035.           in the Host mode, this is probably due to a conflict in settings
  2036.           between your system and that of the remote user. In this case you
  2037.           should ask the remote user to setup his system in accordance with
  2038.           the parameters you have in your HOST Phonebook Set.
  2039.  
  2040.           In the direct connection mode you can connect yourself to X-COM
  2041.           from any other PC when it is in Host mode. You will need a null-
  2042.           modem cable in this case. You will also have to run a
  2043.  
  2044.  
  2045.  
  2046.  
  2047.                                      12-33
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.           communications package such as X-COM on the other PC.
  2054.  
  2055.           If someone connects to your computer, when it is configured in
  2056.           the Host mode, the remote user should receive a message on his
  2057.           screen telling him that a connection has been made and your
  2058.           computer (the Host computer) will send the Greetings String (if
  2059.           one is specified in your Basic Setup window) to the screen of the
  2060.           remote computer. The remote user must then press <Enter> or
  2061.           <Ctrl> C to cause the HOST prompt to appear on his (the remote)
  2062.           monitor.
  2063.  
  2064.           From here on the procedure is the same for both a direct
  2065.           connection and a modem connection.
  2066.  
  2067.           When the HOST prompt is displayed, the remote user must type:
  2068.  
  2069.                             LOGIN [password] <Enter>
  2070.  
  2071.           where [password] is the optional password you specified in the
  2072.           Basic Setup menu. Typing the wrong password will cause the Host
  2073.           computer to display an error message. If no password is specified
  2074.           in the Basic Setup of the Host computer, pressing the <Enter> key
  2075.           will log the user on and a list of available options will appear
  2076.           on the remote monitor. The remote user can use <Ctrl> S to pause
  2077.           the listing, and pressing any key will continue the scrolling of
  2078.           the list.
  2079.  
  2080.           Available Host Commands
  2081.           The following commands are available to the remote user,
  2082.           accessing your computer, when you are running the Host mode:
  2083.  
  2084.           CD [pathname]directory
  2085.           This command will change the current directory to the one
  2086.           specified in [pathname]directory. The remote user will only be
  2087.           able to access directories on the current drive of your Host
  2088.           computer.
  2089.  
  2090.           DIR [filename]
  2091.           This command will cause the contents of the current directory of
  2092.           the Host computer to be displayed on the remote computer. The
  2093.           wildcards '*' and '?' can be used in the command syntax to look
  2094.           for a specific range of files.
  2095.  
  2096.           DOWNLOAD protocol,filename
  2097.           The remote user can use this command to Receive a file or a range
  2098.           of files from the your computer. The KERMIT, XMODEM, YMODEM and
  2099.           YMODEM BATCH protocols can be used to carry out the transfer.
  2100.           When the Host computer is ready to send the files to the remote
  2101.           user, it will prompt him to start the transfer.
  2102.  
  2103.           HELP
  2104.           The remote user can type HELP to display the help message from
  2105.  
  2106.  
  2107.  
  2108.  
  2109.                                      12-34
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.           the your computer on his screen.
  2116.  
  2117.           LOGOFF
  2118.           This command will terminate the remote user's session with your
  2119.           computer.
  2120.  
  2121.           TYPE filename
  2122.           This command allows a remote user to display the contents of any
  2123.           text file stored on your computer on his screen. Use the <Ctrl> S
  2124.           key to pause the scrolling.
  2125.  
  2126.           UPLOAD protocol,filename
  2127.           With this command a remote user can send a file or range of files
  2128.           from his computer to your computer. He can choose between the
  2129.           KERMIT, XMODEM, YMODEM and YMODEM Batch protocols to carry out
  2130.           the transfer. When your computer is ready to receive files from
  2131.           the remote user, it will prompt the remote user to start the
  2132.           transfer from his computer.
  2133.           We have explained the Host mode as if a remote user was calling
  2134.           your computer when it is configured in the Host mode. Of course,
  2135.           you may also call remote users who have configured their
  2136.           computers in the Host mode. In that case, you can use the
  2137.           commands detailed above to access data stored on the remote
  2138.           computer (if the remote Host uses X-COM). If you are using a
  2139.           direct connection, you can set the computer you are connected to,
  2140.           in the Host mode, giving you easy access to the data stored on
  2141.           that computer.
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.                                      12-35
  2172.  
  2173.