delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/22/21:28:57

From: cgf AT cygnus DOT com (Christopher G. Faylor)
Subject: Re: No 'clear' in cygwin
22 Jan 1999 21:28:57 GMT :
Message-ID: <78aqip$dho$1@cronkite.cygnus.com>
References: <1 DOT 5 DOT 4 DOT 16 DOT 19990122052900 DOT 132f8afc DOT cygnus DOT gnu-win32 AT fox DOT nstn DOT ca>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <1 DOT 5 DOT 4 DOT 16 DOT 19990122052900 DOT 132f8afc DOT cygnus DOT gnu-win32 AT fox DOT nstn DOT ca>,
Tony Pires <t_pires AT fox DOT nstn DOT ca> wrote:
>The following works for me under Win95:
>
>alias clear='/C/COMMAND.COM /c cls'
>
>This works even under Rxvt. Should be a simple matter to replace COMMAND
>with CMD under NT?

If the alias above is a bash alias, then all you need to do for bash
is type CTRL-L to clear the screen.
-- 
cgf AT cygnus DOT com
http://www.cygnus.com/

- Raw text -


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