delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/28/16:40:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_40,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtgEAJI6Ck7Ay7s3Omdsb2JhbAAMR5hQjnwBAQEBGAjLJoYwBJcbixY
Message-ID: <4E0A3C25.5060801@jackson.io>
Date: Tue, 28 Jun 2011 20:40:05 +0000
From: Ken Jackson <cygwin AT jackson DOT io>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: clear has been named clearw?
References: <BANLkTinbLFjoz05DZO1qXhzKQ20gxYcC4Q AT mail DOT gmail DOT com>
In-Reply-To: <BANLkTinbLFjoz05DZO1qXhzKQ20gxYcC4Q@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 6/26/2011 2:21 PM, Andrew Hancock wrote:
> After some web surfing about how to clear the screen in cygwin, I
> installed ncurses.  /bin/clear.exe is not there, but  ...

I solve that with this in my ~/.bashrc file:

alias clear='echo -n -e "\e[2J\e[H"'

-Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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