X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <OFBDD3F800.4A27063E-ONC125733D.00340B51-C125733D.00341376@iht.com>
Subject: RE: clear
Date: Mon, 20 Aug 2007 10:41:02 +0100
Message-ID: <075b01c7e30e$392bfd60$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: <OFBDD3F800.4A27063E-ONC125733D.00340B51-C125733D.00341376@iht.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 20 August 2007 10:30, PDeRochambeau@iht.com wrote:

> Hello,
> 
> I have just reinstalled cygwin from scratch (deleted c:\cygwin directory)
> and noticed that the clear command was not in /usr/bin anymore.
> 
> In Cygwin Package List, it says that clear was removed and that ncurses
> should be used instead (?). However, libncurses7 and libncurses8 ARE
> installed on my machine, according to setup.exe, which means, I guess,
> that ncurses is installed.
> 
> How do you use ncurses "clear" command, if there is such a thing?

  I dunno, but here's a couple of alternatives:

alias clear='cmd /c cls'
alias clear='echo -e "\033c"'

  The cmd.exe-based one works best in a cygwin DOS-console shell, the echo
version works best in a proper console like rxvt/xterm.

    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/

