gr_osview on a remote host

Bates TAD/HRNAB ms294 x2601 blbates at AERO4.LARC.NASA.GOV
Wed Mar 22 22:39:46 AEST 1989


   The ".netrc" file is documented under ftp. Below is the documentation:

     THE .netrc	FILE
	  The .netrc file contains login and  initialization  informa-
	  tion	used  by  the  auto-login  process.  It	resides	in the
	  user's home directory.  The following	tokens are recognized;
	  they may be separated	by spaces, tabs, or new-lines:

	  machine "name"
	       Identify	a remote machine name.	The auto-login process
	       searches	 the  .netrc  file  for	 a  machine token that
	       matches the remote machine specified on the ftp command
	       line  or	 as an open command argument.  Once a match is
	       made, the subsequent .netrc tokens are processed, stop-
	       ping when the end of file is reached or another machine
	       token is	encountered.

	  login	"name"
	       Identify	a user on the remote machine.  If  this	 token
	       is  present,  the  auto-login  process  will initiate a
	       login using the specified name.

	  password "string"
	       Supply a	password.   If	this  token  is	 present,  the
	       auto-login  process will	supply the specified string if
	       the remote server requires a password as	 part  of  the
	       login  process.	 Note that if this token is present in
	       the .netrc file,	ftp will abort the auto-login  process
	       if the .netrc is	readable by anyone besides the user.

	  account "string"
	       Supply an additional account password.  If  this	 token
	       is  present,  the  auto-login  process  will supply the
	       specified string	if the remote server requires an addi-
	       tional account password,	or the auto-login process will
	       initiate	an ACCT	command	if it does not.

	  macdef "name"
	       Define a	macro.	This token functions like the ftp mac-
	       def  command  functions.	  A  macro is defined with the
	       specified name; its contents begin with the next	.netrc
	       line  and  continue until a null	line (consecutive new-
	       line characters)	is encountered.	 If a macro named init
	       is  defined,  it	 is automatically executed as the last
	       step in the auto-login process.
--

	Brent L. Bates
	NASA-Langley Research Center
	M.S. 294
	Hampton, Virginia  23665-5225
	(804) 864-2854
	E-mail: blbates at aero4.larc.nasa.gov or blbates at aero2.larc.nasa.gov



More information about the Comp.sys.sgi mailing list