This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: clear screen?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]