From: dbe AT wgn DOT net ("$Bill Luebkert") Subject: Re: clear screen? 2 Jul 1997 19:36:33 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <33BAFBA2.2AF1.cygnus.gnu-win32@wgn.net> References: <199707020624 DOT CAA16082 AT solid DOT ssd DOT ornl DOT gov> Reply-To: dbe AT wgn DOT net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (Win95; I) Original-To: Wei Ku Original-CC: GNU-Win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com Wei Ku wrote: > > Hello, $Bill: > > Sorry to say this: the second way you mentioned does not work: > > > 2) compile this into clear.exe or cls.exe: > > #include > > int main () { printf("033[2J"); } Sure it does, that's what I use. Course it helps if when you cut and paste you don't lose a char. :) printf("\033[2J"); The \ got lost somewhere. -- ,-/- __ _ _ $Bill Luebkert (_/ / ) // // DBE Collectibles / ) /--< o // // http://www.wgn.net/~dbe/ -/-' /___/_<_