tech-userlevel archive

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

Re: Proposal: Add option to add dates to write(1)



On Sun, May 20, 2012 at 07:07:57PM -0400, Matthew Mondor wrote:
 > > Anyhow, I think you're not aiming high enough. What we'd like to have
 > > is a general facility for receiving messages that are currently
 > > scribbled into ttys, whether they're from write(1) or something else.
 > > (E.g., messages from talkd, syslogd, the kernel, comsat, dump, lpd,
 > > whatever...)
 > > 
 > > Note that a Desktop User(TM) may be logged in and able to receive
 > > messages without having any ttys open. So while the path of least
 > > resistance for such a facility might be to add a secondary channel to
 > > ttys, I don't think that's the right approach.
 > 
 > Desktop integration is something I have no experience with though (and
 > unfortunately of low importance to me)... however, unless I'm mistaken
 > several Linux-based desktop OSs are using dbus for this?  Is this
 > considered a bad approach?

dbus is always a bad approach :-)

All it really needs is a standardized place to put an AF_UNIX socket,
and to patch half a dozen programs (if that many) to try that before
blatting to the tty.

But, it opens a number of cans containing worms...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index