delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/03/16:38:57

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: scrolling shell output
Date: 3 Apr 2000 16:52:13 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 17
Message-ID: <8cai7t$i4j$1@nets3.rz.RWTH-Aachen.DE>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000402102352 DOT 9367Z-100000 AT is>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 954780733 18579 137.226.32.75 (3 Apr 2000 16:52:13 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 3 Apr 2000 16:52:13 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> 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.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019