Date: Tue, 4 Apr 2000 13:56:45 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Hans-Bernhard Broeker cc: djgpp AT delorie DOT com Subject: Re: scrolling shell output In-Reply-To: <8cai7t$i4j$1@nets3.rz.RWTH-Aachen.DE> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 3 Apr 2000, Hans-Bernhard Broeker wrote: > Eli Zaretskii wrote: > > On 29 Mar 2000 broeker AT physik DOT rwth-aachen DOT de wrote: > > >> DJGPP Bash uses direct hardware access, AFAIK > [... I 'knew' wrongly...] > > > More precisely, Bash uses termios functions, and it's termios that > > calls Int 29h. > > OK, so that means all that's need to get a 'scrollable' Bash in an > appropriate environment (like Cygwin xterm or rxvt should be), would > be to have that termios support check the 'TERM' environment, and if > it's "ansi", "xterm" or something like that, output raw escape > sequences instead of calling the BIOS itself. What raw escape sequences? The DJGPP port of Bash doesn't know about any escape sequences (AFAIK), and doesn't have any ANSI driver built into it to generate those sequences.