X-Spam-Check-By: sourceware.org Message-ID: <10845a340602240434o322e71ffg@mail.gmail.com> Date: Fri, 24 Feb 2006 12:34:16 +0000 From: "Richard Quadling" Reply-To: RQuadling AT GMail DOT com To: cygwin AT cygwin DOT com Subject: Re: Clearing the COMPLETE screen. In-Reply-To: <004e01c6393d$10b51910$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline References: <10845a340602240411m630b1b90t AT mail DOT gmail DOT com> <004e01c6393d$10b51910$a501a8c0 AT CAM DOT ARTIMI DOT COM> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id k1OCYNqX003752 Hi. Thanks for the reply. 2 comments. 1 - If I add alias cls='cmd -c cls' to my .bashrc file(logout/login/cls), I get ... RichardQ AT richardquadling ~$ clsMicrosoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp. <24/02/2006 12:34:32 D:\cygwin\home\RichardQ> I then have to type exit to get back to cygwin. e.g. RichardQ AT richardquadling ~$ clsMicrosoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp. <24/02/2006 12:34:32 D:\cygwin\home\RichardQ>exit RichardQ AT richardquadling ~$ clsMicrosoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp. <24/02/2006 12:34:52 D:\cygwin\home\RichardQ>exit RichardQ AT richardquadling ~$ In other words, this is not working for me. 2 - What do you mean by CYGWIN=notty? This looks like an environmentvariable. I've not got one set called CYGWIN. Should I? On 24/02/06, Dave Korn wrote:> On 24 February 2006 12:11, Richard Quadling wrote:>> > Hi.> >> > I'm using Cygwin and have the clear package installed (1.0-2 according> > the cygcheck.out file).> >> > When I run clear, my screen clears! Keep reading!!!!> >> > I run Cygwin in a window on Windows XP. The window is BIG (I like big> > windows). There is also a nice long scrollbar on the side so I can> > scroll up and down for a LOT of output.> >> > The trouble is, clear only clears what I would call the visible part> > of the window.> >> > Is there a way to clear the entire window? That is including the bits> > which you can see when you scroll up again?>>> How bizarre. For me, clear does blank the whole lot but it doesn't return> the cursor to the 'top-of-screen'; after running clear, I can still scroll up,> but all I see is blank stuff. That's in a bash shell in a DOS box with> CYGWIN=notty BTW. I generally use a line like this:>> alias cls='cmd -c cls'>> in my .bashrc to provide a handy clear-everything command.>>> cheers,> DaveK> --> Can't think of a witty .sigline today....>>> --> 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/>> -------Fight back spam! Download the Blue Frog.http://www.bluesecurity.com/register/s?user=UlF1YWRsaW5n