From owner-freebsd-questions Mon May 8 19:11:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id 1126A37B78D for ; Mon, 8 May 2000 19:11:22 -0700 (PDT) (envelope-from hacker@bolingbroke.com) Received: from fremont.bolingbroke.com (fremont.bolingbroke.com [216.102.90.210]) by fremont.bolingbroke.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id TAA02477; Mon, 8 May 2000 19:11:21 -0700 (PDT) Date: Mon, 8 May 2000 19:11:21 -0700 (PDT) From: Ken Bolingbroke To: Freebsd Questions Cc: TymbrWlf Subject: Re: Clear Screen Before Logout In-Reply-To: <007301bfb959$c60864d0$0200a8c0@tymbrwlf> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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