Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!mouse From: mouse@thunder.mcrcim.mcgill.edu (der Mouse) Newsgroups: comp.unix.questions Subject: Re: TIOCNOTTY definition Message-ID: <1991Jun1.200532.25890@thunder.mcrcim.mcgill.edu> Date: 1 Jun 91 20:05:32 GMT References: <27046@adm.brl.mil> Organization: McGill Research Centre for Intelligent Machines Lines: 26 In article <27046@adm.brl.mil>, VENENGA@iscsvax.uni.edu writes: > I am trying to convert some bsd source to SYS V, and overall, it's > not going too bad[ly]. The only problem I am running into is a > TIOCNOTTY not defined compiler error. I have grep'ped all my include > files, and cannot find a TIOCNOTTY definition anywhere. Could some > kind soul(s) tell me what this should be defined as? If you don't have the definition, you all but certainly don't have support for it in your kernel, and a definition would do you no good at all. If you really really want to try it anyway, the value on our system is 0x20007471, and the definition (which may not be compatible with your include files' ioctl() defines, which is why I gave the value) is #define TIOCNOTTY _IO(t, 113) /* void tty association */ On SysV, the function performed by TIOCNOTTY is, sort of, performed by setpgrp(). I think. (That function being to break the association between a process and its control tty.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu