Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ttrdc.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!mgnetp!ltuxa!ttrdc!levy From: levy@ttrdc.UUCP (Daniel R. Levy) Newsgroups: net.sources Subject: Re: Lock your terminal for lunch Message-ID: <401@ttrdc.UUCP> Date: Sat, 7-Sep-85 19:13:58 EDT Article-I.D.: ttrdc.401 Posted: Sat Sep 7 19:13:58 1985 Date-Received: Mon, 9-Sep-85 04:36:05 EDT References: <131@pyuxv.UUCP> Organization: AT&T, Computer Systems Division, Skokie, IL Lines: 46 In article <131@pyuxv.UUCP>, cim1@pyuxv.UUCP (G. Bogatko) writes: ># Munch, Munch >#This is a great way to lock up your terminal without having to log off. >trap 'echo "PISS OFF"' 1 2 3 6 15 >clear >echo " > >I won't work now. My massa has gon 'way. Don't even try. > >" >stty -echo >while true >do > read ans > case $ans in ># rewrite this line -- replace 'password' with YOUR password > password) clear > stty echo > exit ;; > *) echo "PISS OFF";; > esac >done >#from Rob Fair and George Bogatko O.K. I'm game. I tried this, then held the DELETE key down. Results? PISS OFF PISS OFF PISPISS OP PISPPP$ $ $ $ The system was a 3B20S running Unix 5.2, under the Bourne shell. -- ------------------------------- Disclaimer: The views contained herein are | dan levy | yvel nad | my own and are not at all those of my em- | an engihacker @ | ployer, my pets, my plants, my boss, or the | at&t computer systems division | s.a. of any computer upon which I may hack. | skokie, illinois | -------------------------------- Path: ..!ihnp4!ttrdc!levy or: ..!ihnp4!iheds!ttbcad!levy