This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Why would clear.exe persist after exiting?
- To: gnu-win32 at cygnus dot com
- Subject: Why would clear.exe persist after exiting?
- From: vischne at ibm dot net
- Date: Sat, 20 Dec 1997 19:40:28 GMT
I wrote and compiled the following program as a ming32 CRTDLL.DLL program
using the slangw32 version of libslang.
When I tested it under the Dos prompt, it worked perfectly. When I ran
it under bash$, the mouse pointer retained the hourglass after clear.exe
ran, and, pushing CTRL-ALT-DEL (the three-finger salute) showed that
clear and rnaapp were still present, even though running ps.exe did not
show that.
Command line for compiling:
bash$ gcc -O -o clear clear.c -lslang
(libtermcap not needed here)
Program code:
=========================================================================
void SLtt_cls (void);
int SLang_init_tty (int, int, int);
int main (int argc, char **argv)
{
SLang_init_tty (0, 0, 0);
SLtt_cls();
return 0;
}
==========================================================================
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".