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