X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: 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: 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 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/