This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
clear.c program that clears cygwin screen and disconnects keyboard
- To: gnu-win32 at cygnus dot com
- Subject: clear.c program that clears cygwin screen and disconnects keyboard
- From: vischne at ibm dot net
- Date: Sun, 28 Dec 1997 05:00:41 GMT
As the caption promised, the following is a supposedly correct clear.exe
program that clears the bash$ window, but leaves the cygwin keyboard
not working. Try it and see for yourself.
clear.c:
=========================================================================
#include <stdio.h>
int main (int argc, char **argv)
{
/* ansi.sys (and Linux) clear screen command: */
return printf("\e[2J");
}
=========================================================================
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".