This is the mail archive of the cygwin@cygwin.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] |
Other format: | [Raw text] |
I'm still struggling with getting a Visual-Studio-built console app to output things to the console via an ssh session. I've attached cygcheck -s -v -r output again since I've started a new thread. I was able to get my program to output via the console, but I had to turn off buffering to do it. Not sure if this is obvious. I added setbuf(stdout,NULL); to the beginning of the program.... HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sshd\Parameters\Environ ment has an entry for CYGWIN, but the value is empty. Without turning off buffering, I don't see any output via an ssh localhost session until my program terminates. Without ssh, and without the call to setbuf, I see output normally.... I'm looking for suggestions to get "normal" output via without the setbuf call. Any ideas? Thanks again for your help. Is there any more information I can provide to help figure this out? -DB -- David Byron dbyron@everdream.com Everdream http://www.everdream.com 6591 Dumbarton Circle voice:(510)818-5550 Fremont, CA 94555 fax:(510)818-5510
Attachment:
cygcheck.txt
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |