delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/10/12:02:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Lotus-FromDomain: BII
From: "Jack A Walker" <jawalker AT beckman DOT com>
To: Netzmeister AT MartinHenne DOT de
cc: cygwin AT sourceware DOT cygnus DOT com
Message-ID: <08256881.005E021A.00@svfulnotes1.beckman.com>
Date: Thu, 10 Feb 2000 09:05:02 -0800
Subject: Re: How to clear the screen in a WindowsNT / Linux - Console (C/C
++)
Mime-Version: 1.0

system("clear"); ?

Jack



Please respond to Netzmeister AT MartinHenne DOT de

To:   cygwin AT sourceware DOT cygnus DOT 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 AT MartinHenne DOT de







--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019