X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <31DDB7BE4BF41D4888D41709C476B6570929AAD1 AT NIHCESMLBX5 DOT nih DOT gov> <20080213172935 DOT GA28644 AT ednor DOT casa DOT cgf DOT cx> Subject: RE: Re: tcsh clear command? Date: Wed, 13 Feb 2008 17:34:26 -0000 Message-ID: <017d01c86e66$ae2c7d90$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20080213172935.GA28644@ednor.casa.cgf.cx> 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 On 13 February 2008 17:30, Christopher Faylor wrote: >> alias clear='echo -ne \\e[2J' >> alias clear='echo -ne "\e[2J"' > > Or just type CTRL-L in bash, tcsh, and zsh if you want to clear the screen. That also doesn't reset the buffer. OTOH, the standard ANSI sequence "^]c" does do that: alias clear='echo -ne \\033c' 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/