Thread View: comp.sys.sgi.misc
1 messages
1 total messages
Started by Betty Freeborn
Thu, 28 Jan 1993 22:38
Script wrapper for remote logins
Author: Betty Freeborn
Date: Thu, 28 Jan 1993 22:38
Date: Thu, 28 Jan 1993 22:38
59 lines
3418 bytes
3418 bytes
Hi all,
'go' is a script wrapper for ftp/rlogin/telnet etc. which I wrote and have
been using for some time. It's been sufficiently useful and its "database"
has gotten sufficiently large that I thought others might be interested.
Here's a chunk of the manpage:
EXAMPLES
Suppose that your database contains the following:
# Keys:Title:Host:Client:Leading opts:Following opts:Xwsh opts:Go opts
# Separate keys with "|". Begin keys for client entries with "_".
# Put the word "none" in empty fields.
# Clients
_gopher:gopher:none:gopher:none:none:none:none
_xgopher:xgopher:none:xgopher:none:none:none:-w -Z
# Hosts
archie:Archie:archie.sura.net:rlogin:none:-l archie:none:none
chem|kekule:Kekule:kekule.chem.yale.edu:telnet:none:none:-vt100:none
embl:EMBL:ftp.embl-heidelberg.de:ftp:none:none:none:none
Typing 'go archie' (or just 'go a') will log you into the Archie database
using rlogin. Note the way in which the userid is specified. If you're at
a graphics terminal, then the Archie session will appear in a separate
window. However, if the Archie database were out of order and logged you
out immediately, the window would close before you could read any error
messages. You might then type 'go -w archie' to rlogin on the command
line or 'go -x -hold archie' to keep the window from closing.
Typing 'go chem' (or 'go kekule', or 'go c', or 'go kek', or ... you get
the idea) will log you into Kekule using telnet. If you're at a graphics
terminal, the xwsh window which will be opened will emulate a VT100
terminal. Typing 'go -d kekule' will telnet to Kekule with telnet in
debugging mode, and 'go kekule 6666' will telnet to port 6666. Note how
'-d', which is not recognized by go, and '6666', which follows the
hostname, are just passed to the client.
Typing 'go embl' will connect you to the EMBL archive using ftp. Typing
'go -c gopher embl' (or just 'go -c g embl') will do so using gopher, and
'go -c xgopher embl' will do so using xgopher. go will start the gopher
session in an xwsh window, but will just put the xgopher session, which
will open its own window, in the background. go only looks for clients
in the databases if the '-c' option is used or no host is specified, so a
host entry with xgopher as the default client would need "-w -Z" in its
own "Go opts" field.
(Glancing back over that, maybe it wasn't such a good idea to include the
manpage.) You can get it from neutron.chem.yale.edu by anonymous FTP.
Cheers,
--
| Dave Schweisguth Yale MB&B & Chemistry Net: dcs@neutron.chem.yale.edu |
| Lab phone: 203-432-5208 Fax: 203-432-6144 Home phone: 203-624-3866 |
| For complying with the NJ Right To Know Act: Contents partially unknown. |
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads