Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: hacknews Subject: tty include files rationalized Message-ID: <5377@utzoo.UUCP> Date: Fri, 29-Mar-85 17:40:26 EST Article-I.D.: utzoo.5377 Posted: Fri Mar 29 17:40:26 1985 Date-Received: Fri, 29-Mar-85 17:40:26 EST Organization: U of Toronto Zoology Lines: 27 The tty-subsystem include files have been rationalized, to eliminate duplication of information and the bizarre situation of having four (!) different, inconsistent lists of tty ioctls: one in the documentation, two different ones in the user-level and kernel-level include files, and yet a fourth in the code actually implementing the ioctls. The include files are now 100% consistent, the kernel code will be as soon as we recompile, and the documentation will be as soon as we add entries for the line-discipline set/get ioctls. The material from is now in a kernel include file of the same name, to which refers. The kernel tty.h now refers to the same file to pick up the common material, which has necessitated a few #defines in the kernel one to resolve inconsistencies in naming. The only difference user programs should see is that a few more bits of information, notably the default special characters, now appear when they pull in . stty(1) and login(1) are being altered to use this source rather than defining their own. At the same time, several unused fields have been #ifdefed out of the kernel tty structure, and the xstate field has been eliminated totally (its only purpose was to hold a couple of extra state bits, and since we got rid of the Datakit state bits long ago, there's room in the regular state field for those). -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry