[daip] Changes to START_AIPS
Patrick P. Murphy
pmurphy at NRAO.EDU
Wed Mar 28 12:58:04 EST 2001
I'm testing out a new version of START_AIPS in CV here; I've hacked on
/home/aips/START_AIPS so that the following are now in effect:
1) The default remote command is ssh; to override this, a user (or AIPS
manager) must define environment variable AIPSREMOTE.
2) The "use remsh instead of rsh" logic for HP-UX has been removed.
3) New logic to figure out "where you are" has been inserted IF you are
using the secure shell, i.e. if the SSH_CLIENT variable is defined.
This now correctly figures out where you are on slogin connections,
at least on those I've tested in CV.
The upshot is that when people here sit in their offices in front of
their regular workstation, slogin to the public machines and type "aips",
the script correctly will do a ssh back to their office workstation to
start the TV there. With the $SYSUNIX version of START_AIPS as it stands
now, it gets confused and tries to start the TV on the remote end
(i.e. the public workstation), thereby tying up that INET socket TV for
the poor sod who comes to sit in front of it next.
I've copied START_AIPS to my home area at the AOC, so if any of you want
to test it, e.g.:
desktop$ slogin bighulk-public-machine
...
bighulk$ ~pmurphy/START_AIPS pr=1 tpok
and see if it does the right thing for a few cases of "desktop" and
"bighulk", I'd appreciate it. If all looks good, I'd like to check these
changes in to the main $SYSUNIX/START_AIPS.
This all came about in a local tiff over someone accidentally "stealing"
the TV from a public workstation.
- Pat
More information about the Daip
mailing list