From owner-freebsd-questions Mon May 8 19:31:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail3.lig.bellsouth.net (mail3.lig.bellsouth.net [205.152.0.51]) by hub.freebsd.org (Postfix) with ESMTP id 7451B37BDB8 for ; Mon, 8 May 2000 19:31:46 -0700 (PDT) (envelope-from tymbrwlf@bellsouth.net) Received: from tymbrwlf (host-216-76-250-137.pns.bellsouth.net [216.76.250.137]) by mail3.lig.bellsouth.net (3.3.5alt/0.75.2) with SMTP id WAA22692 for ; Mon, 8 May 2000 22:30:48 -0400 (EDT) Message-ID: <001901bfb95e$61dfe230$0200a8c0@tymbrwlf> From: "TymbrWlf" To: "Freebsd Questions" References: Subject: Re: Clear Screen Before Logout Date: Mon, 8 May 2000 21:29:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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" To: "Freebsd Questions" Cc: "TymbrWlf" 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