utility to determine rlogin?

Rick Lindsley richl at penguin.USS.TEK.COM
Thu Jun 16 08:49:12 AEST 1988


Jerry Peek <jerryp at cmx.npac.syr.edu> writes:

   So, setting up my .login was easy.  I put a test like this one in it:

       switch ("`ttykind`")
       case network:
	       # do stuff for network login
       case xxx:
	       # do stuff for xxx login
       default:
    
In article <16109 at brl-adm.ARPA> rbj at icst-cmr.arpa (Root Boy Jim) writes:
    
    Why not just do `switch ($term)'? You don't need ttykind, except for
    finding out *other* peoples terminal types.

Because rlogin will pass the terminal type across for you. $term may not
provide the information you want.

Rick



More information about the Comp.unix.questions mailing list