Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jasper@molbiol.ox.ac.uk (Jasper Rees - tel +44 865 275567)
Subject: getting remote host name for rsh commands
Date: 24 Jul 93 11:06:00 BST	[thread overview]
Message-ID: <1993Jul24.110600.1@molbiol.ox.ac.uk> (raw)

Hi,

I am hoping to extract the fully qualified domain name from a remote host 
(Ultrix) running an rsh command to my VMS/UCX systems.

The rsh daemon uses a BGnnnn device, which I thought could extract the
information I want from a f$getdvi("sys$output","tt_accpornam") However, this
returns a null for the BG device. 

If I derive the device name with f$getdvi("sys$output","devnam") then I can
pass this to UCX and trap the output as a temporary file and extract the host
name from this, except that it is trimmed off for longer names, and therefore
not what I want. 

If anyone knows a better way to do this....

The rationale here is to be able to run a FileView (or other X application)
from the VMS system to remote users on unix stations, without the
complications (from the user point of view) of telneting in for a full login,
and running vue$master locally. 

The alternative is to extract the node name for the unix system locally and
pass it over, but this is not ideal because we really want one simple remote
command for all the remote stations, not to have to give complex instructions
or distribute scripts for this to them all. 

(I know this has security implications but unless someone has an 
implementation of xdm for VMS, or Kerebos for UCX then for the moment this is
the best I'm going to manage). 

Many thanks for any ideas or help!

regards,   jasper


Jasper Rees
Oxford University Molecular Biology Data Centre
and The Sir William Dunn School of Pathology

jasper@molbiol.ox.ac.uk


                 reply	other threads:[~1993-07-24 10:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox