home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / misc / 426 < prev    next >
Encoding:
Text File  |  1993-01-28  |  3.3 KB  |  72 lines

  1. Newsgroups: comp.sys.sgi.misc
  2. Path: sparky!uunet!ukma!darwin.sura.net!newsserver.jvnc.net!yale.edu!news.yale.edu!neutron!dcs
  3. From: dcs@neutron.chem.yale.edu (Betty Freeborn)
  4. Subject: Script wrapper for remote logins
  5. Message-ID: <1993Jan28.223833.21832@news.yale.edu>
  6. Sender: news@news.yale.edu (USENET News System)
  7. Nntp-Posting-Host: neutron.chem.yale.edu
  8. Organization: Yale University
  9. X-Newsreader: TIN [version 1.1 PL8]
  10. Date: Thu, 28 Jan 1993 22:38:33 GMT
  11. Lines: 59
  12.  
  13. Hi all,
  14.  
  15. 'go' is a script wrapper for ftp/rlogin/telnet etc. which I wrote and have
  16. been using for some time. It's been sufficiently useful and its "database"
  17. has gotten sufficiently large that I thought others might be interested.
  18. Here's a chunk of the manpage:
  19.  
  20. EXAMPLES
  21.      Suppose that your database contains the following:
  22.  
  23.        # Keys:Title:Host:Client:Leading opts:Following opts:Xwsh opts:Go opts
  24.        # Separate keys with "|". Begin keys for client entries with "_".
  25.        # Put the word "none" in empty fields.
  26.  
  27.        # Clients
  28.  
  29.        _gopher:gopher:none:gopher:none:none:none:none
  30.        _xgopher:xgopher:none:xgopher:none:none:none:-w -Z
  31.  
  32.        # Hosts
  33.  
  34.        archie:Archie:archie.sura.net:rlogin:none:-l archie:none:none
  35.        chem|kekule:Kekule:kekule.chem.yale.edu:telnet:none:none:-vt100:none
  36.        embl:EMBL:ftp.embl-heidelberg.de:ftp:none:none:none:none
  37.  
  38.      Typing 'go archie' (or just 'go a') will log you into the Archie database
  39.      using rlogin. Note the way in which the userid is specified. If you're at
  40.      a graphics terminal, then the Archie session will appear in a separate
  41.      window. However, if the Archie database were out of order and logged you
  42.      out immediately, the window would close before you could read any error
  43.      messages.  You might then type 'go -w archie' to rlogin on the command
  44.      line or 'go -x -hold archie' to keep the window from closing.
  45.  
  46.      Typing 'go chem' (or 'go kekule', or 'go c', or 'go kek', or ... you get
  47.      the idea) will log you into Kekule using telnet. If you're at a graphics
  48.      terminal, the xwsh window which will be opened will emulate a VT100
  49.      terminal. Typing 'go -d kekule' will telnet to Kekule with telnet in
  50.      debugging mode, and 'go kekule 6666' will telnet to port 6666. Note how
  51.      '-d', which is not recognized by go, and '6666', which follows the
  52.      hostname, are just passed to the client.
  53.  
  54.      Typing 'go embl' will connect you to the EMBL archive using ftp. Typing
  55.      'go -c gopher embl' (or just 'go -c g embl') will do so using gopher, and
  56.      'go -c xgopher embl' will do so using xgopher. go will start the gopher
  57.      session in an xwsh window, but will just put the xgopher session, which
  58.      will open its own window, in the background.  go only looks for clients
  59.      in the databases if the '-c' option is used or no host is specified, so a
  60.      host entry with xgopher as the default client would need "-w -Z" in its
  61.      own "Go opts" field.
  62.  
  63. (Glancing back over that, maybe it wasn't such a good idea to include the
  64. manpage.) You can get it from neutron.chem.yale.edu by anonymous FTP.
  65.  
  66. Cheers,
  67.  
  68. --
  69. | Dave Schweisguth   Yale MB&B & Chemistry   Net: dcs@neutron.chem.yale.edu |
  70. | Lab phone: 203-432-5208     Fax: 203-432-6144    Home phone: 203-624-3866 |
  71. | For complying with the NJ Right To Know Act:  Contents partially unknown. |
  72.