Mail Archives: djgpp-workers/1999/05/09/15:15:24
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 -