Re: [sys admin][linux]

From: Fafhrd (fafhrd@ROTD.COM)
Date: 10/03/98


Try fprintf(stderr, "message");
stdout could be defined as many different places, and thus is not a
guarantee.

>> i just redid my linux box with caldera.  now when i try to use my
>> debugging messages in circle (ie run circle by bin/circle 4000 &) then
>> use printf("blah blah") to see the console messages, i get nothing.
>>
>> i tried fprintf(stdout, "blah blah") and that doesnt work.  I made sure
>> my terminal was set to linux(so it can recieve console messages) also.
>>
>> anybody got any idea how to get the printf to work?  i'm stumped.
>
>What file descriptor is console?  If it's not using stdout, then printf()
>won't work.  Or it's possible that your are sending it all to the
>background and the printf()'s are getting dumped w/o you seeing them.
>
>Hope this helps.
>
>--
>
>email:  jfrench@umr.edu       ICQ#:   13579151
>        Joshua French          web:   www.umr.edu/~jfrench
>
>
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>     +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST