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]

Why would clear.exe persist after exiting?


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


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