home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sources.wanted:5801 comp.unix.sys5.misc:113
- Path: sparky!uunet!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!glia!hawkeye
- From: hawkeye@glia.biostr.washington.edu (Ken Keys - TF Dude)
- Newsgroups: comp.sources.wanted,comp.unix.sys5.misc
- Subject: Re: I'm looking for a sysV version of "lock." Where could I find it?
- Message-ID: <hawkeye.727968673@glia>
- Date: 25 Jan 93 13:31:13 GMT
- Article-I.D.: glia.hawkeye.727968673
- References: <1js5shINNnnb@umbc7.umbc.edu> <hawkeye.727888814@glia> <1jvrdtINN1uo@umbc7.umbc.edu>
- Distribution: usa
- Organization: University of Washington
- Lines: 28
- NNTP-Posting-Host: glia.biostr.washington.edu
-
- In <1jvrdtINN1uo@umbc7.umbc.edu> damon@umbc.edu (Mr. Damon Kelly) writes:
-
- >Thanks for the script.
- >FYI: you'll want to trap signal 21 (TSTP) and possibly signal 20 (STOP);
- >I found that it is possible to suspend the script while it waits for
- >a proper unlocking password.
-
- >-d
-
- Line from script:
-
- trap "" 1 2 3 18
-
- I should have commented this line. On the system I wrote that script,
- TSTP was signal 18. The signals you need to trap are HUP, INT, QUIT,
- and TSTP (STOP can't be generated from the keyboard, but go ahead and
- trap it if it makes you feel more secure).
-
- --
- --
- Ken Keys, aka Hawkeye
- Master of the Fugue
- kkeys@ucsd.edu or hawkeye@ucsd.edu
- --
- --
- Ken Keys, aka Hawkeye
- Master of the Fugue
- kkeys@ucsd.edu or hawkeye@ucsd.edu
-