home *** CD-ROM | disk | FTP | other *** search
/ Amiga CD! Magazine 3 / AUI_CoverDisk_3.bin / cd_project / techy.txt
Encoding:
Text File  |  2008-08-19  |  81.0 KB  |  2,440 lines

  1. Hello From Techy Land.
  2.  
  3. Well what is Techy land? This is an area 
  4. I have arranged on this CD for distributing
  5. interesting information and programs to the 
  6. general Amiga user with a bit more between 
  7. the ears than Lemmings droppings.
  8.  
  9. As you can see there is hardly anything 
  10. on this disk that can be considered techy.
  11. However I have included some utilities and 
  12. shall have the Superdisks on these CD's in 
  13. case you missed them.
  14.  
  15. Please get in touch through the magazine and 
  16. let me know what you want and perhaps I can
  17. this spot a positive Aladdins cave of useful
  18. oddities.
  19.  
  20. If you think my grammar and spelling is bad 
  21. then tough as I am not a journalist.
  22.  
  23. Steve Jones
  24. 10th May 1994
  25.  
  26. If you want to mount parnet all of the files are 
  27. here in fact I suppose I could put a button on 
  28. top! Just set your up as unit 0!
  29.  
  30. Below is the manual for TwinExpress, it is very
  31. good but you will need a keyboard at present 
  32. to launch it as my brain exploded before I set
  33. it to auto run. In the mean time you can use the 
  34. shareware copy of Access! Obviously you need
  35. a null modem cable for both programs. If you don't 
  36. know what I am talking about them why not go back 
  37. to the video and games section. 
  38.  
  39. Ta Ta :->
  40.  
  41.  
  42. Express        User's Guide
  43.  
  44.    Copyright 1991 OMNICODE. All rights reserved.
  45.  
  46.    Twin Express                                       User's Guide
  47.  
  48.  
  49.  
  50.                                    
  51.    
  52.    
  53.    Copyright:  This  document  and  its  accompanying software are
  54.    copyrighted  by  OMNICODE  (Montréal, CANADA) which retains all
  55.    rights  of  ownership  and  copyright.  Registered  users  have
  56.    specific  rights as stated in the license agreement. Others may
  57.    only  distribute  the  complete  package  as  described  in the
  58.    distribution statement.
  59.    
  60.    Disclaimer:  The  software, the documentation and all the files
  61.    included  in  the  package  are  provided without any warranty.
  62.    Moreover,  OMNICODE  does  not guarantee that the software, the
  63.    documentation  and  the files are accurate, reliable or fit any
  64.    particular  task. The users of this software package accept all
  65.    risks   related   to  its  use.  OMNICODE  shall  not  be  held
  66.    responsible  for any damage, costs or loss arising from the use
  67.    of this software package.
  68.    
  69.    Trademarks:  IBM,  IBM  AT,  IBM  PS/2,  PC-DOS  and  OS/2  are
  70.    registered   trademarks   of  International  Business  Machines
  71.    Corporation.  IBM PC and IBM XT are trademarks of International
  72.    Business   Machines   Corporation.   MS-DOS   is  a  registered
  73.    trademark  of  Microsoft Corporation. Windows is a trademark of
  74.    Microsoft  Corporation.  Amiga  is  a  registered  trademark of
  75.    Commodore-Amiga   Inc.   AmigaDOS   and   Amiga  Workbench  are
  76.    trademarks   of  Commodore-Amiga  Inc.  Unix  is  a  registered
  77.    trademark of AT&T Bell Laboratories.
  78.    
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.                              II
  107.  
  108.    Twin Express                                       User's Guide
  109.  
  110.  
  111.  
  112.    
  113.                           TABLE OF CONTENTS
  114.    
  115.    
  116.    INTRODUCTION................................................ IV
  117.    1 GETTING STARTED...........................................  1
  118.      1.1  Summary of Features..................................  1
  119.      1.2  Installation on the Amiga Computer...................  2
  120.      1.3  Installation on the IBM-PC Computer..................  3
  121.      1.4  The Serial Cable.....................................  4
  122.      1.5  Running Twin Express.................................  5
  123.      1.6  Of Ports and Baud Rates..............................  6
  124.      1.7  Startup Problems.....................................  6
  125.      1.8  Registration.........................................  8
  126.      1.9  Support..............................................  9
  127.    2 TUTORIAL.................................................. 10
  128.      2.1  Vocabulary........................................... 10
  129.      2.2  Purpose of a File Transfer Program................... 10
  130.      2.3  Commands and Aliases................................. 11
  131.      2.4  Local Versus Remote Resources........................ 11
  132.      2.5  Transferring Files with the COPY Command............. 12
  133.      2.6  Syntax of File and Directory Names................... 13
  134.      2.7  File Groups and Wildcards............................ 15
  135.      2.8  Moving Text Files to a Different Type of Computer.... 16
  136.      2.9  Enabling Fast Transfers.............................. 17
  137.      2.10 Input from a Command File............................ 18
  138.    3 COMMANDS.................................................. 19
  139.      3.1  CHDIR................................................ 19
  140.      3.2  COPY................................................. 20
  141.      3.3  DELETE............................................... 21
  142.      3.4  DIR.................................................. 21
  143.      3.5  ECHO................................................. 23
  144.      3.6  HELP................................................. 23
  145.      3.7  MKDIR................................................ 24
  146.      3.8  QUIT................................................. 24
  147.      3.9  RENAME............................................... 24
  148.      3.10 RMDIR................................................ 25
  149.      3.11 SET.................................................. 26
  150.      3.12 SHOW................................................. 26
  151.      3.13 TREE................................................. 27
  152.      3.14 TYPE................................................. 28
  153.    APPENDIX A: Error Messages.................................. A1
  154.    APPENDIX B: License Agreement............................... B1
  155.    APPENDIX C: Distribution Statement.......................... C1
  156.    APPENDIX D: Problem Report Form............................. D1
  157.    APPENDIX E: Registration and Order Form..................... E1
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.                             III
  169.  
  170.    Twin Express                                       User's Guide
  171.  
  172.  
  173.  
  174.    
  175.                              INTRODUCTION
  176.    
  177.    
  178.            Twin  Express  is a file transfer program that allows a
  179.    user  to  quickly  transfer  files  between two computers via a
  180.    cable  connected  to  their  serial  ports. It is an attractive
  181.    solution  to  the  problem  of  transferring data to a computer
  182.    equipped  with  a  different  type  of  floppy  drive  or  to a
  183.    floppyless  workstation.  It is also an inexpensive alternative
  184.    to  those  time-consuming  exchanges  of  floppy disks and slow
  185.    communication programs.
  186.    
  187.            Speed  is  its  main  feature.  Between  two  12.5  MHz
  188.    AT-type  computers or two Amiga 3000 computers you can transfer
  189.    data  at about 22,000 bytes/second. This is 2 times faster than
  190.    many  other  serial  file transfer utilities and 7 times faster
  191.    than utilities relying on the serial handler of AmigaDos.
  192.    
  193.            Its  second  main  feature  is  its ability to exchange
  194.    files  between  different  types  of  computers (e.g. Amiga and
  195.    IBM-PC).  In  this  case,  it  may  even translate some special
  196.    characters  (e.g.  ±,  £, ½, ß, é, â, ï, ñ) in your text files.
  197.    As  of  December  1991,  the  program  runs  under AmigaDOS and
  198.    PC-DOS  (or MS-DOS). It can also execute as a DOS process under
  199.    Windows and OS/2.
  200.    
  201.            Twin  Express  is  a  shareware  program.  That  is,  a
  202.    program  that  you  can  try before you actually pay for it. As
  203.    such,  you  can copy it, distribute it or store it in a library
  204.    as  long  as  the  package  is  not  modified, not sold and not
  205.    linked  to  any  salable  item.  However,  if  you  install the
  206.    program  on  a  computer  and  decide  to use it after the free
  207.    one-week  evaluation  period  you  must purchase a license from
  208.    OMNICODE.  In  return you become a registered user and are thus
  209.    entitled  to a manual, a diskette containing the latest version
  210.    of  Twin  Express,  an  invoice  (as  proof  of  purchase)  and
  211.    customer support in case of problems.
  212.    
  213.           This   manual   describes   the  features,  installation
  214.    procedures  and  commands  of  Twin  Express.  The  tutorial in
  215.    chapter  2  shows some basic examples of Twin Express commands.
  216.    However,  if  you  just  cannot  wait  to get your hands on the
  217.    keyboard   you   may  want  to  proceed  with  the  information
  218.    available through the on-line HELP command.
  219.    
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.                              IV
  231.  
  232.    Twin Express                                       User's Guide
  233.  
  234.  
  235.  
  236.    
  237.                            GETTING STARTED
  238.    
  239.    
  240.            This  chapter  describes the features, the installation
  241.    and  the  start-up  procedures  for Twin Express. Typical error
  242.    messages  plus  suggestions for solutions are outlined in order
  243.    to  help  you  establish  communications between the computers.
  244.    Registration and support sections terminate the chapter.
  245.    
  246.    1.1 SUMMARY OF FEATURES
  247.    
  248.            This  section highlights the most important features of
  249.    Twin Express:
  250.    
  251.      1.  Fast  serial transfers: about 22,000 bytes/second between
  252.          two  12.5  MHz  AT-type  computers or two Amiga computers
  253.          (ram disk to remote ram disk transfers).
  254.    
  255.      2.  Compatible versions run under AmigaDOS and PC-DOS.
  256.    
  257.      3.  Translation  of text files when they are transferred to a
  258.          different  type of computer (useful for transfers between
  259.          Amiga and IBM-PC computers).
  260.    
  261.      4.  Simple,  easy  to  use  commands similar to those used by
  262.          your operating system (e.g. DIR, COPY, RENAME, etc).
  263.    
  264.      5.  Command  name  aliases  compatible  with AmigaDOS, PC-DOS
  265.          and UNIX commands (e.g. MAKEDIR, XCOPY, LS).
  266.    
  267.      6.  Support  for wildcard characters allowing users to select
  268.          a  group  of  files  with a single command. The operation
  269.          can    be    extended   to   include   files   found   in
  270.          subdirectories.
  271.    
  272.      7.  User   may  list  directory  files,  change  the  default
  273.          directories and create or remove directories.
  274.    
  275.      8.  Copies  of  files get the same date stamp as the original
  276.          files.
  277.    
  278.      9.  On-line help.
  279.    
  280.      10. Support for command files (batch files).
  281.    
  282.      11. Transmission   errors  are  detected  and  corrected  (by
  283.          retransmission of bad packets).
  284.    
  285.      12. Support  for ports COM1, COM2, COM3 or COM4 on the IBM-PC
  286.          or compatible computers.
  287.    
  288.      13. Support  for  baud  rates  up  to  115200  on  IBM-PC  or
  289.          compatible computers and 290000 on Amiga computers.
  290.  
  291.  
  292.                               1
  293.  
  294.    Twin Express                                       User's Guide
  295.  
  296.  
  297.  
  298.    
  299.      14. Detection  of  busy ports, incompatible baud rates and of
  300.          non-present,   non-standard   or  malfunctionning  serial
  301.          ports.
  302.    
  303.      15. Distributed  as  a  shareware  program:  "you  can try it
  304.          before you buy it".
  305.    
  306.    1.2 INSTALLATION ON THE AMIGA COMPUTER
  307.    
  308.    Requirements:
  309.    
  310.      1. AmigaDOS 1.2 or higher.
  311.      2. 75K of disk space.
  312.      3. 150K of free memory.
  313.      4. A null-modem cable.
  314.      5. A free serial port (SER: is mandatory).
  315.    
  316.    Distribution files:
  317.    
  318.      1. INSTALL
  319.      2. INSTALL.INFO
  320.      3. README
  321.      4. README.INFO
  322.      5. TWIN
  323.      6. TWIN.INFO
  324.      7. TWINDOC
  325.      8. TWINDOC.INFO
  326.    
  327.    Installation:
  328.    
  329.      1. If  your are using your Amiga with Workbench, activate the
  330.         CLI task by clicking the appropriate icon.
  331.    
  332.      2. Set  the default directory to the directory containing the
  333.         Twin  Express  package. The following example assumes this
  334.         to be the root directory on floppy disk DF0:
  335.    
  336.           CD  DF0:
  337.    
  338.      3. Examine file README for any last-minute changes:
  339.    
  340.           TYPE  README
  341.    
  342.      4. Copy  the  file  TWIN to a directory whose name appears in
  343.         the  search  path of AmigaDos (e.g. utilities, c, system).
  344.         This  way  you can run Twin Express from any directory and
  345.         AmigaDos  will  find  it.  You can use the PATH command to
  346.         display  the  current  search  path. The following example
  347.         assumes  that  the  UTILITIES  directory on disk DH0 is in
  348.         the search path:
  349.    
  350.           PATH
  351.           COPY  TWIN  DH0:UTILITIES
  352.  
  353.  
  354.                               2
  355.  
  356.    Twin Express                                       User's Guide
  357.  
  358.  
  359.  
  360.           COPY  TWIN.INFO  DH0:UTILITIES
  361.    
  362.      5. Print the documentation file TWINDOC:
  363.    
  364.           COPY  TWINDOC  PRT:
  365.    
  366.      6. Connect  one  end  of  a  null-modem cable to the standard
  367.         serial  port  "SER:"  on  the Amiga and the other end to a
  368.         serial  port  on  the remote computer. See section 1.4 for
  369.         details about the serial cable.
  370.    
  371.      7. You  have  one  week  to  evaluate the program. After this
  372.         period  you  must  either  remove  the  program  from your
  373.         system or register your copy.
  374.    
  375.    1.3 INSTALLATION ON THE IBM-PC COMPUTER
  376.    
  377.    Requirements:
  378.    
  379.      1. PC-DOS (MS-DOS) 2.0 or higher.
  380.      2. 75K of disk space.
  381.      3. 150K of free memory.
  382.      4. A null-modem cable.
  383.      5. A free serial port (COM1, COM2, COM3 or COM4) with a ...
  384.           a) standard address (3F8h, 2F8h, 3E8h or 2E8h).
  385.           b) compatible UART chip (8250, 82050, 16450).
  386.           c) standard UART clock of 1.8432 MHz.
  387.    
  388.    Distribution:
  389.    
  390.      1. INSTALL.TXT
  391.      2. README.TXT
  392.      3. TWIN.EXE
  393.      4. TWINDOC.TXT
  394.    
  395.    Installation:
  396.    
  397.      1. If  your are using your IBM-PC with Windows or OS/2, acti-
  398.         vate  the  DOS  environment  by  clicking  the appropriate
  399.         icon.
  400.    
  401.      2. Set  the default directory to the directory containing the
  402.         Twin  Express  package. The following example assumes this
  403.         to be the root directory on floppy disk A:
  404.    
  405.           A:
  406.           CD  \
  407.    
  408.      3. Examine file README.TXT for any last-minute changes:
  409.    
  410.           TYPE  README.TXT
  411.    
  412.      4. Copy  the  file TWIN.EXE to a directory whose name appears
  413.         in  the  search  path  of DOS (e.g. DOS, c, bin). This way
  414.  
  415.  
  416.                               3
  417.  
  418.    Twin Express                                       User's Guide
  419.  
  420.  
  421.  
  422.         you  can  run Twin Express from any directory and DOS will
  423.         find  it.  You  can  use  the  PATH command to display the
  424.         current  search  path.  The following example assumes that
  425.         the DOS directory on disk C is in the search path:
  426.    
  427.           PATH
  428.           COPY  TWIN.EXE  C:\DOS
  429.    
  430.      5. Print the documentation file TWINDOC.TXT:
  431.    
  432.          PRINT  TWINDOC.TXT
  433.    
  434.      6. Connect  one  end  of  a null-modem cable to a serial port
  435.         (COM1  is used by default) on the IBM-PC and the other end
  436.         to  a  serial port on the remote computer. See section 1.4
  437.         for details about the serial cable.
  438.    
  439.      7. You  have  one  week  to  evaluate the program. After this
  440.         period  you  must  either  remove  the  program  from your
  441.         system or register your copy.
  442.    
  443.    1.4 THE SERIAL CABLE
  444.    
  445.            A  null-modem  cable  connects  the  computers by their
  446.    serial  ports.  Such  a cable can be bought in a computer store
  447.    or  can  be  made  from an eight-wire cable and two connectors.
  448.    The  table  below  shows  how  the  different signals are wired
  449.    along   with   the  pinout  in  use  with  different  types  of
  450.    connectors (9 and 25 pins):
  451.    
  452.      ------ CONNECTOR 1 -----        ----- CONNECTOR 2 ------
  453.        DB25     DB9    SIGNAL        SIGNAL    DB9     DB25
  454.    
  455.         07       05       GND  <---> GND       05       07
  456.         02       03        TD  <---> RD        02       03
  457.         03       02        RD  <---> TD        03       02
  458.         05       08       CTS  <---> RTS       07       04
  459.         04       07       RTS  <---> CTS       08       05
  460.         06       06       DSR  <---> DTR       04       20
  461.         20       04       DTR  <---> DSR       06       06
  462.    
  463.    Usually  the serial port has a male connector. The cable should
  464.    therefore  have  two female connectors. However, it is safer to
  465.    verify this before you buy a cable...
  466.    
  467.            There  are  some  null-modem  cables with only 3 wires.
  468.    These  cables  can  also be used with Twin Express. However, it
  469.    is  not  possible  to  select  the high speed transmission mode
  470.    with  such  cables.  There  are  also  null-modem cables with a
  471.    wiring  pattern  different  from  that in the above table. Twin
  472.    Express  is  likely  to  "see"  them  as  3-wire cables. So, be
  473.    careful  before buying a pre-wired cable and compare the wiring
  474.    with the above table.
  475.    
  476.  
  477.  
  478.                               4
  479.  
  480.    Twin Express                                       User's Guide
  481.  
  482.  
  483.  
  484.            You  can also transform a modem cable into a null-modem
  485.    cable  with  a  null-modem  adapter.  You  can  get  an MF-DB25
  486.    adapter  (part  26-1496) or an MF-DB9 adapter (part 26-264) for
  487.    about  8  CAN$  from  Radio  Shack.  This might be a convenient
  488.    solution  if  your  cable  has the proper connectors (usually a
  489.    female connector at each end).
  490.    
  491.    WARNING 1: Do   not   use  a  cable  with  more  than  these  7
  492.               connections  (extra  wires  should be disconnected).
  493.               This  is very important on the AMIGA computers since
  494.               they have a non-standard serial connector.
  495.    
  496.    WARNING 2: Cables  longer  than  20  meters should be used with
  497.               caution.  You  might need to reduce the baud rate or
  498.               use a more expensive low capacitance cable.
  499.    
  500.    WARNING 3: Avoid  putting the cable near appliances. This could
  501.               add  noise to the signals. If this cannot be avoided
  502.               you  might consider buying a more expensive shielded
  503.               cable.
  504.    
  505.    1.5 RUNNING TWIN EXPRESS
  506.    
  507.            You  can  start  up  the  program by typing TWIN at the
  508.    system prompt of the computer:
  509.    
  510.      C> TWIN <enter>
  511.    
  512.    The  program  should  now  display  its version number, a short
  513.    message about the help facility and the TWIN prompt:
  514.    
  515.     TWIN EXPRESS - Version 1.1 released on 1991/12/20 (shareware)
  516.     ~~~~~~~~~~~~   Copyright 1991 OMNICODE. All rights reserved.
  517.    
  518.     HELP:
  519.    
  520.       ... Some information on HELP ...
  521.    
  522.     TWIN>
  523.    
  524.    At  this  point,  Twin  Express  waits  for the user to type in
  525.    commands or to receive a request from the remote computer.
  526.    
  527.            If  Twin Express is also running on the remote computer
  528.    and  a  cable is connected to the default ports (COM1 on the PC
  529.    and  SER  on the Amiga) you should get the following message on
  530.    both screens:
  531.    
  532.     >>> Communication is established with the remote computer <<<
  533.    
  534.    This  message indicates that you are ready to transfer files to
  535.    the  remote  computer.  If  it does not appear see sections 1.6
  536.    and 1.7 for help.
  537.    
  538.  
  539.  
  540.                               5
  541.  
  542.    Twin Express                                       User's Guide
  543.  
  544.  
  545.  
  546.    1.6 OF PORTS AND BAUD RATES
  547.    
  548.            By  default,  Twin  Express uses port COM1 on an IBM PC
  549.    and  SER  on  an  Amiga. In both cases the default baud rate is
  550.    115200.
  551.    
  552.            It  is  possible  to  use  baud  rates  other  than the
  553.    default  value  and, on IBM compatible computers, to use a port
  554.    other  than  COM1.  Ports COM1, COM2, COM3 and COM4 can be used
  555.    on  the  IBM  PC or compatible systems. Only SER can be used on
  556.    the Amiga.
  557.    
  558.            The  baud rates available on both machines are: 115200,
  559.    57600,  38400,  19200  and 9600. The Amiga version also accepts
  560.    the  following  baud  rates:  130000,  150000,  170000, 190000,
  561.    210000,   230000,   250000,   270000   and  290000  (190000  is
  562.    recommended).
  563.    
  564.            To   change  a default value, the user must supply both
  565.    the  port and the baud rate as parameters to TWIN. For example,
  566.    to  communicate  at  57600  baud  using  port  COM2  on the IBM
  567.    compatible:
  568.    
  569.      C> TWIN  COM2  57600
  570.    
  571.    whilst the command for the Amiga is:
  572.    
  573.      1> TWIN  SER  57600
  574.    
  575.    1.7 STARTUP PROBLEMS
  576.    
  577.            This  section  highlights the most common problems that
  578.    a  user  might  encounter  in  establishing  communication.  It
  579.    presents  error messages along with suggestions for solving the
  580.    problem. More general errors are discussed in appendix A.
  581.    
  582.    >>> Communication is established with the remote computer <<<
  583.    does not appear on the screen of computers.
  584.    
  585.      First,  verify  that  the  cable  is  connected to the serial
  586.      ports  on both computers. Second, make sure that Twin Express
  587.      has  been activated on both machines with the proper port and
  588.      baud   rate.   Third,  check  the  programs  running  in  the
  589.      background.  Some  of them might "steal" too many CPU cycles.
  590.      Fourth,  examine  the  cable.  Is  it  a null-modem cable? Is
  591.      there a bad connection (connectors, wires, etc)?
  592.    
  593.    Error: Unrecognized device
  594.    
  595.      An  invalid  serial  device  has  been used as a parameter to
  596.      Twin  Express.  Re-execute  the program with one of the valid
  597.      devices specified in section 1.6.
  598.    
  599.    Error: Unrecognized speed
  600.  
  601.  
  602.                               6
  603.  
  604.    Twin Express                                       User's Guide
  605.  
  606.  
  607.  
  608.    
  609.      An  invalid  baud  rate  has been specified as a parameter to
  610.      Twin  Express.  Note that you must also specify a device when
  611.      you  indicate a baud rate. Re-execute the program with one of
  612.      the valid baud rates specified in section 1.6.
  613.    
  614.    Error: Cannot get pathname of current default directory
  615.    Error: Cannot establish an abort receiver
  616.    
  617.      These  are  internal  errors.  They  should not occur. Please
  618.      contact  OMNICODE  (fill  in and mail the problem report form
  619.      in appendix D).
  620.    
  621.    Error: This protocol cannot be used with a 3-wire cable
  622.    
  623.      This  error  may  occur  when  a  user selects the high speed
  624.      transmission  mode  with  the  SET  MODE  command.  This mode
  625.      requires  a  7-wire  cable  as defined in section 1.4. First,
  626.      check  your  cable.  Second,  use only the STANDARD mode with
  627.      3-wire cables.
  628.    
  629.    Error: Mode EXPRESS failed to initialize properly
  630.    
  631.      This  error  may  occur  when  a  user selects the high speed
  632.      transmission  mode  with  the  SET MODE command. It indicates
  633.      that  transfers would not be reliable using this mode. It may
  634.      occur  on  some  computers,  especially  with long cables. In
  635.      this case you must use the default STANDARD mode.
  636.    
  637.    >>> Non-present or non-standard device <<<
  638.    
  639.      The  selected  serial port was not found in the system or, if
  640.      found,  it  does not appear to be a serial device. This error
  641.      may  occur if the user selects a device that is not installed
  642.      (e.g.  COM4), if a serial device has been installed at a non-
  643.      standard  address  (e.g. COM1 address different from 3F8h) or
  644.      if  a  different  type  of  hardware has been installed at an
  645.      address  normally  assigned to a serial device. First, try to
  646.      execute  Twin  Express  with  a different device (e.g. COM2).
  647.      Second,  check the address of your serial port and compare it
  648.      with the addresses defined in section 1.3.
  649.    
  650.    >>> Malfunctionning serial device <<<
  651.    
  652.      The  serial  device does not appear to work correctly. First,
  653.      verify  that  your serial port works with a different type of
  654.      software.  Second,  compare the type of the UART chip of your
  655.      serial port with those listed in the installation section.
  656.    
  657.    >>> Selected serial device appears to be busy <<<
  658.    
  659.      The  serial  port seems to be connected to an external device
  660.      (e.g.  modem,  printer). This error is likely to occur if you
  661.      execute  Twin  Express with the default port and this port is
  662.  
  663.  
  664.                               7
  665.  
  666.    Twin Express                                       User's Guide
  667.  
  668.  
  669.  
  670.      connected  to a device. It may also occur if you disconnected
  671.      an  external  device  from  a serial port in order to connect
  672.      the  null-modem  cable.  First,  make  sure  to  execute Twin
  673.      Express  with  the  appropriate  serial  port. Second, if the
  674.      message   appears  only  on  one  computer,  re-execute  Twin
  675.      Express  on  this  computer otherwise you will need to reboot
  676.      both systems.
  677.    
  678.    >>> Local computer is too slow for current baud rate <<<
  679.    >>> Remote computer is too slow for current baud rate <<<
  680.    
  681.      These  messages  indicate  that a computer is not fast enough
  682.      to  communicate at the current baud rate. It may occur if you
  683.      try  to  execute  Twin  Express  on  an  Amiga  500/1000/2000
  684.      computer  with  a baud rate exceeding 190000 or on a 4.77 MHz
  685.      PC-type  computer  with a baud rate of 115200. Try again with
  686.      a lower baud rate.
  687.    
  688.    >>> Remote computer appears to use a different baud rate <<<
  689.    
  690.      This  message  is  displayed  when  a  computer receives many
  691.      unrecognized  characters  from  the  serial  port. It usually
  692.      occurs  when  the  program is activated with a different baud
  693.      rate  on  each  computer.  Note  that  this  error is usually
  694.      displayed  on  the  screen of the computer having the fastest
  695.      baud  rate.  It  may  also  occur if you use a high baud rate
  696.      (e.g.  290000)  with a long cable or if your serial port does
  697.      not  use  a  standard  clock  rate.  First,  re-execute  both
  698.      programs  with  the same baud rate. Second, try to reduce the
  699.      baud  rate on the machine that does show this message. Third,
  700.      try  with  a  lower baud rate (e.g. 57600). Fourth, make sure
  701.      that  you  use  the  serial ports connected to the null-modem
  702.      cable.  Fifth,  compare  the  clock  rate of your serial port
  703.      with the value found in the installation section.
  704.    
  705.    1.8 REGISTRATION
  706.    
  707.            Twin  Express  is  a  shareware package. It is not free
  708.    software  nor  public domain software. The main difference here
  709.    is  that  you  must  purchase  a  license  to  use  it after an
  710.    evaluation  period.  Note that the cost of the license is never
  711.    included   in  the  price  of  disks  from  public  domain  and
  712.    shareware software distributors. 
  713.    
  714.             The  package  contains  files  that  can be evaluated,
  715.    free  of  charge,  during  a one-week period. During this week,
  716.    you  can  test the program and examine the documentation. After
  717.    this  period,  you  must decide if you want to keep the program
  718.    or  not.  If the product is found to be not useful, the package
  719.    must  be  removed from the system. However, if you do decide to
  720.    keep  it,  you  must  become  a registered user by purchasing a
  721.    license from OMNICODE.
  722.    
  723.             The  cost  of  a  basic license for two machines is 30
  724.  
  725.  
  726.                               8
  727.  
  728.    Twin Express                                       User's Guide
  729.  
  730.  
  731.  
  732.    CAN$  (including  Canadian taxes where applicable). Add to this
  733.    an  extra  fee  of 10 CAN$ for each additional machine. If Twin
  734.    Express  is  to  be  installed  on  a  server,  you will need a
  735.    license  for  every  computer  that can access the program from
  736.    the   server.  Upon  registration,  you  receive  a  manual,  a
  737.    diskette  containing  the  latest  version  of Twin Express, an
  738.    invoice  (as  proof  of  purchase)  and support for 6 months in
  739.    case  of problems. The registration and order form can be found
  740.    in appendix E.
  741.    
  742.    1.9 CUSTOMER SUPPORT
  743.    
  744.            You  might  experience problems with the program or the
  745.    documentation  or  you  might  just  want  to obtain the latest
  746.    release.  Registered  users  can  contact OMNICODE to get help.
  747.    Just send a letter or a FAX to:
  748.    
  749.                       OMNICODE
  750.                       P.O. Box 128 Ahuntsic
  751.                       Montréal [Québec]
  752.                       CANADA H3L 3N7
  753.    
  754.                       FAX: (514)385-6455
  755.    
  756.    You  will  find  a problem report form in appendix D to be used
  757.    in  describing  your  problems and for making suggestions. Fill
  758.    in the form in appendix E in order to get the latest update.
  759.    
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.                               9
  789.  
  790.    Twin Express                                       User's Guide
  791.  
  792.  
  793.  
  794.    
  795.                               TUTORIAL
  796.    
  797.    
  798.            This  chapter  introduces the new user to Twin Express.
  799.    The  experienced  user  is  referred  to  chapter  3  for  more
  800.    detailed information.
  801.    
  802.            We   assume   here   that  the  installation  has  been
  803.    completed  and  that  a  cable  is  connected  between  the two
  804.    computers running Twin Express.
  805.    
  806.    2.1 VOCABULARY
  807.    
  808.            D.O.S.  means  Disk  Operating  System. Throughout this
  809.    manual,  this  term  is  used  without designating a particular
  810.    implementation of this software (e.g. PC-DOS, UNIX).
  811.    
  812.            A  null-modem  cable  is  a  cable that connects to the
  813.    serial  ports of two computers. This is not the same as a modem
  814.    cable (the wiring is different).
  815.    
  816.            Serial  transfers  means  data transmission between two
  817.    computers by their serial devices through a null-modem cable.
  818.    
  819.            Remote  system  indicates  the  computer  to which your
  820.    computer   (known   as  the  local  system)  is  connected.  By
  821.    extension,  remote  files,  remote directories, remote volumes,
  822.    remote   devices   and   remote   resources   indicates  files,
  823.    directories,  volumes,  devices  and  resources  located on the
  824.    remote system.
  825.    
  826.            A  volume  is  a  structured  group  of directories and
  827.    files,  sometimes  called a file system, installed on a disk, a
  828.    disk partition or in a dedicated area of the main memory.
  829.    
  830.    2.2 PURPOSE OF A FILE TRANSFER PROGRAM
  831.    
  832.            The  purpose  of a file transfer program is to transfer
  833.    files  between  two  computers.  It  allows  a user to exchange
  834.    files   between   computers  equipped  with  floppy  drives  of
  835.    different   sizes  or  to  exchange  files  with  a  floppyless
  836.    computer.  It  performs  this  job better than a communications
  837.    program  since  it  is usually much faster and adapted for this
  838.    task.  Finally,  it  is  also  simpler  and faster then using a
  839.    floppy  disk  to  transfer  files between the hard disks of two
  840.    computers  (especially  when  the size of a file is larger than
  841.    the capacity of the floppy disk).
  842.    
  843.            A  file  transfer  program  needs  a  link  between the
  844.    computers  involved  in  these  transfers.  This can be done by
  845.    connecting  a  cable  to a serial port on each computer. Such a
  846.    port  works  with  fairly long cables, provides some protection
  847.    against noise and is inexpensive.
  848.  
  849.  
  850.                              10
  851.  
  852.    Twin Express                                       User's Guide
  853.  
  854.  
  855.  
  856.    
  857.    2.3 COMMANDS AND ALIASES
  858.    
  859.            The   user   interacts  with  Twin  Express  by  typing
  860.    commands  that  have  a  name  similar  to the commands of your
  861.    D.O.S.  For  example,  to  get  a list of the files kept in the
  862.    local current directory:
  863.    
  864.      TWIN> DIR <enter>
  865.    
  866.    The full set of commands is given in the table below:
  867.    
  868.      DIR    : Shows file(s) in a directory.
  869.      CHDIR  : Changes the default directory.
  870.      MKDIR  : Creates a directory.
  871.      RMDIR  : Removes a directory.
  872.      TREE   : Shows directory structure.
  873.      COPY   : Makes a copy of file(s).
  874.      DELETE : Deletes file(s).
  875.      RENAME : Changes the name of file(s).
  876.      TYPE   : Shows the contents of a text file.
  877.      HELP   : Provides help on Twin Express.
  878.      SET    : Changes the transmission mode.
  879.      SHOW   : Displays various information.
  880.      ECHO   : Outputs a string on the console.
  881.      QUIT   : Exits from Twin Express.
  882.    
  883.            In  order  to  assist  the  users  who  transfer  files
  884.    between  systems  having  two  different  D.O.S.,  Twin Express
  885.    accepts  popular  aliases  for some commands and options. These
  886.    aliases are shown in the table below:
  887.    
  888.      DIR     : LIST, LS
  889.      CHDIR   : CD
  890.      MKDIR   : MD, MAKEDIR
  891.      RMDIR   : RD
  892.      COPY    : XCOPY, CP
  893.      DELETE  : DEL, ERASE, RM
  894.      RENAME  : REN, MV
  895.      TYPE    : MORE, CAT, DISPLAY
  896.      HELP    : ?
  897.      QUIT    : EXIT
  898.    
  899.      SUBDIR  : ALL, /S
  900.    
  901.    This  feature should help those who are used to PC-DOS, MS-DOS,
  902.    AmigaDOS  or  UNIX.  However,  Twin Express commands have their
  903.    own  behavior  and  options.  Therefore, they may not recognize
  904.    certain  options  or perform exactly like their counterparts in
  905.    these operating systems.
  906.    
  907.    2.4 LOCAL VERSUS REMOTE RESOURCES
  908.  
  909.  
  910.  
  911.  
  912.                              11
  913.  
  914.    Twin Express                                       User's Guide
  915.  
  916.  
  917.  
  918.    
  919.            All   the   commands   related  to  file  or  directory
  920.    operations  can  work  on  local  or  remote  resources.  These
  921.    resources may be: files, directories, volumes and devices.
  922.    
  923.            Accessing  a local resource is simple. You just specify
  924.    the  name  of  the  resource  in  your command. For example, to
  925.    delete the local file OLDDEMO.C:
  926.    
  927.      TWIN> DELETE  OLDDEMO.C
  928.    
  929.    Unless  otherwise  specified,  Twin  Express  always uses local
  930.    resources.  In the example above, the program deletes the local
  931.    file  OLDDEMO.C  from  the  local default directory. You always
  932.    have  access  to  the  local resources even if no communication
  933.    has been established with a remote computer.
  934.    
  935.            Accessing  a  remote resource is simple too! This time,
  936.    the  name  of  the  resource  must have a ~ prefix (tilde). For
  937.    example, to delete the remote file OLDDEMO.C:
  938.    
  939.      TWIN> DELETE  ~OLDDEMO.C
  940.    
  941.    In  this case, the request is sent to the remote computer where
  942.    it   is  executed.  In  the  example  above,  the  remote  file
  943.    OLDDEMO.C   is  deleted  from  the  remote  default  directory.
  944.    Communication  must  have been established with a remote system
  945.    before you can use commands specifying remote resources.
  946.    
  947.            The  procedure  is the same with all the commands. Twin
  948.    Express  uses  a remote resource if the name has a ~ prefix and
  949.    a  local  resource  otherwise.  The commands themselves are the
  950.    same  for both the local and the remote operations. Note: there
  951.    must  be  no  space  between  the  ~ prefix and the name of the
  952.    resource.
  953.    
  954.    2.5 TRANSFERRING FILES WITH THE COPY COMMAND
  955.    
  956.            The  main purpose of a file transfer program is to copy
  957.    files  from one computer to another. With Twin Express, this is
  958.    done by the COPY command.
  959.    
  960.            This  command  can  work  with  both  local  and remote
  961.    files.  To  copy  a  file  between  two  computers it is just a
  962.    matter  of  using a local name and a remote name.  For example,
  963.    to  copy  the  local file ALPHA to the file Bravo on the remote
  964.    computer:
  965.    
  966.      TWIN> COPY  ALPHA  ~Bravo
  967.    
  968.    This  command actually transfers a copy of the local file ALPHA
  969.    to  the  remote  system  since  the ~ prefix specifies a remote
  970.    file.  The  new  file  is  stored  as  file Bravo in the remote
  971.    default   directory.  Note:  whenever  possible,  Twin  Express
  972.  
  973.  
  974.                              12
  975.  
  976.    Twin Express                                       User's Guide
  977.  
  978.  
  979.  
  980.    preserves lower case letters used in file and directory names.
  981.    
  982.            The  target  name  of the COPY command can be a device.
  983.    For  example,  to print the local file README.DOC, you can copy
  984.    it to the remote printer PRT:
  985.    
  986.      TWIN> COPY  README.DOC  ~PRT:
  987.    
  988.    The  following  devices  are  available  on the Amiga computer:
  989.    CON:,  PRT: and NIL:. SER: can also be used locally if the port
  990.    is  not  connected  to a remote computer. The following devices
  991.    are  available  on  the  IBM-PC  or  compatible  systems: CON:,
  992.    COM1:, COM2:, LPT1:, LPT2:, LPT3:, PRN: and NUL:.
  993.    
  994.            Of  course, you can also copy a remote resource to your
  995.    local  system.  For example, to copy the remote file CHARLIE to
  996.    the local file DELTA:
  997.    
  998.      TWIN> COPY  ~CHARLIE  DELTA
  999.    
  1000.    This  time,  a copy of the file CHARLIE is transferred from the
  1001.    remote  to  the local system. The command is the same as before
  1002.    but the remote resource is now the source file.
  1003.    
  1004.             The  source  file and the destination file may also be
  1005.    located  on  the  same computer. For example, to copy the local
  1006.    file ALPHA to the local file BRAVO:
  1007.    
  1008.      TWIN> COPY  ALPHA  BRAVO
  1009.    
  1010.    No  transfer  occurred  between  the  computers,  in this case,
  1011.    because  both  names  specified  local files. A remote copy can
  1012.    also  be  done if both names specify remote files. For example,
  1013.    to copy the remote file CHARLIE to the remote file DELTA:
  1014.    
  1015.      TWIN> COPY  ~CHARLIE  ~DELTA
  1016.    
  1017.    With  such  an  operation,  the  request  is sent to the remote
  1018.    system  where  it  is  executed locally. This kind of operation
  1019.    can  be useful if you have to perform some disk management on a
  1020.    distant remote system.
  1021.    
  1022.            The  thing  to  remember  here:  COPY always performs a
  1023.    file  transfer whenever one name specifies a local resource and
  1024.    the  other  name  a  remote  resource. Otherwise, it is a plain
  1025.    copy.
  1026.    
  1027.    2.6 SYNTAX OF FILE AND DIRECTORY NAMES
  1028.    
  1029.            By  using  only  simple  file  names, like CHESS.C, the
  1030.    user  can access only the files in the local and remote default
  1031.    directories.  These  directories  correspond to the directories
  1032.    in  use  on  the  local and remote system when Twin Express was
  1033.    activated.
  1034.  
  1035.  
  1036.                              13
  1037.  
  1038.    Twin Express                                       User's Guide
  1039.  
  1040.  
  1041.  
  1042.    
  1043.            Twin  Express  also  accepts  file names that specify a
  1044.    path  to  reach  the selected file or directory. Such names are
  1045.    often  called  pathnames.  The  path  may contain a volume name
  1046.    and/or directory names.
  1047.    
  1048.            Directory  and file names must be separated by either /
  1049.    (slashes)  or  \  (back-slashes).  For  example, to delete file
  1050.    CHESS.C from subdirectory SOURCES in subdirectory GAMES:
  1051.    
  1052.      TWIN> DELETE  GAMES/SOURCES/CHESS.C               or
  1053.      TWIN> DELETE  GAMES\SOURCES\CHESS.C
  1054.    
  1055.    The  choice  between  / and \ is yours; you can use both on all
  1056.    the  systems. To specify the root directory (the main directory
  1057.    on  a  volume)  you can use, as well, the slash, the back-slash
  1058.    or  the  colon.  For  example:  to  change  the  local  default
  1059.    directory to the root directory of the current volume:
  1060.    
  1061.      TWIN> CHDIR  /                                    or
  1062.      TWIN> CHDIR  \                                    or
  1063.      TWIN> CHDIR  :
  1064.    
  1065.    However,  a path may start with a volume name. This name may be
  1066.    the   physical   name  of  a  disk  (e.g.  DH0,  E)  or,  where
  1067.    applicable,  the  volume  name  specified during a disk format.
  1068.    When  a  volume  name  is included in a path, this name must be
  1069.    followed  by a colon. For example, to remove directory TRASH on
  1070.    remote volume DH0:
  1071.    
  1072.      TWIN> RMDIR  ~DH0:TRASH
  1073.    
  1074.    A  volume  name  also  forces  the  path  to  start at the root
  1075.    directory  of  this  volume.  Note:  this behavior is different
  1076.    from  PC-DOS  and  MS-DOS  where the path starts at the current
  1077.    default  directory (unless a \ is used). Actually, Twin Express
  1078.    accepts  all  the  following  pathnames  to reach the directory
  1079.    DEMOS on volume C:
  1080.    
  1081.      TWIN> CHDIR  C:/DEMOS
  1082.      TWIN> CHDIR  C:\DEMOS
  1083.      TWIN> CHDIR  C:DEMOS
  1084.      TWIN> CHDIR  :/DEMOS
  1085.      TWIN> CHDIR  :\DEMOS
  1086.      TWIN> CHDIR  /DEMOS
  1087.      TWIN> CHDIR  \DEMOS
  1088.      TWIN> CHDIR  :DEMOS
  1089.    
  1090.    The  last  five  commands above assume that the directory DEMOS
  1091.    is  on  the  current default volume. Again, you have the choice
  1092.    of  selecting  the  pathname syntax that most resembles that of
  1093.    your  system  even  when you transfer files to/from a different
  1094.    D.O.S.
  1095.    
  1096.  
  1097.  
  1098.                              14
  1099.  
  1100.    Twin Express                                       User's Guide
  1101.  
  1102.  
  1103.  
  1104.    2.7 FILE GROUPS AND WILDCARDS
  1105.    
  1106.            Quite  often,  the user needs to transfer more than one
  1107.    file:  it  may  be all the files in a directory, C source files
  1108.    or  only  the  files  having  a  name starting with HOTEL. Some
  1109.    commands  (DIR,  COPY,  DELETE and RENAME) accept the popular *
  1110.    and  ?  wildcard  characters  in  order  to  specify a group of
  1111.    files.
  1112.    
  1113.            The  ?  wildcard character matches any single character
  1114.    in  a  file name. For example, to list all the four-letter file
  1115.    names starting with L and ending with MA:
  1116.    
  1117.      TWIN> DIR  L?MA
  1118.    
  1119.    The  * wildcard character matches any number of characters in a
  1120.    file  name.  For  example,  to delete all the files ending with
  1121.    .BAK:
  1122.    
  1123.      TWIN> DELETE  *.BAK
  1124.    
  1125.    Twin  Express  also  lets  you specify the variable part of the
  1126.    file  name  with  a selection from a set of substrings. In this
  1127.    case,  the  substrings  are separated by | and the complete set
  1128.    is  enclosed  by (). For example, to list the .C files starting
  1129.    with TWIN and ending with either HOST, COMM or MAIN:
  1130.    
  1131.       TWIN> DIR  TWIN(HOST|COMM|MAIN).C
  1132.    
  1133.    Of  course  the  selection can be combined with wildcards; this
  1134.    can  be  quite  powerful.  For example, to delete all the files
  1135.    ending with .LST, .MAP or .BAK:
  1136.    
  1137.      TWIN> DELETE  *.(LST|MAP|BAK)
  1138.    
  1139.    However,  the  selection and wildcards can be used only in file
  1140.    names.  They  cannot  be  used  in  a path (i.e. volume name or
  1141.    directory name).
  1142.    
  1143.            The  * wildcard character, alone, can also be used in a
  1144.    target  name.  For example, to copy all the .EXE files from the
  1145.    local subdirectory PROJECTS to the remote subdirectory TESTS:
  1146.    
  1147.      TWIN> COPY  PROJECTS/*.EXE  ~TESTS/*              or
  1148.      TWIN> COPY  PROJECTS/*.EXE  ~TESTS
  1149.    
  1150.    As  shown  above,  the  * wildcard character in the target name
  1151.    matches  the  corresponding files of the source name. Actually,
  1152.    this   is   equivalent  to  the  second  command  which  simply
  1153.    specifies  the  target  directory.  However,  when  the  target
  1154.    directory  is  a  default  directory,  the * wildcard character
  1155.    reduces  the number of characters to type. For example, to copy
  1156.    the local file CHESS.C to the remote default directory:
  1157.    
  1158.  
  1159.  
  1160.                              15
  1161.  
  1162.    Twin Express                                       User's Guide
  1163.  
  1164.  
  1165.  
  1166.      TWIN> COPY  CHESS.C  ~*
  1167.    
  1168.            It  may  be  useful  to abort a command when a group of
  1169.    files  is  specified.  This  may  occur,  for example, when you
  1170.    delete,  by  error, the wrong group of files! In this case, the
  1171.    command may be aborted by typing <CTRL-C>.
  1172.    
  1173.    2.8 MOVING TEXT FILES TO A DIFFERENT TYPE OF COMPUTER
  1174.    
  1175.            An  important feature of Twin Express is its ability to
  1176.    transfer  files  between  different  types  of  computers (e.g.
  1177.    between  Amiga  and  IBM-PC  computers).  This is of particular
  1178.    interest  for  text files since binary files containing data or
  1179.    programs  are  almost  useless on a different type of computer.
  1180.    Text  files  contain  printable  characters.  They  are used to
  1181.    store letters, documents, ASCII data and source programs.
  1182.    
  1183.            Unfortunately,  each  computer  has  its  own  internal
  1184.    organization  for  text  files. The end-of-line marker, end-of-
  1185.    file  marker  and  the  coding of special characters may change
  1186.    from one computer to another.
  1187.    
  1188.            At  this  time, Twin Express handles the translation of
  1189.    the  end-of-line  marker,  the  end-of-file  marker and 50 non-
  1190.    standard  characters  common  to  both Amiga and IBM compatible
  1191.    computers.   The   changes   are  described  in  the  following
  1192.    paragraphs:
  1193.    
  1194.      1. The  end-of-line  marker  is  translated  between  NL (new
  1195.         line)  on  the  Amiga  and  CR/LF  (carriage return / line
  1196.         feed) on the IBM-PC or compatible computers.
  1197.    
  1198.      2. A  <CTRL-Z>  marker  is  appended  to  the end of all text
  1199.         files  on  IBM-PC  or  compatible  computers.  Note:  this
  1200.         marker  is  added  even  if the marker is missing from the
  1201.         source file.
  1202.    
  1203.      3. The  Amiga  and IBM-PC machines share 50 characters having
  1204.         the   same   typeface  but  a  different  code.  A  simple
  1205.         translation  is  done  in this case. These characters are:
  1206.         á,  à,  â, ä, é, è, ê, ë, í, ì, î, ï, ó, ò, ô, ö, ú, ù, û,
  1207.         ü,  ÿ,  ç, Ç, É, Ä, Ö, Ü, ¿, ¡, ñ, Ñ, å, Å, æ, Æ, ß, µ, ¥,
  1208.         ±,  £, ¢, ¬, °, ², «, »,  , Ø, ¼, ½. The remaining special
  1209.         characters are left unmodified.
  1210.    
  1211.            The  TEXT option of the COPY command indicates that the
  1212.    source  file  contains  text rather than binary or raw data. It
  1213.    enables  the  translation  process. It is not required when the
  1214.    transfer  is done to the same type of computer. For example, to
  1215.    transfer  the  text  file  TWIN.DOC from the local directory to
  1216.    the file TWIN.TXT on a different remote computer:
  1217.    
  1218.      TWIN> COPY  TWIN.DOC  ~TWIN.TXT  TEXT
  1219.    
  1220.  
  1221.  
  1222.                              16
  1223.  
  1224.    Twin Express                                       User's Guide
  1225.  
  1226.  
  1227.  
  1228.            The  TYPE  command displays on screen the contents of a
  1229.    text  file. Twin Express automatically translates the file to a
  1230.    format  compatible  with  the local computer when the file is a
  1231.    remote  file from a different type of computer. For example, to
  1232.    display the contents of the remote file SONGS.SPA:
  1233.    
  1234.      TWIN>  TYPE  ~SONGS.SPA
  1235.    
  1236.    The  TYPE  command  assumes  that  SONGS.SPA is a text file and
  1237.    translates it, if necessary.
  1238.    
  1239.            A   word   of  caution  about  word  processors.  These
  1240.    programs  keep  some  formating information in your text files.
  1241.    This  information  may  change  from  one  type  of computer to
  1242.    another.   Twin   Express  does  not  translate  this  type  of
  1243.    information.  Therefore  you  may  want  to  transfer  the file
  1244.    without  the  TEXT option and then use a conversion program. On
  1245.    the  other hand, if the word processor output can be redirected
  1246.    to  an ASCII file, instead of the printer, this output file can
  1247.    be  transferred  with the TEXT option since it does not contain
  1248.    the formating information.
  1249.    
  1250.    2.9 ENABLING FAST TRANSFERS
  1251.    
  1252.            The  main  feature  of  Twin Express is its speed. High
  1253.    speed  serial  transfers  can  be achieved by using a high baud
  1254.    rate and/or a special transmission mode.
  1255.    
  1256.            On  the  Amiga computer, the hardware can transfer more
  1257.    than  1,000,000 bits per second (according to Commodore-Amiga).
  1258.    To   get   the  fastest  serial  transfers  between  two  Amiga
  1259.    computers  it  is  thus  a matter of selecting the highest baud
  1260.    rate  possible. In practice, this baud rate is actually limited
  1261.    by  CPU  speed  and  cable  capacitance  (ability  to oppose to
  1262.    changing  voltages).  The highest baud rate recommended for the
  1263.    Amiga  family  of computers is 190000. However, if you have two
  1264.    Amiga  3000  and  a short cable you may use baud rates of up to
  1265.    290000. For example, to execute Twin Express at 230000 baud:
  1266.    
  1267.      A> TWIN  SER  230000
  1268.    
  1269.    With  such  a  baud rate, the effective transfer speed is about
  1270.    22,000  bytes  per  second.  Raising  the  baud  rate, from its
  1271.    default  115200  baud,  is  the  recommended method to get high
  1272.    speed serial transfers between two Amiga computers.
  1273.    
  1274.            On  a  12.5  MHz  AT-type  computer,  the  hardware can
  1275.    transfer  data  at  up  to  115200  bits  per  second. Speed is
  1276.    actually  limited  by  the  hardware,  not  by  the CPU. To get
  1277.    faster  speeds,  the  user  must  select a special transmission
  1278.    mode  (EXPRESS).  On  a 12.5 MHz AT-type computer, it transfers
  1279.    about  100%  more  data  than  the  default  STANDARD mode. For
  1280.    example, to enable the EXPRESS mode:
  1281.    
  1282.  
  1283.  
  1284.                              17
  1285.  
  1286.    Twin Express                                       User's Guide
  1287.  
  1288.  
  1289.  
  1290.      TWIN> SET  MODE  EXPRESS
  1291.    
  1292.    This  allows a user to transfer files at about 22,000 bytes per
  1293.    second  using the default baud rate of 115200. You can also use
  1294.    this  mode with Amiga computers. However, with a high baud rate
  1295.    the increase in performance is lower.
  1296.    
  1297.            The  EXPRESS  mode  is the recommended mode of transfer
  1298.    unless  you  are  using a 3-wire cable or you run into a lot of
  1299.    transmission errors.
  1300.    
  1301.    2.10 INPUT FROM A COMMAND FILE
  1302.    
  1303.            Twin  Express  reads  its  commands  from  the standard
  1304.    input   file   used  upon  activation.  This  file  is  usually
  1305.    connected  to  the keyboard. However, it is possible to execute
  1306.    commands  from a disk file. The user just needs to redirect the
  1307.    standard  input  to  this  file.  For  example,  to execute the
  1308.    commands in file BACKUP.TNX:
  1309.    
  1310.      TWIN  <BACKUP.TNX
  1311.    
  1312.    The  file contains the same commands as would be entered from a
  1313.    keyboard, including the final QUIT command. For example:
  1314.    
  1315.      COPY  C:*.C  ~D:  SUBDIR  TEXT
  1316.      COPY  C:*.ASM  ~D:  SUBDIR  TEXT
  1317.      QUIT
  1318.    
  1319.    Note: commands files can be created with any text editor.
  1320.    
  1321.    
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.                              18
  1347.  
  1348.    Twin Express                                       User's Guide
  1349.  
  1350.  
  1351.  
  1352.    
  1353.                                COMMANDS
  1354.    
  1355.    
  1356.            This  chapter  provides detailed information about each
  1357.    Twin Express command.
  1358.    
  1359.            The  full  syntax  is  given  for  each command. Square
  1360.    brackets  ([])  indicate  optional  parameters.  Braces  ({  })
  1361.    indicate a choice from a list.
  1362.    
  1363.    3.1 CHDIR
  1364.    
  1365.    Syntax: CHDIR  [~]DirectoryName
  1366.    
  1367.            Twin  Express  supports  two  default  directories: the
  1368.    local  directory and the remote directory. These are defined by
  1369.    the  volumes  and  directories  in  use  when  Twin Express was
  1370.    activated.
  1371.    
  1372.            The  CHDIR command changes the default directory of the
  1373.    local  system  or  the  remote system. The default directory is
  1374.    used  whenever  the  user  specifies a name not starting at the
  1375.    root  directory  of  a  volume  (e.g.  CHESS.C  as  opposed  to
  1376.    /GAMES/SOURCES/CHESS.C).
  1377.    
  1378.            The  name  of  a local directory is used with the CHDIR
  1379.    command  to change the local default directory. For example, to
  1380.    change the local default directory to IBMGAMES on volume B:
  1381.    
  1382.      TWIN> CHDIR  B:IBMGAMES                           or
  1383.      TWIN> CHDIR  B:/IBMGAMES                          or
  1384.      TWIN> CHDIR  B:\IBMGAMES
  1385.    
  1386.    The  default drive is changed when a volume is specified in the
  1387.    pathname,  as  in  the  example above. This also indicates that
  1388.    the  directory  specified can be found in the root directory of
  1389.    that  volume  even  though  a  slash  or  a  back-slash  is not
  1390.    specified  after  the  colon.  Note: This behavior is different
  1391.    from that of PC-DOS and MS-DOS.
  1392.    
  1393.            A  remote  directory  name is used to change the remote
  1394.    default  directory.  Since this refers to a remote resource the
  1395.    name  must have the ~ prefix. For example, to change the remote
  1396.    default directory to AMIGAMES on volume DH0:
  1397.    
  1398.      TWIN> CHDIR  ~DH0:AMIGAMES                        or
  1399.      TWIN> CHDIR  ~DH0:/AMIGAMES                       or
  1400.      TWIN> CHDIR  ~DH0:\AMIGAMES
  1401.    
  1402.    3.2 COPY
  1403.    
  1404.    Syntax: COPY  [~]SourceOfData  [~]DestinationOfData  [SUBDIR]
  1405.                  [{BINARY|TEXT}]
  1406.  
  1407.  
  1408.                              19
  1409.  
  1410.    Twin Express                                       User's Guide
  1411.  
  1412.  
  1413.  
  1414.    
  1415.            The  COPY  command  creates copies of files. Source and
  1416.    destination files may be local or remote resources.
  1417.    
  1418.            In  its  simplest  form, the command COPY uses a source
  1419.    file  and a destination file on the same computer. For example,
  1420.    to  copy  the  local  file  AUTOEXEC.BAT  into  the  local file
  1421.    AUTOEXEC.OLD  and  to  copy the remote file startup-sequence to
  1422.    remote file old-startup-sequence:
  1423.    
  1424.      TWIN> COPY  AUTOEXEC.BAT  AUTOEXEC.OLD
  1425.      TWIN> COPY  ~startup-sequence  ~old-startup-sequence
  1426.    
  1427.    As  shown  above,  the remote resources must have the ~ prefix.
  1428.    Note:  the  target file gets the same creation date and time as
  1429.    the source file.
  1430.    
  1431.            A  more useful form, from a file transfer program point
  1432.    of  view,  is when the source file and the destination file are
  1433.    not  on  the  same system. This actually transfers the contents
  1434.    of  the source file to the destination system through the cable
  1435.    connected   to  the  serial  devices  of  both  computers.  For
  1436.    example,  to  copy the local file TITLES.LIB to file NEWHITS on
  1437.    the remote system:
  1438.    
  1439.      TWIN> COPY  TITLES.LIB  ~NEWHITS
  1440.    
  1441.            Source  file  names  may contain wildcards. This allows
  1442.    the  user  to  copy  many  files  with  a  single  command. For
  1443.    example,  to  copy all the .C files of the current directory to
  1444.    the directory SOURCES:
  1445.    
  1446.      TWIN> COPY  *.C  SOURCES
  1447.    
  1448.    Note:   when  the  source  name  contains  wildcards  or  is  a
  1449.    directory  name,  the  target  name  must  be  the  name  of  a
  1450.    directory.
  1451.    
  1452.            On   request,  COPY  can  also  process  the  files  of
  1453.    subdirectories.  This  is  indicated  by the SUBDIR option. For
  1454.    example,  to  copy  all  the  remote .EXE files from the remote
  1455.    directory   GAMES,  including  all  the  .EXE  files  found  in
  1456.    sudirectories  of  directory  GAMES,  to  the  local  directory
  1457.    DEMOS:
  1458.    
  1459.      TWIN> COPY  ~GAMES/*.EXE  DEMOS  SUBDIR           or
  1460.      TWIN> COPY  ~GAMES\*.EXE  DEMOS  SUBDIR
  1461.    
  1462.    In  this  case,  Twin Express first copies matching files found
  1463.    in  the  source  directory  to  the  target  directory. It then
  1464.    copies   matching   files   found   in   each   of  the  source
  1465.    subdirectories  to  subdirectories  of  the  same  name  in the
  1466.    target  directory.  If  a matching target subdirectory does not
  1467.    exist,  Twin  Express  creates the subdirectory and then copies
  1468.  
  1469.  
  1470.                              20
  1471.  
  1472.    Twin Express                                       User's Guide
  1473.  
  1474.  
  1475.  
  1476.    the   corresponding   files  to  it.  This  produces  a  target
  1477.    directory having the same structure as the source directory.
  1478.    
  1479.           The  TEXT option indicates that the source file contains
  1480.    text  (printable characters) rather than binary data. It allows
  1481.    Twin  Express  to  translate  your text files when you transfer
  1482.    them  between  an  Amiga  and  an IBM computer. For example, to
  1483.    transfer  all  the text files from the local directory BUSINESS
  1484.    to the remote directory LETTERS:
  1485.    
  1486.      TWIN> COPY  BUSINESS  ~LETTERS  TEXT
  1487.    
  1488.    More  information about the translation process can be found in
  1489.    section  2.8  of  this manual. By default, the BINARY option is
  1490.    used and no translation is done.
  1491.    
  1492.    3.3 DELETE
  1493.    
  1494.    Syntax: DELETE  FileName  [SUBDIR]
  1495.    
  1496.            The  DELETE  command removes local or remote files from
  1497.    a file system.
  1498.    
  1499.            A  local  file  name is used with the DELETE command to
  1500.    delete   a   local  file.  For  example,  to  delete  the  file
  1501.    REPORT.OLD in the default local directory:
  1502.    
  1503.      TWIN> DELETE  REPORT.OLD
  1504.    
  1505.    To  delete a remote file, the file name must have the ~ prefix.
  1506.    For  example,  to  delete  the  remote  file  REPORT.OLD in the
  1507.    default remote directory:
  1508.    
  1509.      TWIN> DELETE  ~REPORT.OLD
  1510.    
  1511.    Usage   of  wildcards  is  permitted  with  this  command.  For
  1512.    example,  to  delete  all  the  .MAP files in the local default
  1513.    directory:
  1514.    
  1515.      TWIN> DELETE  *.MAP
  1516.    
  1517.            On  request,  DELETE  can be extended to files found in
  1518.    subdirectories.  This  is  indicated  by the SUBDIR option. For
  1519.    example, to delete all the .LST files on the remote volume C:
  1520.    
  1521.      TWIN> DELETE  ~C:*.LST  SUBDIR                    or
  1522.      TWIN> DELETE  ~C:/*.LST  SUBDIR                   or
  1523.      TWIN> DELETE  ~C:\*.LST  SUBDIR
  1524.    
  1525.    3.4 DIR
  1526.    
  1527.    Syntax: DIR  [~][PathName]  [SUBDIR]
  1528.    
  1529.            The  DIR  command  displays the names of the files in a
  1530.  
  1531.  
  1532.                              21
  1533.  
  1534.    Twin Express                                       User's Guide
  1535.  
  1536.  
  1537.  
  1538.    local  or  remote directory. The command provides the following
  1539.    data  regarding  these  files:  the  file size (bytes), date of
  1540.    last  modification,  time  of  last  modification  and the file
  1541.    attributes.  For  example,  DIR  might  display  the  following
  1542.    information:
  1543.    
  1544.      Listing of directory C:\GAMES\CHESS
  1545.    
  1546.      CHESS.BAT                193  91-03-31  09:10:47  --CA  RW-D
  1547.      CHESS.C               245002  91-09-26  15:28:18  ---A  RW-D
  1548.      CHESS.EXE             113247  91-09-26  15:31:58  ----  RWED
  1549.      CHESS.DOC              35831  91-09-27  11:55:16  ----  RW-D
  1550.      OPENINGS           Directory  91-05-25  16:29:31  ----  RWED
  1551.      CHESS.O                54645  91-09-26  15:31:04  ----  RW-D
  1552.    
  1553.      Total size of files:  448918
  1554.    
  1555.            A  local  file name is used with the DIR command to get
  1556.    information  on  a  specific  local  file.  For example, to get
  1557.    information on the local file CHESS.C:
  1558.    
  1559.      TWIN> DIR  CHESS.C
  1560.    
  1561.    To  get  information  on a remote file, the file name must have
  1562.    the  ~  prefix.  For  example, to get information on the remote
  1563.    file GRAPHLIB:
  1564.    
  1565.      TWIN> DIR  ~GRAPHLIB
  1566.    
  1567.    Usage  of  wildcard  characters  is  permitted. For example, to
  1568.    display  information about all the files having a name starting
  1569.    with HOTEL:
  1570.    
  1571.      TWIN> DIR  HOTEL*
  1572.    
  1573.    To  get  the  complete  listing  of a particular directory, the
  1574.    user  must  supply a directory name instead of a file name. For
  1575.    example:  to  get  a  complete  listing  of  files in directory
  1576.    A:\BACKUP1:
  1577.    
  1578.      TWIN> DIR  A:BACKUP1                              or
  1579.      TWIN> DIR  A:\BACKUP1
  1580.      TWIN> DIR  A:/BACKUP1
  1581.    
  1582.    To  get a complete listing of a default directory, the user has
  1583.    the  choice  of  using  the  * wildcard character or no name at
  1584.    all.  For  example,  to  display  all  the  files of the remote
  1585.    default directory:
  1586.    
  1587.      TWIN> DIR  ~                                     or
  1588.      TWIN> DIR  ~*
  1589.    
  1590.    The  SUBDIR  option  can  be  used to also display the matching
  1591.    files  in subdirectories. For example: to get a list of all the
  1592.  
  1593.  
  1594.                              22
  1595.  
  1596.    Twin Express                                       User's Guide
  1597.  
  1598.  
  1599.  
  1600.    files having the .OLD extension on the current volume:
  1601.    
  1602.      TWIN> DIR  :*.OLD  SUBDIR                        or
  1603.      TWIN> DIR  /*.OLD  SUBDIR                        or
  1604.      TWIN> DIR  \*.OLD  SUBDIR
  1605.    
  1606.            The  file attributes define some characteristics of the
  1607.    file. Twin Express supports the following attributes:
  1608.    
  1609.      S: File is a system file.
  1610.      H: File is normally hidden.
  1611.      C: File is a command file (batch file, script file).
  1612.      P: File contains pure, re-entrant code.
  1613.      A: File has been archived since its last modification.
  1614.      R: File can be read (not read protected).
  1615.      W: File can be written, modified (not write protected).
  1616.      E: File can be executed (not execute protected).
  1617.      D: File can be deleted (not delete protected).
  1618.    
  1619.    Not  all  these attributes are supported on all of the systems.
  1620.    Twin  Express running on the IBM-PC or compatible machines does
  1621.    not  support the attribute P and simulates the attributes C, R,
  1622.    W, E, D.
  1623.    
  1624.    3.5 ECHO
  1625.    
  1626.    Syntax: ECHO UserText
  1627.    
  1628.            ECHO  displays  on the screen the text that follows the
  1629.    command.  For  example, to get the message "Remote Backup" upon
  1630.    the execution of the command ECHO:
  1631.    
  1632.      TWIN> ECHO Remote Backup
  1633.    
  1634.    The  purpose  of  this  command is to display comments when the
  1635.    input  to  Twin  Express  comes from a command file rather than
  1636.    the keyboard.
  1637.    
  1638.    3.6 HELP
  1639.    
  1640.    Syntax: HELP  [{TWIN|CABLE|USAGE|COMMANDS|EXAMPLES}]
  1641.    
  1642.            The  HELP  command  provides on-line information to the
  1643.    user.
  1644.    
  1645.            The  command  may  be used with or without a parameter.
  1646.    Without  a  parameter,  it  is a request for information on the
  1647.    command itself. Example:
  1648.    
  1649.      TWIN> HELP
  1650.    
  1651.    In  this  case,  the command only displays the topics for which
  1652.    help  is  available.  Actually,  the  user  can get information
  1653.    about  registration (TWIN), information about the wiring of the
  1654.  
  1655.  
  1656.                              23
  1657.  
  1658.    Twin Express                                       User's Guide
  1659.  
  1660.  
  1661.  
  1662.    null-modem  cable  used  for  the  serial transfers (CABLE), an
  1663.    introduction  to  the  basic  operations  (USAGE),  the command
  1664.    syntax (COMMANDS) and some typical examples (EXAMPLES).
  1665.    
  1666.            For  more  detailed  information,  the  topic  must  be
  1667.    specified  in the command. For example, to display a summary of
  1668.    all the commands:
  1669.    
  1670.      TWIN> HELP  COMMANDS
  1671.    
  1672.    3.7 MKDIR
  1673.    
  1674.    Syntax: MKDIR  [~]DirectoryName
  1675.    
  1676.            The  MKDIR  command creates a new directory in the file
  1677.    system of the local or the remote computer.
  1678.    
  1679.            A  local  directory  name  is  used  to  create a local
  1680.    directory.  For  example, to create the subdirectory IBMNEWS in
  1681.    the current default directory:
  1682.    
  1683.      TWIN> MKDIR  IBMNEWS
  1684.    
  1685.    A  ~  prefix  is used at the beginning of the directory name to
  1686.    create   a   remote  directory.  For  example,  to  create  the
  1687.    directory AmiNews in the remote root directory:
  1688.    
  1689.      TWIN> MKDIR  ~/AmiNews                            or
  1690.      TWIN> MKDIR  ~\Aminews                            or
  1691.      TWIN> MKDIR  ~:AmiNews
  1692.    
  1693.    3.8 QUIT
  1694.    
  1695.    Syntax: QUIT
  1696.    
  1697.            This   command  allows  the  user  to  exit  from  Twin
  1698.    Express.  Note  that you also exit from the remote program if a
  1699.    connection had been established with the remote.
  1700.    
  1701.            After  exiting  from  the  program  you are left in the
  1702.    directory  from  which  you  activated  Twin  Express even if a
  1703.    different  default  directory  (via  CHDIR)  had  been selected
  1704.    during your session with the program.
  1705.    
  1706.    3.9 RENAME
  1707.    
  1708.    Syntax: RENAME  [~]SourceName  [~]TargetName  [SUBDIR]
  1709.    
  1710.            The  RENAME command changes the current name of a local
  1711.    or a remote file to a new name.
  1712.    
  1713.            The  current name and the new name are the two required
  1714.    parameters  to this command. For example, to change the name of
  1715.    the local file TEST.ASM to DONJON.ASM:
  1716.  
  1717.  
  1718.                              24
  1719.  
  1720.    Twin Express                                       User's Guide
  1721.  
  1722.  
  1723.  
  1724.    
  1725.      TWIN> RENAME  TEST.ASM  DONJON.ASM
  1726.    
  1727.    You  can  also  "rename"  the  file  so as to change its parent
  1728.    directory.  This  actually moves the file to another directory.
  1729.    For example, to move file DONJON.ASM to the directory GAMES:
  1730.    
  1731.      TWIN> RENAME  DONJON.ASM  :GAMES                  or
  1732.      TWIN> RENAME  DONJON.ASM  /GAMES                  or
  1733.      TWIN> RENAME  DONJON.ASM  \GAMES
  1734.    
  1735.    Usually,  most systems won't allow the user to rename a file to
  1736.    a  different  volume. In this case, the user must copy the file
  1737.    to the new volume and delete the old file.
  1738.    
  1739.            Both  the current name and the new name must have the ~
  1740.    prefix  to  rename  a  remote  file. For example, to change the
  1741.    name  of  remote  file  TEST.PAS to DRAGON.PAS in the directory
  1742.    GAMES of the remote computer:
  1743.    
  1744.      TWIN> RENAME  ~TEST.PAS  ~:GAMES/DRAGON.PAS       or
  1745.      TWIN> RENAME  ~TEST.PAS  ~:GAMES\DRAGON.PAS       or
  1746.      TWIN> RENAME  ~TEST.PAS  ~/GAMES/DRAGON.PAS       or
  1747.      TWIN> RENAME  ~TEST.PAS  ~\GAMES\DRAGON.PAS
  1748.    
  1749.    The  ~  prefix is required in both names, otherwise the meaning
  1750.    would  be  "move  file  to  another  system"  which  is not the
  1751.    purpose of this command.
  1752.    
  1753.            The  command RENAME also supports the use of wildcards.
  1754.    This  is  used  to  move  a  selected group of files to another
  1755.    directory.  For  example, to move all the files ending in .C to
  1756.    the directory CSTUFF:
  1757.    
  1758.      TWIN> RENAME  *.C  :CSTUFF                        or
  1759.      TWIN> RENAME  *.C  /CSTUFF                        or
  1760.      TWIN> RENAME  *.C  \CSTUFF
  1761.    
  1762.    With  such a command, all the selected files are moved to a new
  1763.    directory. However, all of them keep their original name.
  1764.    
  1765.    3.10 RMDIR
  1766.    
  1767.    Syntax: RMDIR  [~]DirectoryName
  1768.    
  1769.            The   RMDIR   command  removes  a  local  or  a  remote
  1770.    directory from the file system.
  1771.    
  1772.            The  name  of  a local directory is used with the RMDIR
  1773.    command  to  delete  a  local  directory  from  the system. For
  1774.    example,  to  remove  the  local subdirectory OLDSTUFF from the
  1775.    current default directory:
  1776.    
  1777.      TWIN> RMDIR  OLDSTUFF
  1778.  
  1779.  
  1780.                              25
  1781.  
  1782.    Twin Express                                       User's Guide
  1783.  
  1784.  
  1785.  
  1786.    
  1787.    A  remote  directory  name must have the ~ prefix. For example,
  1788.    to   delete   the  directory  OBSOLETE  from  the  remote  root
  1789.    directory:
  1790.    
  1791.      TWIN> RMDIR  ~:OBSOLETE                           or
  1792.      TWIN> RMDIR  ~/OBSOLETE                           or
  1793.      TWIN> RMDIR  ~\OBSOLETE
  1794.    
  1795.    Most  systems prohibit deletion of non-empty directories, which
  1796.    is  a good security feature. The user must remove all the files
  1797.    and any subdirectories from the directory before deleting it.
  1798.    
  1799.    3.11 SET
  1800.    
  1801.    
  1802.    Syntax: SET MODE {STANDARD|EXPRESS}
  1803.    
  1804.            The  SET command allows a user to select one of the two
  1805.    serial  transmission  modes.  These  are:  STANDARD  (the basic
  1806.    mode) and EXPRESS (a high speed mode).
  1807.    
  1808.            The  STANDARD  mode transmits data at the speed defined
  1809.    by  the current baud rate. At 115200 baud, it transfers data at
  1810.    about  11,000 bytes per second. This is the default mode. It is
  1811.    also  the  mode recommended when transmission errors occur with
  1812.    the high speed mode.
  1813.    
  1814.            The  EXPRESS  mode  is a high speed mode that transmits
  1815.    more  data  than  the  standard  mode for a given baud rate. At
  1816.    115200  baud,  it  transfers  data  at  about  22,000 bytes per
  1817.    second on 12.5 MHz AT-type computers.
  1818.    
  1819.            There  is  no  need  to  type  a  SET  command  on both
  1820.    machines.  Twin Express automatically puts the remote system in
  1821.    the  same mode. For example, to enable the EXPRESS mode on both
  1822.    computers:
  1823.    
  1824.      TWIN> SET  MODE  EXPRESS
  1825.    
  1826.    3.12 SHOW
  1827.    
  1828.    Syntax: SHOW {DEVICE|BAUD|SPEED|STATUS|PATH}
  1829.    
  1830.            The  SHOW  command  allows  a  user  to get information
  1831.    about  the  current  device,  current baud rate, current speed,
  1832.    default directories or status.
  1833.    
  1834.            The  DEVICE option indicates the current serial port in
  1835.    use on the local computer.
  1836.    
  1837.            The  BAUD option indicates the current baud rate in use
  1838.    on the local computer.
  1839.    
  1840.  
  1841.  
  1842.                              26
  1843.  
  1844.    Twin Express                                       User's Guide
  1845.  
  1846.  
  1847.  
  1848.            The  SPEED  option  indicates  the  estimated  transfer
  1849.    speed  (in bytes per second) according to the current baud rate
  1850.    and selected mode.
  1851.    
  1852.            The  PATH  option  indicates  the  default  directories
  1853.    (local and remote).
  1854.    
  1855.            The  STATUS  option  displays the type of the local and
  1856.    the  remote  systems  (Amiga  or  IBM compatible), the names of
  1857.    local  and  remote ports and type of cable (3 or 7 wires) being
  1858.    used.
  1859.    
  1860.            For   example,   to   display   information  about  the
  1861.    estimated transfer speed:
  1862.    
  1863.      TWIN> SHOW  SPEED
  1864.    
  1865.    3.13 TREE
  1866.    
  1867.    Syntax: TREE [~][DirectoryName]
  1868.    
  1869.            The  TREE command displays the structure of a directory
  1870.    and  of all the subdirectories nested within it. For example, a
  1871.    GAMES directory might have the following structure:
  1872.    
  1873.      GAMES
  1874.        ADVENTURE
  1875.          MS-TREK
  1876.          COMBAT
  1877.        ARCADE
  1878.          BRICKS
  1879.          PINBALL
  1880.        MISC
  1881.          GAMBLING
  1882.            BLACKJACK
  1883.          BOARDS
  1884.            CHESS
  1885.            CHECKERS
  1886.          CARDS
  1887.            BRIDGE
  1888.    
  1889.            A  local  directory  name is used with the TREE command
  1890.    to  display the structure of a local directory. For example, to
  1891.    view the directory structure of the local directory GAMES:
  1892.    
  1893.      TWIN> TREE GAMES
  1894.    
  1895.    The  directory name is not required to get the structure of the
  1896.    default directory.
  1897.    
  1898.            A  directory  name  with  a ~ prefix is used to display
  1899.    the  structure  of a remote directory. For example, to view the
  1900.    directory structure of the remote directory GAMES:
  1901.    
  1902.  
  1903.  
  1904.                              27
  1905.  
  1906.    Twin Express                                       User's Guide
  1907.  
  1908.  
  1909.  
  1910.      TWIN> TREE ~GAMES
  1911.    
  1912.    3.14 TYPE
  1913.    
  1914.    Syntax: TYPE TextFileName
  1915.    
  1916.            The  TYPE command displays the contents of a local or a
  1917.    remote  text  file,  one page at a time. The user may abort the
  1918.    command by typing <CTRL-C>.
  1919.    
  1920.            A  local  name is used with the TYPE command to display
  1921.    a  local  text  file.  For  example,  to display the local file
  1922.    AUTOEXEC.BAT:
  1923.  
  1924.      TWIN> TYPE  AUTOEXEC.BAT
  1925.  
  1926.     To  display a remote text file, the file name must have
  1927.    the   ~  prefix.  For  example,  to  display  the  remote  file
  1928.    startup-sequence:
  1929.  
  1930.      TWIN> TYPE  ~startup-sequence
  1931.  
  1932.    You  can  display remote text files even if the remote computer
  1933.    is  not  compatible  with the local computer (e.g. Amiga vs IBM
  1934.    PC).  In  this  case,  Twin  Express will translate the file as
  1935.    described in section 2.8 of this manual.
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.                              28
  1967.  
  1968.    Twin Express                                       User's Guide
  1969.  
  1970.  
  1971.  
  1972.    
  1973.                             ERROR MESSAGES
  1974.    
  1975.    
  1976.            Errors  fall  in  three  classes: startup errors, usage
  1977.    errors and communication errors.
  1978.    
  1979.    Startup errors:
  1980.    
  1981.            Startup  errors  are  problems detected upon activation
  1982.    of Twin Express. Section 1.7 describes these errors in detail.
  1983.    
  1984.    Usage errors:
  1985.    
  1986.            Usage  errors indicate mistakes in a user command (e.g.
  1987.    bad  command,  missing  parameters) or an error detected during
  1988.    execution  of  a  command. These messages always start with the
  1989.    word  "Error".  For  example, an error message indicating a bad
  1990.    command:
  1991.    
  1992.      Error: Invalid command.
  1993.    
  1994.    A  usage  error always terminates the program when the input is
  1995.    from a command file.
  1996.    
  1997.    Communication errors:
  1998.    
  1999.            Communication   errors   are   indicated   by  messages
  2000.    enclosed  between  >>>  and  <<<.  The  message  specifies some
  2001.    unusual  conditions  related  to  communication with the serial
  2002.    link. You should not see many of them under normal conditions.
  2003.    
  2004.            Most  communication  error  messages  indicate  that an
  2005.    error  was found in a block of data. These errors are generated
  2006.    by   bad   connections,   high  baud  rates,  long  cables  and
  2007.    electrical  interference.  As  a  result, one or more bits have
  2008.    been  changed  in  a  block  of data transmitted via the serial
  2009.    cable.   This  condition  may  produce  one  of  the  following
  2010.    messages:
  2011.    
  2012.      >>> Last packet data transmitted with error <<<
  2013.      >>> Last packet header transmitted with error <<<
  2014.      >>> Last packet data received with error <<<
  2015.      >>> Last packet header received with error <<<
  2016.    
  2017.    In  this  case,  Twin Express retransmits the block of data and
  2018.    the  corrupted  block  is  discarded. It does not mean that the
  2019.    transmitted  files  contain these transmission errors. However,
  2020.    if  you  have  many  of these errors (say more than one error /
  2021.    million  bytes) you should consider using a slower transmission
  2022.    mode  or  a  slower  baud  rate  to  avoid  possible undetected
  2023.    errors.
  2024.    
  2025.            Retransmission  of bad blocks of data may produce other
  2026.  
  2027.  
  2028.                              A1
  2029.  
  2030.    Twin Express                                       User's Guide
  2031.  
  2032.  
  2033.  
  2034.    types  of messages under some circumstances. As before, it does
  2035.    not   mean   that   errors   have  been  introduced  into  your
  2036.    transmitted  files  (serious errors abort the program instead).
  2037.    These messages are:
  2038.    
  2039.      >>> Duplicate of a packet (packet ignored) <<<
  2040.      >>> Unexpected collision of two packets <<<
  2041.      >>> Collision of two packets (recovered) <<<
  2042.      >>> Fatal collision of two packets detected <<<
  2043.      >>> Fatal packet numbering errors <<<
  2044.    
  2045.    These  messages  might  also  appear  as a result of a software
  2046.    problem.  Please  contact  OMNICODE if you repeatedly get these
  2047.    messages at a low baud rate.
  2048.    
  2049.            Once  in  a  while  you  might see one of the following
  2050.    messages:
  2051.    
  2052.      >>> Break detected: bad device or cable problem <<<
  2053.      >>> Remote computer does not respond <<<
  2054.      >>> Waiting for remote to reply <<<
  2055.    
  2056.    They  usually  indicate  a  cable with a bad connection, a dis-
  2057.    connected  cable  or  a  program  waiting  for  completion of a
  2058.    system  request.  You  should  check whether the cable is still
  2059.    properly  connected or whether you have a system request on the
  2060.    remote computer.
  2061.    
  2062.         The  remaining  errors  are usually encountered during the
  2063.    debugging  of  the  communication  protocol  or with a very bad
  2064.    serial  link.  If  you get one of the following messages, check
  2065.    your  cable  and  try  to  execute  the program at a lower baud
  2066.    rate:
  2067.    
  2068.      >>> Sender got an out of sync ACK/NAK/SYN/CAN <<<
  2069.      >>> Receiver got an out of sync ACK/NAK/SYN/CAN <<<
  2070.      >>> Sender received an unrecognized reply <<<
  2071.      >>> Receiver got an unrecognized character <<<
  2072.      >>> Time-out while receiving packet header <<<
  2073.      >>> Receiver failed to acknowledge packet header <<<
  2074.      >>> Time-out while receiving packet data <<<
  2075.      >>> Sender failed to send data checksum <<<
  2076.      >>> Receiver failed to acknowledge packet data <<<
  2077.    
  2078.    
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.                              A2
  2091.  
  2092.    Twin Express                                       User's Guide
  2093.  
  2094.  
  2095.  
  2096.    
  2097.                           LICENSE AGREEMENT
  2098.    
  2099.    
  2100.            In   consideration  of  payment  of  the  license  fee,
  2101.    OMNICODE   grants  the  licensee  the  following  non-exclusive
  2102.    rights:
  2103.    
  2104.      1. The  licensee  owns  the  media  on  which the software is
  2105.         distributed.   However,   the   software  itself  and  the
  2106.         documentation remain the property of OMNICODE.
  2107.    
  2108.      2. The  licensee may install and use this software on as many
  2109.         computers  as  have  been  registered. The initial license
  2110.         (registration) is valid for two computers.
  2111.    
  2112.      3. Each  of  the  computers  on  which  the software has been
  2113.         installed may be used by any number of users.
  2114.    
  2115.      4. The  licensee  may  move the software from one computer to
  2116.         another  as  long  as the number of computers that use the
  2117.         software  does  not  exceed  the  number  of computers for
  2118.         which the license costs have been paid.
  2119.    
  2120.            All  rights not expressly granted in this agreement are
  2121.    reserved by OMNICODE.
  2122.    
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.                              B1
  2153.  
  2154.    Twin Express                                       User's Guide
  2155.  
  2156.  
  2157.  
  2158.    
  2159.                        DISTRIBUTION STATEMENT
  2160.    
  2161.    
  2162.            For  the  purposes  of  this  distribution statement, a
  2163.    distributor   is  any  person,  organization,  club,  group  or
  2164.    company  making  the Twin Express package available to somebody
  2165.    else.
  2166.    
  2167.            Permission  is  hereby  granted  to  any distributor to
  2168.    copy,  distribute,  or  store  this  package  in  a library, an
  2169.    information  system  or  a bulletin board system as long as all
  2170.    the following rules are respected:
  2171.    
  2172.      1.  The package may not be sold or leased out.
  2173.    
  2174.      2.  The  package  may  not  be bound, attached or linked to a
  2175.          salable  product.  In particular, it may not be installed
  2176.          on  the hard disk of a computer being sold or distributed
  2177.          with any commercial product.
  2178.    
  2179.      3.  Notwithstanding  rule  2,  a  distributor  may  charge  a
  2180.          reasonable  fee  to  cover  the cost of a diskette and/or
  2181.          mailing and/or handling and/or connect time.
  2182.    
  2183.      4.  The  package  may not be distributed via a disk magazine.
  2184.          For  the purposes of this rule, a disk magazine is either
  2185.          a  magazine  normally sold with an accompanying disk or a
  2186.          simple  advertising  cover  containing a disk. These disk
  2187.          magazines  are  usually  found  in  bookstores with other
  2188.          computer magazines.
  2189.    
  2190.      5.  Notwithstanding  rules  2  and  4,  the  publisher  of  a
  2191.          standard  magazine  may  offer, as a separate service, to
  2192.          send  a copy of this package to its readers or to make it
  2193.          available  for  downloads. For the purposes of this rule,
  2194.          a  standard  magazine  is  a  magazine  sold  without  an
  2195.          accompanying disk.
  2196.    
  2197.      6.  Distribution  of  a printed copy of the documentation, in
  2198.          whole or in part, is prohibited.
  2199.    
  2200.      7.  With  one  exception,  the  package  may not be modified.
  2201.          That  is,  the  files  included in the package may not be
  2202.          modified,  substituted,  deleted  or  mixed with files of
  2203.          other  software.  However,  the distributor may add files
  2204.          describing its distribution service to the package.
  2205.    
  2206.      8.  All  the  files  included  in the package must be distri-
  2207.          buted  together.  The package shall be distributed via an
  2208.          archive  file  (library  format)  or  as  files stored in
  2209.          their own directory.
  2210.    
  2211.      9.  A  distribution  diskette  may have many archive files or
  2212.  
  2213.  
  2214.                              C1
  2215.  
  2216.    Twin Express                                       User's Guide
  2217.  
  2218.  
  2219.  
  2220.          directories  containing  other shareware or public domain
  2221.          software.
  2222.    
  2223.      10. The  distributor  may  not distribute the package as free
  2224.          software  or  public  domain software. Whenever possible,
  2225.          the  distributor  shall  indicate  that  the  package  is
  2226.          shareware software.
  2227.    
  2228.      11. The  distributor  agrees  to  stop  distribution  of this
  2229.          package as soon as notified by OMNICODE.
  2230.    
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.                              C2
  2277.  
  2278.    Twin Express                                       User's Guide
  2279.  
  2280.  
  2281.  
  2282.    
  2283.                          PROBLEM REPORT FORM
  2284.    
  2285.    
  2286.    DATE           ________________________________________________
  2287.    NAME           ________________________________________________
  2288.    COMPANY        ________________________________________________
  2289.    ADDRESS        ________________________________________________
  2290.                   ________________________________________________
  2291.                   ________________________________________________
  2292.                   Country ___________ Zip code  __________________
  2293.    TEL            ___________________ FAX       __________________
  2294.    REGISTRATION # ___________________ (required for a reply...)   
  2295.    
  2296.    
  2297.    PRODUCT        Twin Express_______ RELEASE   __________________
  2298.    
  2299.    
  2300.    COMPUTER BRAND _______________ OPERATING SYSTEM _______________
  2301.    CPU TYPE       _______________ RELEASE          _______________
  2302.    CPU CLOCK      _______________ FLOPPY DISK TYPE _______________
  2303.    
  2304.    
  2305.    PROBLEMS,      ________________________________________________
  2306.    ENHANCEMENTS,  ________________________________________________
  2307.    SUGGESTIONS,   ________________________________________________
  2308.    REQUESTS...    ________________________________________________
  2309.                   ________________________________________________
  2310.                   ________________________________________________
  2311.                   ________________________________________________
  2312.                   ________________________________________________
  2313.                   ________________________________________________
  2314.                   ________________________________________________
  2315.                   ________________________________________________
  2316.                   ________________________________________________
  2317.                   ________________________________________________
  2318.                   ________________________________________________
  2319.    
  2320.    Note: if possible, indicate how to reproduce the problem.
  2321.    
  2322.    Send to OMNICODE
  2323.            P.O. Box 128 Ahuntsic
  2324.            Montréal [Québec]
  2325.            CANADA H3L 3N7                 FAX: (514)385-6455
  2326.    
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337.  
  2338.                              D1
  2339.  
  2340.    Twin Express                                       User's Guide
  2341.  
  2342.  
  2343.  
  2344.    
  2345.                      REGISTRATION AND ORDER FORM
  2346.    
  2347.    
  2348.    DATE           ________________________________________________
  2349.    NAME           ________________________________________________
  2350.    COMPANY        ________________________________________________
  2351.    ADDRESS        ________________________________________________
  2352.                   ________________________________________________
  2353.                   ________________________________________________
  2354.                   Country ____________ Zip code  _________________
  2355.    TEL            ____________________ FAX       _________________
  2356.    REGISTRATION # ____________________ (required for items 2 - 3) 
  2357.    
  2358.    COMPUTER BRAND _______________ OPERATING SYSTEM _______________
  2359.    CPU TYPE       _______________ RELEASE          _______________
  2360.    CPU CLOCK      _______________ FLOPPY DISK TYPE _______________
  2361.    
  2362.    COMPUTER BRAND _______________ OPERATING SYSTEM _______________
  2363.    CPU TYPE       _______________ RELEASE          _______________
  2364.    CPU CLOCK      _______________ FLOPPY DISK TYPE _______________
  2365.    
  2366.    HOW DID YOU GET A COPY OF TWIN EXPRESS (a-g) ?  _______________
  2367.      a) Friend                         Name & address of d,e,f,g
  2368.      b) Office                         ___________________________
  2369.      c) Information system (e.g. BIX)  ___________________________
  2370.      d) Bulletin Board System (BBS)    ___________________________
  2371.      e) Users group - club             ___________________________
  2372.      f) Shareware distributor          ___________________________
  2373.      g) Other ________________________ ___________________________
  2374.    
  2375.    EXPECTED USAGE OF TWIN EXPRESS:
  2376.    _______________________________________________________________
  2377.    _______________________________________________________________
  2378.    _______________________________________________________________
  2379.    _______________________________________________________________
  2380.    _______________________________________________________________
  2381.    
  2382.    YOUR COMMENTS ABOUT TWIN EXPRESS:
  2383.    _______________________________________________________________
  2384.    _______________________________________________________________
  2385.    _______________________________________________________________
  2386.    _______________________________________________________________
  2387.    _______________________________________________________________
  2388.    
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.                              E1
  2401.  
  2402.    Twin Express                                       User's Guide
  2403.  
  2404.  
  2405.  
  2406.    
  2407.    QTY                    PRODUCT                          PRICE  
  2408.    
  2409.    ___ Registration for 2 computers             (30.00 $) ________
  2410.          (includes 1 manual and 2 diskettes)
  2411.    
  2412.    ___ Extra license for 1 computer             (10.00 $) ________
  2413.    
  2414.    ___ Extra manual                              (9.00 $) ________
  2415.    
  2416.    ___ Latest update diskettes                   (7.00 $) ________
  2417.    
  2418.                                                    Total: ________
  2419.    
  2420.    
  2421.    
  2422.    
  2423.    
  2424.    
  2425.    All prices are in Canadian dollars.
  2426.    Prices are subject to change without notice.
  2427.    Prices include Canadian taxes where applicable.
  2428.    Use a money order or a check drawn on a Canadian bank.
  2429.    
  2430.    
  2431.    
  2432.    
  2433.    
  2434.    
  2435.    Send to OMNICODE
  2436.            P.O. Box 128 Ahuntsic
  2437.                     Montréal [Québec]
  2438.                     CANADA H3L 3N7
  2439.  
  2440.