clearing the scrollback buffer in mintty

Lee D. Rothstein
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:
Problem reports:

More information about the Cygwin mailing list