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.

  In a DOS console, it doesn't clear and reset the scrollback buffer, only the
visible field.  I use

  alias cls='cmd /c cls'

in those circumstances.

    cheers,
      DaveK

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