X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Subject: RE: Re: tcsh clear command? Date: Wed, 13 Feb 2008 12:24:55 -0500 Message-ID: <31DDB7BE4BF41D4888D41709C476B6570929AAD1@NIHCESMLBX5.nih.gov> In-Reply-To: From: "Buchbinder, Barry (NIH/NIAID) [E]" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 m1DHPaoI015953 Andrew DeFaria wrote on Wednesday, February 13, 2008 12:51 AM: > Dave Korn wrote: >> On 12 February 2008 22:35, Larry Hall (Cygwin) wrote: >> >>> Christopher Stack wrote: >>>> i've noticed in the cygwin implementation of tcsh that the clear >>>> command doesn't exist. is it in some other format or is there a >>>> module to add this? i thought it was part of the basic tcsh. >>> >> >> I always find >> >> alias clear cmd /c cls >> >> works best in a DOS console, it has the benefit of resetting the >> scroll buffer where clear only blanks the currently-visible area. >> >> cheers, >> DaveK > And if one is not using a "DOS console" (<- who the hell would use > that! > Yuck)? > -- > Andrew DeFaria > I just got a physical and asked the doctor, "How do I stand?" He > said, "That's what puzzles me!" I do not know what the syntax is for alias in tcsh, but the following work in bash. alias clear='echo -ne \\e[2J' alias clear='echo -ne "\e[2J"'