ps and wall; How do they work?

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Sun Sep 16 19:43:55 AEST 1990


In article <13870 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
> In article <13958:Sep1510:27:5790 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
> >Such ttys wouldn't be listed as interactive. Problem solved.
> The problem is NOT solved until "mesg" and "write" recognize the same
> conventions.

write already does, just like talk.

mesg does not need to recognize the same conventions, because (as other
people have pointed out) its function is only to change the other-user
write/talk access on an interactive tty. If the session is not
interactive, mesg is senseless: it communicates information to programs
that aren't paying attention in the first place.

---Dan



More information about the Comp.unix.questions mailing list