Re: catching things written to terminals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2003-09-27 at 17:19, Bart Kuik wrote:
> On Sun, 2003-09-21 at 19:13, Peter Oliver wrote:

> > Perhaps some part of Gnome (the panel, maybe?) should quietly open a tty
> > to listen for such messages, which could then be passed to the user
> > somehow.  If a dialogue box seems too obtrusive, perhaps an sound could play
> > and an icon could appear in the notification area.
> 
> Most messages from X apps are outputted to the terminal X was started
> from. So a 'startx >.Xlog 2>&1' (when starting X from textmode) should
> put all the stuff to .Xlog. You can open a terminal with 'tail -f .Xlog'
> then to show the output in that terminal. In that way it should be
> possible to output all messages of a terminal to a file, and 'tail -f'
> it in an xterm.

I think you're missing what the original author meant.  He meant apps
that do the equivalent of echo >/dev/tty, i.e. toosl like 'write',
'talk', and so on.
-- 
Sean Middleditch <elanthis@xxxxxxxxxxxxxxx>
AwesomePlay Productions, Inc.



[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux