| delorie.com/archives/browse.cgi | search |
| From: | broche AT bensonlaw DOT com (Bryon Roche) |
| Subject: | Re: clear screen? |
| 2 Jul 1997 15:25:53 -0700 : | |
| Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
| Distribution: | cygnus |
| Message-ID: | <33BAABF9.12661C60.cygnus.gnu-win32@bensonlaw.com> |
| References: | <199707020624 DOT CAA16082 AT solid DOT ssd DOT ornl DOT gov> |
| Mime-Version: | 1.0 |
| X-Mailer: | Mozilla 4.0 [en] (WinNT; I) |
| Original-To: | Wei Ku <weiku AT UTKUX1 DOT UTK DOT EDU> |
| Original-CC: | GNU-Win32 AT cygnus DOT com |
| X-Priority: | 3 (Normal) |
| Original-Sender: | owner-gnu-win32 AT cygnus DOT 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 AT bensonlaw DOT com|
\---------------------------/
*/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |