Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ll-xn!mit-eddie!uw-beaver!tektronix!tekgen!puffin!penguin!richl From: richl@penguin.USS.TEK.COM (Rick Lindsley) Newsgroups: comp.unix.questions Subject: Re: utility to determine rlogin? Message-ID: <309@puffin.USS.TEK.COM> Date: 15 Jun 88 22:49:12 GMT References: <16109@brl-adm.ARPA> Sender: news@puffin.USS.TEK.COM Reply-To: richl@penguin.USS.TEK.COM (Rick Lindsley) Organization: Tektronix, Inc., Beaverton, OR. Lines: 19 Jerry Peek 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@brl-adm.ARPA> rbj@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