X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <49BBE008.8000602@veritech.com> Date: Sat, 14 Mar 2009 12:49:12 -0400 From: "Lee D. Rothstein" User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) 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; format=flowed Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.0.1 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. > > 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/