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

Re: Clear Screen

2010-12-01 Thread Andy Koppe
On 1 December 2010 11:34, 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. 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,

Re: Clear Screen

2010-12-01 Thread Thomas Dickey
On Wed, 1 Dec 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,

Re: Clear Screen

2010-12-01 Thread Andy Koppe
On 1 December 2010 21:24, Thomas Dickey wrote: By the way, the clearing of the screen on ctrl/L is not done by xterm. (PuTTY does this, in case you're mistaking it for xterm, otherwise I'd assume bash is doing it). Yep, bash sends '\e[2J' when ^L is pressed. PuTTY's behaviour of interpreting

Re: Clear Screen

2010-12-01 Thread Thomas Dickey
On Wed, 1 Dec 2010, Andy Koppe wrote: On 1 December 2010 21:24, Thomas Dickey wrote: By the way, the clearing of the screen on ctrl/L is not done by xterm. (PuTTY does this, in case you're mistaking it for xterm, otherwise I'd assume bash is doing it). Yep, bash sends '\e[2J' when ^L is