This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: How to clear the screen in a WindowsNT / Linux - Console (C/C ++)
- To: "Jack A Walker" <jawalker at beckman dot com>,Netzmeister at MartinHenne dot de
- Subject: Re: How to clear the screen in a WindowsNT / Linux - Console (C/C ++)
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Thu, 10 Feb 2000 12:19:32 -0500
- Cc: "cygwin at sourceware dot cygnus dot com" <cygwin at hotpop dot com>
At 12:05 PM 2/10/00 , Jack A Walker wrote:
>system("clear"); ?
Only if you have ncurses (or termcap) installed...
>Jack
>
>
>
>Please respond to Netzmeister@MartinHenne.de
>
>To: cygwin@sourceware.cygnus.com
>cc: (bcc: Jack A Walker/BII)
>Subject: How to clear the screen in a WindowsNT / Linux - Console (C/C++)
>
>
>
>Does anybody know how to clear the
>screen and set up the cursor to the
>upper left position?
>
>The Escape-code I used sometimes
>in Windows 95/98
>
> cout << "\x1b[2J";
>
>doesn't work with Linux and
>Windows NT. It works just if I set up
>the 'ansi.sys' in the config.sys of
>Win95/98.
>
>
>Martin
>mailto:webmaster@MartinHenne.de
>
>
>
>
>
>
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com