Re: VC scrollback

Jeffery S. Coy Jr. (jcoy@red.cscwc.pima.edu)
Thu, 05 Oct 1995 22:56:27 -0700 (MST)


i posted this earlier, but from the wrong acct. so it didn't post.

as a ``quick and dirty'' fix for the VC scrollback problem recently brought
up in this list, is there an easy way to flush the scrollback buffer?

if so, couldn't it be incorperated into *getty, or else someone could
write a front-end for getty that flushes the scrollback, then passes the
command-line to the system.

if someone did this, and called it (maybe) flushvc, we could just change
inittab like so:

c1:1235:respawn:/sbin/agetty 38400 tty1 linux
to
c1:1235:respawn:flushvc /sbin/agetty 38400 tty1 linux

for all the VCs.

would this work? it seems feasible, but i may be missing something.

jeff