www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <OFBDD3F800 DOT 4A27063E-ONC125733D DOT 00340B51-C125733D DOT 00341376 AT iht DOT 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 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <OFBDD3F800.4A27063E-ONC125733D.00340B51-C125733D.00341376@iht.com> |
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 20 August 2007 10:30, PDeRochambeau AT iht DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |