home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / x / 16511 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse
  3. From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
  4. Subject: Re: Where does SIGUSR1 come from?
  5. Message-ID: <1992Sep11.003459.9144@thunder.mcrcim.mcgill.edu>
  6. Organization: McGill Research Centre for Intelligent Machines
  7. References: <#trn==m.cyclone@netcom.com>
  8. Date: Fri, 11 Sep 92 00:34:59 GMT
  9. Lines: 26
  10.  
  11. In article <#trn==m.cyclone@netcom.com>, cyclone@netcom.com (Bill Sheppard) writes:
  12.  
  13. > I recently compiled xfishtank from export...one of the command line
  14. > options is '-s' for secure mode toggle.  When started in this mode
  15. > the fishtank covers all windows rather than being a background.
  16. > According to the source code the window will go to the background
  17. > upon receiving SIGUSR1.  What event will cause SIGUSR1?
  18.  
  19. SIGUSR1 is generated only when some process uses the kill() syscall (or
  20. related ones, like killpg()) to send it.  Most shells provide a "kill"
  21. command that does this.
  22.  
  23. > I assume it is some sort of mouse or keyboard action, but there is no
  24. > other reference to it in the source code except as part of the signal
  25. > handler.
  26.  
  27. Unless you have an extremely unusual system, you'll have to log in to
  28. that machine over the network and send the signal manually.  This would
  29. typically be done by using ps to find the PID of the xfishtank process
  30. and then using the kill command to send the signal.  If the PID is
  31. 1234, for example, "kill -USR1 1234" would be appropriate.
  32.  
  33.                     der Mouse
  34.  
  35.                 mouse@larry.mcrcim.mcgill.edu
  36.