ugfeldmn@sunybcs.UUCP (Jon Feldman) (04/21/88)
In article <969@unmvax.unm.edu> mike@turing.UNM.EDU.UUCP (Michael I. Bushnell) writes: >In article <233@jim.odr.oz> brw@jim.odr.oz (Brian Wallis) writes: >>I'd also like to stop talkd splattering it's message all over the screen, a >>message in the mode line and ringing the bell would be better. >Since talkd is the system program, you can't change its behavior. >Sigh. > Michael I. Bushnell > HASA - "A" division Hmph... It strikes me that there _ought_ to be a way for emacs to intercept system messages --- I know that mh-* pulls up *temp* windows to display system messages, much like TPU in VMS. I wish that I could instruct emacs to be similarly well-behaved. Server mode ("start-server") sounds like a path in the right direction, but I don't know; I'm no all-knowing gnuisance. ;-) One of you gnuisances out there --- yeah, you! Pretty please, couldya tell us proles if there's a way to do this, that is, intercept system messages so that they don't mess up our windows? Danks, - Jon -- Jon Feldman ugfeldmn@joey.cs.buffalo.edu || rutgers!sunybcs!ugfeldmn _^--^_ A fool's brain digests philosophy into folly, science into / . . \ superstition, and art into pedantry. Hence University education. ( \ ) --- George Bernard Shaw ^------------+ `__~_'
andrew@frip.gwd.tek.com (Andrew Klossner) (04/24/88)
"tell us proles if there's a way to do this, that is, intercept system messages so that they don't mess up our windows?" Talk (at least under 4.2BSD) determine where to send its messages by reading the utmp file to see which terminal is associated with the requested user. Normally it will find the terminal on which "login" ran. You can divert talk's messages by changing this file to reflect a pty and then monitoring that pty somehow. The utmp file is normally not writable by non-root, so you would need the collusion of your system administrator to make this sort of change. This isn't a problem if you use a workstation. Of course, if you have a workstation, you could simply rewrite talkd to behave the way you want. -=- Andrew Klossner (decvax!tektronix!tekecs!andrew) [UUCP] (andrew%tekecs.tek.com@relay.cs.net) [ARPA]