home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 323.lha / Remote / remote.doc < prev    next >
Encoding:
Text File  |  1989-12-11  |  7.4 KB  |  173 lines

  1.  
  2.         REMOTE AUX: Support             Steve Drew  Oct, 1989
  3.         -------------------
  4.  
  5.         Here are  some  utilities  I  wrote  to enchance and support,
  6.         remote AUX:   logins.    Including  Zmodem transfers, editing
  7.         files, password security, and my enchanced AUX:  handler.
  8.         
  9.         
  10.         Files included in this archive:
  11.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12.                 
  13.         sd_aux_handler
  14.         mountlist
  15.         
  16.                 This is version 1.1 of my aux handler an  upgrade  to
  17.                 version  1.0a  release  a  couple  of  years ago.  It
  18.                 performs the  same as the commodore 1.3 AUX:  handler
  19.                 with the following improvments:
  20.                 
  21.                         - Supports AZ Zmodem program (see below)
  22.                         - ^R key (retype current line)
  23.                         - Better  typeahead  handling.    Typing    a
  24.                           command while the display is  active,  does
  25.                           not stop the current output, instead  it is
  26.                           buffered  and  printed  after  the next CLI
  27.                           prompt.    (Like VMS).  To stop the current
  28.                           output just  use  standard XON, XOFF.  This
  29.                           is much better  when over the modem as with
  30.                           the 1.3 aux:   handler any line noise would
  31.                           stop the current output until  ^X  or  <CR>
  32.                           was entered.
  33.                        -  When  the  typeahead  buffer  is full  AUX:
  34.                           sends a BELL back to the user.
  35.                        -  Support to  'kill  off' a AUX:  CLI process
  36.                           via  the  'ECHO >AUX:ENDCLI'  command  from
  37.                           another CLI window.  
  38.                        -  Prevents multiple 'NEWCLI AUX:' commands.
  39.  
  40.                 The  mountlist  file  needs  to be inserted into your
  41.                 DEVS:mountlist  file.     Make  sure  to  remove  the
  42.                 definition of the commodore  AUX:   handler from your
  43.                 mountlist if you are planning to use mine.
  44.                           
  45.         aux-startup     
  46.                 
  47.                 This is a Execute script file to initialize  a  Hayes
  48.                 modem  for auto answer, noecho, and to start the  CLI
  49.                 (NewShell) over the AUX:  port. 
  50.         
  51.         aux.login
  52.         
  53.                 This  is  the  login file run by the NewShell process
  54.                 that  is  started  over  the AUX:.  It sets up a  few
  55.                 aliases,  runs  'reqoff'  and  then   the  'password'
  56.                 program to wait for the password to be entered.
  57.         
  58.         reqoff
  59.         
  60.                 A small utility to turn of  system requesters for the
  61.                 current  process.    Since  accidently  referencing a
  62.                 non-mounted volume would hang the AUX:  process until
  63.                 the system requester was canceled using the mouse.
  64.         
  65.         password
  66.         
  67.                 Program that will  lock up the current console device
  68.                 (AUX:) until the correct  password  is  entered.   It
  69.                 does not echo the password or provide any prompting.
  70.         
  71.         emacs
  72.         .emacsrc
  73.         
  74.                 This is standard Emacs  3.9  which I have modified to
  75.                 support running over the AUX:  port to any ansi style
  76.                 terminal.   (It also still works fine on  other  than
  77.                 the aux:  port) The  .emacsrc  file  redefines  a few
  78.                 keys such not using ^S for  search,  and should be in
  79.                 your current directory or C: directory.
  80.  
  81.         az
  82.                 
  83.                 A utility I wrote that  uses  XPRZmodem.library  file
  84.                 protocol.  AZ opens shares the  port  with  the  AUX:
  85.                 and    provides   the  interface  i/o  routines  that
  86.                 XPRZmodem  requires.    This  will not work with  the
  87.                 commodore  1.3  AUX:    handler,  since  the 1.3 AUX:
  88.                 handler does  not support any method of releasing the
  89.                 Serial port to a protocol program. 
  90.                 The  aux.login  file  contains  aliases for az.    It
  91.                 defines  the  alias  'rz'  and  'sz' for sending  and
  92.                 receiving  files.   For help on AZ's options type  AZ
  93.                 <Return>.
  94.                 This  utility  requires the  XPRZmodem.library  file,
  95.                 (version 1.0 or version 2.0).
  96.  
  97.                 
  98.         Installation instructions
  99.         ~~~~~~~~~~~~~~~~~~~~~~~~~
  100.  
  101.         Before  starting,  your  preferences  should have the  serial
  102.         device  set  for  the  desired  baud  rate,  and  your  hayes
  103.         compatable modem turned on.
  104.         
  105.         Also you must have shell-seg resident.
  106.                                 
  107.         1.  Create a directory to contain the above files.  And place
  108.             them there.
  109.         
  110.         2.  Assign the logical 'REM:' to be this directory.
  111.  
  112.         3.  Edit the aux.login  file and find the text 'password pw'.
  113.             Change 'pw' to be your desired password.
  114.         
  115.        *4.  Copy sd-aux-handler to l:
  116.         
  117.        *5.  Add the mountlist  segment  to  your  DEVS:mountlist,  or
  118.             optionally 'MOUNT AUX: FROM REM:MOUNTLIST' will work.
  119.         
  120.         Notes:
  121.         
  122.         Step 4,5 are optional if  you  wish  to  use my aux:  handler
  123.         instead of the 1.3 AUX: handler.
  124.         
  125.  
  126.         Usage
  127.         ~~~~~
  128.         
  129.       - STARTING A AUX: Process
  130.  
  131.         Once installed and AUX:  is mounted all that is needed, is to
  132.         startup a CLI process on the AUX:  port.  This  is  initiated
  133.         by  the  script 'aux-startup'.  So you may choose to run this
  134.         as part  of  your  startup-sequence  or  just  by issuing the
  135.         command 'EXECUTE rem:aux-startup'  when you have the need for
  136.         allowing remote dailup connections to your AUX:  port.
  137.  
  138.         Then upon dialing in  the modem performs auto answer, and you
  139.         enter  your password (case sensitive),  and  then  receive  a
  140.         welcome  message  and  the  fimilar AShell  prompt.    
  141.  
  142.         Most programs which just  use  the  current CON:  window work
  143.         fine with AUX:.
  144.         
  145.         Before  disconnecting  it  is  advisable  to  enter  the "lo"
  146.         command which  is  aliased to re-run the aux.login file which
  147.         leaves your system  at the password prompt, or ENDCLI to stop
  148.         the AUX:  process all together.
  149.  
  150.       - REMOTELY Stopping an AUX: Process
  151.         
  152.         Once a CLI is  running  on  the  AUX:  port, you can remotely
  153.         cause the CLI to 'ENDCLI' by issuing the following command:
  154.         ECHO >AUX:ENDCLI , from another CLI window.
  155.         
  156.         The  sd-aux-handler  detects  a  file    open    request  for
  157.         'AUX:ENDCLI' and imediatley causes an ENDCLI  command  to  be
  158.         sent to the current reader of the  AUX:  device.  Note:  This
  159.         does not work with the 1.3 AUX:   handler,  and will not work
  160.         if  the  CLI  running  on the AUX:  is  currently  running  a
  161.         program other than 'password'.
  162.  
  163.  
  164.     Have fun,
  165.     
  166.     /s
  167. ----------------------------------------------------------------------------
  168.         Steve Drew at    ENET:    CGFSV1::DREW
  169.                 ARPA:    drew%cgofs.dec.com@decwrl.dec.com
  170.                 USENET:  {decvax!decwrl}!cgofs.dec.com!drew    
  171. ---------------------------------------------------------------------------
  172.  
  173.