From: broche@bensonlaw.com (Bryon Roche)
Subject: Re: clear screen?
2 Jul 1997 15:25:53 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <33BAABF9.12661C60.cygnus.gnu-win32@bensonlaw.com>
References: <199707020624.CAA16082@solid.ssd.ornl.gov>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0 [en] (WinNT; I)
Original-To: Wei Ku <weiku@UTKUX1.UTK.EDU>
Original-CC: GNU-Win32@cygnus.com
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32@cygnus.com

/*
Wei Ku wrote:

And I am sure that you can figure out several ways to do this in pure
> C in order to generate a more compact binary executable file.

Here's a simple C program to do the job. I think I posted this, but I'm
not sure if I did.

compile with:
gcc -o clear.exe clear.c ; strip clear.exe

*/
#include <stdio.h>
int main(void) {printf("\033[2J");}
/*
-- 
/---------------------------\
|Bryon Roche                |
|mailto:broche@bensonlaw.com|
\---------------------------/
*/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
