This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bash and the missing clear command
- To: dougk at primenet dot com
- Subject: Re: bash and the missing clear command
- From: RaLe <rms000205 at intrerramp dot com>
- Date: Wed, 19 Feb 1997 01:33:37 -0500
- CC: GNU-WIN32 <gnu-win32 at cygnus dot com>
- References: <199702181525.IAA11199@primenet.com>
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.