Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!dali!ogicse!emory!mephisto!gatech!galbp!samna!jeff From: jeff@samna.UUCP (Jeff Barber) Newsgroups: comp.unix.i386 Subject: Re: prompt in cshell Message-ID: <262@samna.UUCP> Date: 10 Apr 90 17:59:58 GMT References: <1785@watserv1.waterloo.edu> Reply-To: jeff@samna.UUCP (Jeff Barber) Organization: Draughtsman's Contractors Lines: 24 In article <1785@watserv1.waterloo.edu> hazela@watserv1.waterloo.edu (Jose Reynaldo Setti) writes: A slight correction: the first three lines above should have all the ' characters changed to ` characters. Otherwise the shell variables TTY and USER end up with the values: "basename ${TTY}" and "logname" respectively which is clearly not what is wanted. The ` character indicates that the output of the program between the ` pairs is to be used. Thus, with the replacements done, the TTY and USER variables get the values "console" and "root". Jeff