save and regerate the current screen before and after a command

Mike Stefanik/78125 mike at bria.AIX
Mon Jan 7 08:02:54 AEST 1991


>no, but it does switch to and use the alternate screen, thus
>preserving the terminal's previous contents.  At least that what it
>does for me...

Yes, but not all terminals provide the ability to copy one screen to another,
thus making the screen switching solution terminal-dependant (and therefore
unusable by the general public).

One solution would be for the kernel to map all characters written to tty's,
but this would involve linking terminal capability into the kernel which would
mean re-linking every time a terminal was changed around (yuck!).

-----------------------------------------------------------------------------
Michael Stefanik, Systems Engineer (JOAT), Briareus Corporation
UUCP: ...!uunet!bria!mike
"If it was hard to code, it should be harder to use!"



More information about the Comp.unix.programmer mailing list