Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!princeton!jonlab!jon From: jon@jonlab.UUCP (Jon H. LaBadie) Newsgroups: comp.unix.questions Subject: Re: UID ownership of cooperating tty Summary: have to set nomesg in .exrc to have vi turn off writes Message-ID: <861@jonlab.UUCP> Date: 6 Oct 90 03:25:40 GMT References: <5124@quiche.cs.mcgill.ca> <14439@hydra.gatech.EDU> Organization: 4455 Province Line Rd., Princeton, NJ 08540 Lines: 15 In article <14439@hydra.gatech.EDU>, gt0178a@prism.gatech.EDU (Jim Burns) writes: > > Vi prevents writes? News to me. > If you have "set nomesg" in your .exrc file or your EXINIT parameter, then vi notes the tty writability on entry. Then any time it is in visual mode, it will turn writes to the tty off, restoring the original setting when escaping to ex mode, the shell, or quiting. If I recall properly, changing the setting of mesg after entering the editor is ineffective even though "set all" shows "nomesg". -- Jon LaBadie {att, princeton, bcr, attmail!auxnj}!jonlab!jon