www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/09/15:15:24

Message-ID: <3735781E.9651454D@meridian22.net>
Date: Sun, 09 May 1999 12:57:18 +0100
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en,de-DE,fr-FR
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Scrollback in bash?
Reply-To: djgpp-workers AT delorie DOT com

Hello.

There was a thread a while ago about the lack of scrollback in DOS boxes.
IIRC the suggestion by Eli was to write a new DOS box that had this
feature. Would it not be possible to add such a feature to bash instead?

I guess this question boils down to: Is it possible to capture stdout,
stderr, etc. and still have them printed to the display? If not, then I
guess bash would have to capture stdout, stderr and then copy them to the
display - not ideal, because you can't monitor the progress of, say, make.

Another solution might be to add hooks to DJGPP, in a similar way to
!proxy, e.g. !scrollback. Child programs could then pass their output to
parent ones as well as displaying the output. I guess this would require
some FSEXT trickery to display as well as copy the output to the
scrollback buffer.

- Raw text -


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