home *** CD-ROM | disk | FTP | other *** search
/ Lion Share / lionsharecd.iso / utils_mz / xdosman.zip / CHAPT12.DOC < prev    next >
Text File  |  1991-11-28  |  105KB  |  2,136 lines

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