Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!mit-eddie!genrad!decvax!decwrl!pyramid!prls!mips!dce From: dce@mips.UUCP Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Tty characters 'undefined' value revisited Message-ID: <152@quacky.mips.UUCP> Date: Mon, 26-Jan-87 12:57:45 EST Article-I.D.: quacky.152 Posted: Mon Jan 26 12:57:45 1987 Date-Received: Sat, 7-Feb-87 11:03:48 EST Reply-To: dce@quacky.UUCP (David Elliott) Organization: MIPS Computer Systems, Sunnyvale, CA Lines: 17 Xref: watmath comp.unix.wizards:837 comp.unix.questions:920 A couple of weeks ago, I submitted an article discussing a problem with the 4.xBSD tty characters (, struct ttychars). Basically, the problem is that the 4.3BSD documentation says that a value of -1 means 'undefined', but our compilers generate unsigned characters. The general concensus of the responses I got is that the ttychars structure should be changed so that all of the members are shorts or ints instead of chars. Can anyone think of a reason NOT to do this? Are there places where these values are expected to be chars, and will broken by this change? -- David Elliott UUCP: {decvax,ucbvax,ihnp4}!decwrl!mips!dce, DDD: 408-720-1700