Asri-unix.400 net.unix-wizards utzoo!decvax!ucbvax!menlo70!sri-unix!MBM@MIT-XX Sat Jan 2 22:10:30 1982 line disc From: Michael B McIlrath Does anyone believe he really understands how the tty line disciplines are supposed to be used? Before everyone jumps to answer, my specific questions are: 1) are the entries in linesw supposed to be called INSTEAD of, or IN ADDITION TO, the "default" ones (i.e., ttymumble) by the hardware device handlers? In particular , most of the drivers I have seen that use line disciplines first call the linesw entry for ioctl, then call ttioctl if the linesw entry returned non-zero. The linesw entry itself is usually nullioctl. Why? 2) Werent there some special ioctl's (DIOCGET/SET ???? etc) that were intended to be specific to the line discipline? What special actions are supposed to be taken when line disciplines are changed? --mike ------- ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.