This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: clear screen?
- To: Wei Ku <weiku at UTKUX1 dot UTK dot EDU>
- Subject: Re: clear screen?
- From: Bryon Roche <broche at bensonlaw dot com>
- Date: Wed, 02 Jul 1997 14:28:57 -0500
- CC: GNU-Win32 at cygnus dot com
- References: <199707020624.CAA16082@solid.ssd.ornl.gov>
/*
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".