bash and the missing clear command

RaLe rms000205@intrerramp.com
Tue Feb 18 22:33:00 GMT 1997


dougk@primenet.com wrote:
> 
> I'm looking for a "clear" command under bash that will clear
the screen in
> the same way that cls does in a DOS session.  All I can think
of at the
> moment is creating a function that echo's the ANSI clear screen control
> sequence, but would rather not make ansi.sys a requirement for this
> application.
> 
> Anyone tackle this problem already?
> 
> Doug
> 
> --
> -----------------------------------------------------------
> dougk@primenet.com
> -----------------------------------------------------------
> 
> -
> For help on using this list, send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".


 

The way i found to clear the screen is add an alias to the .bashrc simillar
to:

alias clear="command.com /c cls"

this seems to work fine under win95 as long as command.com is in your
PATH, however i'm not shure how you would do it under NT.





More information about the Cygwin mailing list