X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49BBCE65.50009@gmail.com> Date: Sat, 14 Mar 2009 15:33:57 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Clearing the Cygwin console References: <416096c60903140238o2e7b3f2dy707686184a9c6153 AT mail DOT gmail DOT com> In-Reply-To: <416096c60903140238o2e7b3f2dy707686184a9c6153@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/