clearing the scrollback buffer in mintty

Lee D. Rothstein l1ee057@veritech.com
Sun Mar 15 01:37:00 GMT 2009


Dave Korn "piped":

> For gui consoles, use

>   alias cls='echo -e "\033c"'

> which does clear the scrollback buffer.

Thanks Dave, this works on 'xterm' but not on 'mintty'.

On 'mintty' it does a 'clear' (i.e., clears the screen),
rather than a 'cls' (i.e., clears the screen and
scrollback buffer).




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list