Path: utzoo!mnetor!uunet!uport!jmsully From: jmsully@uport.UUCP (John M. Sully) Newsgroups: comp.unix.questions Subject: Re: Fun with ignoreeof Message-ID: <178@uport.UUCP> Date: 5 Feb 88 02:10:19 GMT References: <2248@tekcrl.TEK.COM> Reply-To: jmsully@uport.UUCP (John M. Sully) Organization: Microport Systems, Scotts Valley, CA Lines: 19 In article <2248@tekcrl.TEK.COM> eirik@crl.TEK.COM (Eirik Fuller) writes: |This is not intended to do much beyond amuse, but ... | |I have the following two lines in .cshrc: | |alias exit 'echo "Use ^D to exit"' |alias logout 'echo "Use ^D to logout"' | |They are there only as a joke, but they got me thinking. Suppose I |also say "set ignoreeof". How do I logout? No fair using unset or |unalias or alias -- they give any number of obvious two-liners. Can |I do it with a one-liner? (Using ";" is cheating too :-). stty 0 will log you out. -- John M. Sully UUCP: ...!{sun | ucbvax | ihnp4}!amdcad!uport!techs Microport Systems ARPA: uport!techs@ucscc.UCSC.EDU Technical Support