On Sunday 13 October 2002 06:58 am, Kiran wrote:
> "generally" reserved for X servers. I have noticed that F12 on MDK
> systems seems to be stderr although I haven't looked into that yet.
While Mandrake is certainly directing some errors at F12, stderr still acts as
normal. It's is very easy to redirect stderr (one method: simply close
stderr and open another file/file-like structure). This is probably what the
applications you see are doing. To demonstrate stderr is working as normal:
[flindet@flindet flindet]$ vi stderrtest.c
[flindet@flindet flindet]$ gcc -Wall stderrtest.c -o stderrtest
[flindet@flindet flindet]$ cat stderrtest.c
#include <stdio.h>
int main()
{
fprintf(stderr, "This is a test message.\n");
return 0;
}
[flindet@flindet flindet]$ ./stderrtest
This is a test message.
[flindet@flindet flindet]$
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com