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

Bug#2317: Output from mesg



File: mesg
Package: bsdutils 2.0-1

The output of mesg goes to stderr. Since stderr is used to set the
permissions it is also tested if stderr is a tty. Hence there is no way to
re-direct the output. However, I know quite a lot of user who do an

msgwas=`mesg | cut -f2 -d' '`
mesg n

before starting X.

mesg $msgwas

afterwards restores the original settings. This is needed to get some info
under X, e.g. talk requests.

Othere mesg binaries like the one by Miquel that comes along with sysvinit
behave well.

Michael
--
Michael Meskes
Lehrstuhl fuer angewandte Mathematik insb. Informatik
RWTH-Aachen, D-52056 Aachen, Germany
email: meskes@informatik.rwth-aachen.de


Reply to: