Re: ^L doesn't clear screen

2014-09-07 Thread Chet Ramey
On 9/6/14, 8:24 PM, ch...@cfajohnson.com wrote: > Bash Version: 4.3 > Patch Level: 24 > Release Status: release > > Description: > ^L doesn't clear the screen >lithist is on, but prints literal ^J instead of NL >This is terminal-independent (mate-terminal, xterm, rxvt) > > Repeat-

^L doesn't clear screen

2014-09-06 Thread chris
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share

Re: Clear Screen

2010-12-01 Thread Dennis Williamson
PuTTY and gnome-terminal seem to preserve the previous output in the scrollback buffer (effectively doing a "newline" clear). PuTTY has a setting for this: "Window/Push erased text into scrollback" On Wed, Dec 1, 2010 at 3:21 PM, Greg Wooledge wrote: > On Wed, Dec 01, 2010 at 02:04:51PM -0700, B

Re: Clear Screen

2010-12-01 Thread Bob Proulx
haracters to the terminal instead of clearing it. That should > push the information that's currently visible "up" into the scrollback > buffer, where he wants it to be. That seems possible. Create a routine that does exactly that and then bind it to the clear-screen funct

Re: Clear Screen

2010-12-01 Thread Greg Wooledge
On Wed, Dec 01, 2010 at 02:04:51PM -0700, Bob Proulx wrote: > If that doesn't do what you want then I don't think the functionality > you request exists. That's probably technically true. But on the other hand, I can see where his question is coming from. If you're on an rxvt or something, with

Re: Clear Screen

2010-12-01 Thread Bob Proulx
Ajay Jain wrote: > I use bash on Xterm. > While working you press Ctrl-L, so that the screen gets cleared and > you see the currently line only. That is what clearing the does. It operates the same as the 'clear' command line program in clearing the screen. > But you may want to see the last out

Re: Clear Screen

2010-12-01 Thread Chris F.A. Johnson
On Tue, 30 Nov 2010, Ajay Jain wrote: Hi, I use bash on Xterm. While working you press Ctrl-L, so that the screen gets cleared and you see the currently line only. But you may want to see the last outputs/prints. However, if you do a Ctrl-L/clear command, these prints go away. In that case, wha

Clear Screen

2010-12-01 Thread Ajay Jain
Hi, I use bash on Xterm. While working you press Ctrl-L, so that the screen gets cleared and you see the currently line only. But you may want to see the last outputs/prints. However, if you do a Ctrl-L/clear command, these prints go away. In that case, what can you use so that you clear the scree