This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Clearing the Cygwin console


Andy Koppe wrote:
on Linux/UNIX systems with the command 'clear' the console content usually
can be "flushed", on Windows with 'cls'.
None of these commands worked with Cygwin. If I enter 'clear', the message
 bash: clear: command not found
is returned.

How can a console used with Cygwin be cleared?

Ctrl+L. Works in all terminals.



clear.exe is available in the ncurses package.


As Andy said ^-l works.

However, with both clear and ^-l, the scroll buffer is not cleared which makes it use with text-based debugging
rather limited. That's one reason the alternate screen option on 'rxvt', and 'xterm' is useful.



-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]