Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mit-eddie.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!mit-eddie!barmar From: barmar@mit-eddie.UUCP (Barry Margolin) Newsgroups: net.unix Subject: Re: Setting TERM Message-ID: <5270@mit-eddie.UUCP> Date: Tue, 10-Sep-85 02:32:30 EDT Article-I.D.: mit-eddi.5270 Posted: Tue Sep 10 02:32:30 1985 Date-Received: Wed, 11-Sep-85 06:08:11 EDT References: <180@ukecc.UUCP> <56@cbnap.UUCP> <184@graffiti.UUCP> Reply-To: barmar@mit-eddie.UUCP (Barry Margolin) Organization: MIT, Cambridge, MA Lines: 23 In article <184@graffiti.UUCP> peter@graffiti.UUCP (Peter da Silva) writes: >I would think that if all the terminals were ANSI standard you wouldn't need >to find the terminal type, and you could throw termcap/terminfo out. Just >wondering how useful this knowledge is... You would think wrongly. The problem is that the ANSI standard merely specifies that if a device implements a particular operation, than it is invoked by a specified escape sequence. It DOESN'T specify the set of features that must be implemented. This is of necessity, since the standard applies to all types of terminals, video AND printing. Thus, an ANSI standard printing terminal would not implement many commands that an ANSI standard video terminal might. As a concrete example, both the VT100 and VT102 terminals use ANSI escape sequences; however, the VT100 does not implement insert/delete line/character operations, whereas the VT102 does. The most annoying fact, though, is that the standard provides no way for a system to query the device to determine what features it has. -- Barry Margolin ARPA: barmar@MIT-Multics UUCP: ..!genrad!mit-eddie!barmar