dumb how to clear scroll-back buffer in console/xterm?

2009-01-22 Thread Steve Franks
Occasionally, one wants to do this.  Unfortunately this is one of
those topics with too many generic search terms that gives 2.99x10e8
hits.  Clearly, I'm suffering from information overload both in my
console sessions and my google searches ;)

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dumb how to clear scroll-back buffer in console/xterm?

2009-01-22 Thread Frank Shute
On Thu, Jan 22, 2009 at 01:49:13PM -0700, Steve Franks wrote:

 Occasionally, one wants to do this.  Unfortunately this is one of
 those topics with too many generic search terms that gives 2.99x10e8
 hits.  Clearly, I'm suffering from information overload both in my
 console sessions and my google searches ;)
 

Ctl-L does it for me in xterm. Might work in the console too.

 Steve

Anybody know how to clear the buffer in screen?

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dumb how to clear scroll-back buffer in console/xterm?

2009-01-22 Thread Steve Franks
 Ctl-L does it for me in xterm. Might work in the console too.

Just clears the screen, not the scrollback buffer for me.  Must be
some secret setting somewhere...

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dumb how to clear scroll-back buffer in console/xterm?

2009-01-22 Thread Frank Shute
On Thu, Jan 22, 2009 at 02:50:09PM -0700, Steve Franks wrote:

  Ctl-L does it for me in xterm. Might work in the console too.
 
 Just clears the screen, not the scrollback buffer for me.  Must be
 some secret setting somewhere...
 

Sorry Steve, I forgot to mention that I've got:

XTerm*VT100*translations: #override \
CtrlKeyPressl : clear-saved-lines()

in ~/.Xdefaults


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dumb how to clear scroll-back buffer in console/xterm?

2009-01-22 Thread Frank Shute
On Thu, Jan 22, 2009 at 01:49:13PM -0700, Steve Franks wrote:

 Occasionally, one wants to do this.  Unfortunately this is one of
 those topics with too many generic search terms that gives 2.99x10e8
 hits.  Clearly, I'm suffering from information overload both in my
 console sessions and my google searches ;)
 
 Steve

From vidcontrol(1):

-C  Clear the history buffer.

So that should work for the console.


Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dumb how to clear scroll-back buffer in console/xterm?

2009-01-22 Thread Polytropon
On Thu, 22 Jan 2009 21:28:12 +, Frank Shute fr...@shute.org.uk wrote:
 On Thu, Jan 22, 2009 at 01:49:13PM -0700, Steve Franks wrote:
 
  Occasionally, one wants to do this.  Unfortunately this is one of
  those topics with too many generic search terms that gives 2.99x10e8
  hits.  Clearly, I'm suffering from information overload both in my
  console sessions and my google searches ;)
  
 
 Ctl-L does it for me in xterm. Might work in the console too.

Works there, but you can still press the Scroll Lock key and then
use the cursor / page moving keys to check what's up there.

If you need to clear the console when logging out, just put the
command

clear

in your ~/.logout, or globally into /etc/csh.logout.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org