delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/13/12:35:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <fou0fh$rbu$1 AT ger DOT gmane DOT org> <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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019