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 Message-Id: <4.2.0.58.20000210121847.00c11690@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Thu, 10 Feb 2000 12:19:32 -0500 To: "Jack A Walker" , Netzmeister AT MartinHenne DOT de From: "Larry Hall (RFK Partners, Inc)" Subject: Re: How to clear the screen in a WindowsNT / Linux - Console (C/C ++) Cc: "cygwin AT sourceware DOT cygnus DOT com" In-Reply-To: <08256881.005E021A.00@svfulnotes1.beckman.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 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 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com