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