Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!moria!dunc From: dunc%moria@Sun.COM (duncs home) Newsgroups: comp.unix.questions Subject: Re: Trapping yourself in csh. (Fun with ignoreeof revisited) Message-ID: <41975@sun.uucp> Date: 15 Feb 88 20:34:55 GMT References: <3282@psuvax1.psu.edu> Sender: news@sun.uucp Reply-To: dunc@sun.UUCP (duncs home) Organization: Sun Microsystems, Mountain View Lines: 23 In article <3282@psuvax1.psu.edu> flee@gondor.cs.psu.edu (Felix Lee) writes: >Here's something I cobbled together one day, when I discovered that csh would >let you alias 'alias'. It's a script you 'source' that traps you in csh. >Works on 4.[23] Berkeleyish systems. > >Be prepared to: >- kill yourself from another terminal. >- disconnect your physical/telnet/rlogin connection. >- crash csh. (I don't know any fatal csh errors) >- start up an assassin before you source this script. > >Did I miss anything? >-- >Felix Lee flee@gondor.cs.psu.edu *!psuvax1!gondor!flee > ... Under SunOS 3.4, this got me out. cd / cd bin echo / $cwd/{$}stty eof ^D ^D