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, what can you use so that you clear the > screen of the prints/outputs from last command. But in case you want > to see the last output, you can just go scroll up/pageup. > > I looked at the bash & Xterm manpage but this info is not available.
Yep, looks like xterm doesn't push the screen content into the scrollback when clearing the screen, and I can't see an option for it either. You may want to try mintty, which does do what you expect (and which doesn't require X). Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
