Lock your terminal for lunch
Daniel R. Levy
levy at ttrdc.UUCP
Sun Sep 8 09:13:58 AEST 1985
In article <131 at pyuxv.UUCP>, cim1 at 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
More information about the Comp.sources.unix
mailing list