From: utzoo!decvax!harpo!ihnp4!ixn5c!inuxc!pur-ee!uiucdcs!uicsovax!edwards Newsgroups: net.bugs.4bsd Title: Bug in mesg(1) ? and ?fix? - (nf) Article-I.D.: uiucdcs.1341 Posted: Sat Jan 15 00:27:56 1983 Received: Wed Jan 19 19:37:00 1983 #N:uicsovax:2200008:000:375 uicsovax!edwards Jan 14 23:29:00 1983 I may have found a bug in mesg(1). The function argument for the newmode call should be unsigned: newmode(m) unsigned int m; { if(chmod(tty,m)<0) error("cannot change mode"); } If it isn't declared as unsigned--biff(1) and mesg(1) won't function separately (But then that may have been planned.) Alan Edwards (...pur-ee!uiucdcs!uicsovax!edwards)