home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14162 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.5 KB

  1. Path: sparky!uunet!mcsun!uknet!edcastle!edcogsci!cogsci!rjc
  2. From: rjc@cogsci.ed.ac.uk (Richard Caley)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: Twm
  5. Message-ID: <RJC.92Jul21170002@daiches.cogsci.ed.ac.uk>
  6. Date: 21 Jul 92 16:00:02 GMT
  7. References: <1992Jul16.135236.14295@syma.sussex.ac.uk>
  8.     <1992Jul18.130934.17668@thunder.mcrcim.mcgill.edu>
  9. Sender: rjc@cogsci.ed.ac.uk
  10. Organization: Human Communication Research Center
  11. Lines: 24
  12. In-reply-to: mouse@thunder.mcrcim.mcgill.edu's message of 18 Jul 92 13:09:34 GMT
  13.  
  14. In article <1992Jul18.130934.17668@thunder.mcrcim.mcgill.edu>, der Mouse (dm) writes:
  15.  
  16. In article <1992Jul16.135236.14295@syma.sussex.ac.uk>, kierant@syma.sussex.ac.uk (Kieran Turner) writes:
  17.  
  18. kt> Just a quick query - anybody know if it would be _possible_ to make a
  19. kt> patch for twm that could de-iconify on tty output to an xterm?
  20.  
  21. dm> It is not.  twm has no opportunity to find out when output to an xterm
  22. dm> occurs.  You'd have to make the patches to xterm, not twm.
  23.  
  24. If you tell the console xterm to log to a file then output to the
  25. xterm will change the file and so can be seen. This works to drive an
  26. xbiff, for instance.
  27.  
  28. To open the window, the easiest thing is probably to write a little
  29. shell daemon which checks the size of the log file and uses xse to
  30. send an event to the window when the file gets bigger. The WM can then
  31. be told to open when that event occurs. 
  32.  
  33. No source hacking and absolutely no redeeming aesthetic value :-).
  34.  
  35. --
  36. rjc@cogsci.ed.ac.uk            _O_
  37.                      |<
  38.