Date: Mon, 8 May 2000 21:29:14 -0500 From: "TymbrWlf" <tymbrwlf@bellsouth.net> To: "Freebsd Questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: Clear Screen Before Logout Message-ID: <001901bfb95e$61dfe230$0200a8c0@tymbrwlf> References: <Pine.BSF.4.21.0005081908130.537-100000@fremont.bolingbroke.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, that was the ticket. I just started learning about aliases and scripts so that was my first impulse. Putting that in the csh.logout file works like a charm. I totally forgot about all of the stuff in /etc. I bought "UNIX secrets" by James C. Armstrong, Jr. and it's been very helpful (so was "UNIX for Dummies" ;-), but I freely admit I'm a UNIX Dummy). (To Alan; "The Unix C Shell Field Guide" is next on the list.) "UNIX Secrets" is almost 1200 pages long; I need time to digest it ;-) Thanks Larry Hawk tymbrwlf@bellsouth.net ----- Original Message ----- From: "Ken Bolingbroke" <hacker@bolingbroke.com> To: "Freebsd Questions" <freebsd-questions@FreeBSD.ORG> Cc: "TymbrWlf" <tymbrwlf@bellsouth.net> Sent: Monday, May 08, 2000 9:11 PM Subject: Re: Clear Screen Before Logout > > > On Mon, 8 May 2000, TymbrWlf wrote: > > > Would there be a good way to set up an alias for that command under the csh > > shell? If I put "alias cya clear ; logout" in my .cshrc file, I get put > > into a login loop. How would I put multiple commands into an alias? (i.e. > > You'll want to quote the alias part, otherwise csh is interpreting the ';' > as the end of your command statement, this "logout" becomes the next > command statement, and it does exactly that. Ex: > > alias cya 'clear ; logout' > > Me, I just put 'clear' in my /etc/csh.logout file... > > Ken Bolingbroke > hacker@bolingbroke.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001901bfb95e$61dfe230$0200a8c0>