[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Clear screan question



from the secret journal of wes schreiner (wes@infosink.com):
> See that "SHIFT-PgUp"?  We have always been talking about clearing the
> console scroll-back buffer.  Just clearing the screen is easy, that's
> why this thread has shown several ways to do that.  Clearing the
> scroll-back buffer is trickier.  Either one uses a logout script to fill
> it with blank space (my suggestion) or the script switches to an unused
> vt and back (Ethan's suggestion).  Got an ANSI code to do that?
> 

wes, thanks for the sanity. have you tried anything with /dev/vcs*?

-- 
Jacob Kuntz
underworld.net/~jake
jpk@cape.com

"Strategery" -- George W. Bush
"Lockbox" -- Al Gore



Reply to: