Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Reply-To: From: "Martin Henne" To: Subject: How to clear the screen in a WindowsNT / Linux - Console (C/C++) Date: Thu, 10 Feb 2000 17:51:52 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 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