Mail Archives: cygwin/1997/02/18/23:13:10
------------19A31A174A350
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
dougk AT primenet DOT 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 AT primenet DOT com
> -----------------------------------------------------------
>
> -
> For help on using this list, send a message to
> "gnu-win32-request AT cygnus DOT 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.
------------19A31A174A350
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset=us-ascii
<HTML><BODY>
<DT>dougk AT primenet DOT com wrote:<BR>
> <BR>
> I'm looking for a "clear" command under bash that will clear
the screen in<BR>
> the same way that cls does in a DOS session. All I can think
of at the<BR>
> moment is creating a function that echo's the ANSI clear screen control<BR>
> sequence, but would rather not make ansi.sys a requirement for this<BR>
> application.<BR>
> <BR>
> Anyone tackle this problem already?<BR>
> <BR>
> Doug<BR>
> <BR>
> --<BR>
> -----------------------------------------------------------<BR>
> dougk AT primenet DOT com<BR>
> -----------------------------------------------------------<BR>
> <BR>
> -<BR>
> For help on using this list, send a message to<BR>
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".<BR>
<BR></DT>
<DT> </DT>
<DT>The way i found to clear the screen is add an alias to the .bashrc simillar
to:</DT>
<DT>alias clear="command.com /c cls"</DT>
<DT>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.</DT>
</BODY>
</HTML>
------------19A31A174A350--
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -