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 -------