resetting saved lines in an Xterm?
Michael ODonnell
michael.odonnell at comcast.net
Wed Nov 15 13:42:23 EST 2006
>> ...and although that "reset" app (which is basically just
>> the "tset" app) does send an escape sequence that clears
>> the screen and puts certain things back to their initial
>> states, it definitely doesn't clear the scrollback history,
>> which is still viewable via Shift+PageUp or the mousewheel
>> or the menubar slider thingy as always.
> [....]
>http://dickey.his.com/xterm/xterm.log.html#xterm_107
>
>Does this help?
Yep - Esc[3J does indeed clear the history, and it even
leaves the current screen contents alone. If the terminal
inititialization strings in termcap/terminfo contained that
sequence then /usr/bin/reset would likely work as MWL suggested.
More information about the gnhlug-discuss
mailing list