home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sources / wanted / 5801 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.4 KB

  1. Xref: sparky comp.sources.wanted:5801 comp.unix.sys5.misc:113
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!glia!hawkeye
  3. From: hawkeye@glia.biostr.washington.edu (Ken Keys - TF Dude)
  4. Newsgroups: comp.sources.wanted,comp.unix.sys5.misc
  5. Subject: Re: I'm looking for a sysV version of "lock." Where could I find it?
  6. Message-ID: <hawkeye.727968673@glia>
  7. Date: 25 Jan 93 13:31:13 GMT
  8. Article-I.D.: glia.hawkeye.727968673
  9. References: <1js5shINNnnb@umbc7.umbc.edu> <hawkeye.727888814@glia> <1jvrdtINN1uo@umbc7.umbc.edu>
  10. Distribution: usa
  11. Organization: University of Washington
  12. Lines: 28
  13. NNTP-Posting-Host: glia.biostr.washington.edu
  14.  
  15. In <1jvrdtINN1uo@umbc7.umbc.edu> damon@umbc.edu (Mr. Damon Kelly) writes:
  16.  
  17. >Thanks for the script.
  18. >FYI:  you'll want to trap signal 21 (TSTP) and possibly signal 20 (STOP);
  19. >I found that it is possible to suspend the script while it waits for
  20. >a proper unlocking password.
  21.  
  22. >-d
  23.  
  24. Line from script:
  25.  
  26.     trap "" 1 2 3 18
  27.  
  28. I should have commented this line.  On the system I wrote that script,
  29. TSTP was signal 18.  The signals you need to trap are HUP, INT, QUIT,
  30. and TSTP (STOP can't be generated from the keyboard, but go ahead and
  31. trap it if it makes you feel more secure).
  32.  
  33. -- 
  34. --
  35. Ken Keys, aka Hawkeye
  36. Master of the Fugue
  37. kkeys@ucsd.edu or hawkeye@ucsd.edu
  38. -- 
  39. --
  40. Ken Keys, aka Hawkeye
  41. Master of the Fugue
  42. kkeys@ucsd.edu or hawkeye@ucsd.edu
  43.