clear screen?

Bryon Roche broche@bensonlaw.com
Wed Jul 2 12:29:00 GMT 1997


/*
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".



More information about the Cygwin mailing list