Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cornell.UUCP Path: utzoo!decvax!tektronix!uw-beaver!cornell!jqj From: jqj@cornell.UUCP (J Q Johnson) Newsgroups: net.micro.pc Subject: Re: ANSI.SYS Message-ID: <130@cornell.UUCP> Date: Mon, 26-Aug-85 07:33:11 EDT Article-I.D.: cornell.130 Posted: Mon Aug 26 07:33:11 1985 Date-Received: Tue, 27-Aug-85 00:55:57 EDT References: <514@baylor.UUCP> Reply-To: jqj@cornell.UUCP (J Q Johnson) Distribution: na Organization: Cornell Univ. CS Dept. Lines: 23 Xref: tektronix net.micro.pc:05440 Summary: In article <514@baylor.UUCP> peter@baylor.UUCP (Peter da Silva) writes: >Is there anyone out there that has an ANSI.SYS that's really ANSI? That is, >it should support most of the ANSI escape sequences, in particular SET >SCROLLING REGION: sc=\E[%d,%dr. It should be noted that while the DEC VT100 supports \E[%d;%dr to mean SET SCROLLING REGION (note, NOT \E[%d,%dr which is not even ANSI format), this is not a standard ANSI sequence. The ANSI standard reserves the sequences [x where x is a lowercase letter for private use. Since DEC is the largest manufacturer of ANSI terminals, \E[...r meaning SET SCROLLING REGION has become something of a de facto standard, of course. However, it's the "feature" of VT100-compatible terminals that a compatibles maker most often seems to get wrong. Instead of asking for SET SCROLLING REGION, people should ask for fast implementations of INSERT LINE (\E[%dL), DELETE LINE (\E[%dM), settable INSERT-REPLACE MODE (\E[4h and \E[4l), and DELETE CHARACTER (\E[%dP). From da Silva's notation, he obviously wants something that will work well with Unix termcap. If so, then C/L I/D are actually preferable. He shouldn't expect a VT100 emulator, since the PC can't easily support 132-col mode.