Mail Archives: cygwin/2003/06/16/17:56:37
------_=_NextPart_000_01C33452.1CA00E80
Content-Type: text/plain
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 AT everdream DOT com
Everdream http://www.everdream.com
6591 Dumbarton Circle voice:(510)818-5550
Fremont, CA 94555 fax:(510)818-5510
------_=_NextPart_000_01C33452.1CA00E80
Content-Type: text/plain;
name="cygcheck.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="cygcheck.txt"
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Jun 16 14:50:26 2003
Windows XP Professional Ver 5.1 Build 2600 Service Pack 1
Path: C:\utils\cygwin\usr\local\bin
C:\utils\cygwin\bin
C:\utils\cygwin\bin
c:\utils\ActivePerl\bin\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Microsoft SQL Server\80\Tools\BINN
c:\Program Files\Microsoft Visual Studio .NET\Vc7\bin
c:\apps\apache-ant-1.5.3-1\bin
c:\Program Files\Microsoft Visual Studio .NET\Common7\IDE
C:\utils\cygwin\bin
C:\utils\cygwin\bin
c:\apps\jdk1.3.1_08\bin
c:\apps\emacs-21.2\bin
C:\utils\cygwin\bin
c:\utils\bin
c:\utils\sysinternals
C:\utils\cygwin\sbin
C:\utils\cygwin\bin\id.exe output (nontsec)
UID: 11978(DByron) GID: 18(SYSTEM)
18(SYSTEM)
C:\utils\cygwin\bin\id.exe output (ntsec)
UID: 11978(DByron) GID: 18(SYSTEM)
544(Administrators) 545(Users) =20
10513(mkgroup_l_d)
SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS
HOME =3D `c:\home\dbyron'
MAKE_MODE =3D `unix'
PWD =3D `/cygdrive/c/home/dbyron'
USER =3D `DByron'
ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users'
ANT_HOME =3D `C:\apps\apache-ant-1.5.3-1'
APPDATA =3D `C:\Documents and Settings\DByron\Application Data'
CLASSPATH =3D =
`c:\apps\junit3.8.1\junit.jar;c:\apps\jdk1.3.1_08\lib\tools.jar\;C:\apps=
\apache-ant-1.5.3-1\lib\ant.jar'
CLIENTNAME =3D `Console'
COMMONPROGRAMFILES =3D `C:\Program Files\Common Files'
COMPUTERNAME =3D `DBYRON'
COMSPEC =3D `C:\WINDOWS\system32\cmd.exe'
CVS_RSH =3D `/bin/ssh'
HOMEDRIVE =3D `C:'
HOMEPATH =3D `\Documents and Settings\DByron'
HOSTNAME =3D `dbyron'
INCLUDE =3D `C:\Program Files\Microsoft Visual Studio =
.NET\FrameworkSDK\include\;C:\Program Files\Microsoft Visual Studio =
.NET\Vc7\PlatformSDK\Include;C:\Program Files\Microsoft Visual Studio =
.NET\Vc7\include;C:\Program Files\Microsoft Visual Studio =
.NET\Vc7\atlmfc\include;c:\apps\jdk1.3.1_08\include;c:\apps\jdk1.3.1_08=
\include\win32'
JAVA_HOME =3D `c:\apps\jdk1.3.1_08'
JUNIT_HOME =3D `c:\apps\junit3.8.1'
LIB =3D `C:\Program Files\Microsoft Visual Studio =
.NET\FrameworkSDK\Lib\'
LOGONSERVER =3D `\\SECOND'
MAILTO =3D `dbyron AT everdream DOT com'
MANPATH =3D `:/usr/ssl/man'
MA_AGENT =3D `c:\svctools\softmgmt\rstate.exe'
NUMBER_OF_PROCESSORS =3D `1'
OLDPWD =3D `/cygdrive/c/src/cobra/hello'
OS =3D `Windows_NT'
PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE =3D `x86'
PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 8 Stepping 6, =
GenuineIntel'
PROCESSOR_LEVEL =3D `6'
PROCESSOR_REVISION =3D `0806'
PROGRAMFILES =3D `C:\Program Files'
PROMPT =3D `$P$G'
PS1 =3D `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SESSIONNAME =3D `Console'
SHLVL =3D `1'
SYSTEMDRIVE =3D `C:'
SYSTEMROOT =3D `C:\WINDOWS'
TEMP =3D `c:\DOCUME~1\DByron\LOCALS~1\Temp'
TERM =3D `cygwin'
TMP =3D `c:\DOCUME~1\DByron\LOCALS~1\Temp'
USERDOMAIN =3D `EVERDREAM'
USERNAME =3D `DByron'
USERPROFILE =3D `C:\Documents and Settings\DByron'
VSCOMNTOOLS =3D `"C:\Program Files\Microsoft Visual Studio =
.NET\Common7\Tools\"'
WINDIR =3D `C:\WINDOWS'
_ =3D `/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) =3D `/cygdrive'
cygdrive flags =3D 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) =3D `C:\utils\cygwin'
flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) =3D `C:\utils\cygwin/bin'
flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) =3D `C:\utils\cygwin/lib'
flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts =
v2\/usr/X11R6/lib/X11/fonts
(default) =3D `C:\utils\cygwin\usr\X11R6\lib\X11\fonts'
flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A =20
c: hd NTFS 38177Mb 45% CP CS UN PA FC =20
d: cd N/A N/A =20
C:\utils\cygwin / =
system binmode
C:\utils\cygwin/bin /usr/bin =
system binmode
C:\utils\cygwin/lib /usr/lib =
system binmode
C:\utils\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts =
system binmode
. /cygdrive =
system binmode,cygdrive
Found: C:\utils\cygwin\bin\awk.exe
Found: C:\utils\cygwin\bin\bash.exe
Found: C:\utils\cygwin\bin\cat.exe
Found: C:\utils\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\utils\cygwin\bin\find.exe
Not Found: gcc
Found: C:\utils\cygwin\bin\gdb.exe
Found: C:\utils\cygwin\bin\grep.exe
Found: C:\utils\cygwin\bin\ld.exe
Found: C:\utils\cygwin\bin\ls.exe
Found: C:\utils\cygwin\bin\make.exe
Found: C:\utils\cygwin\bin\mv.exe
Found: C:\utils\cygwin\bin\rm.exe
Found: C:\utils\cygwin\bin\sed.exe
Found: C:\utils\cygwin\bin\sh.exe
Found: C:\utils\cygwin\bin\tar.exe
58k 2002/05/07 C:\utils\cygwin\bin\cygbz2-1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygbz2-1.dll" v0.0 ts=3D2002/5/6 23:33
848k 2003/04/11 C:\utils\cygwin\bin\cygcrypto-0.9.7.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygcrypto-0.9.7.dll" v0.0 ts=3D2003/4/11 3:33
645k 2003/04/11 C:\utils\cygwin\bin\cygcrypto.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygcrypto.dll" v0.0 ts=3D2003/4/11 3:37
551k 2003/04/02 C:\utils\cygwin\bin\cygcurl-2.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygcurl-2.dll" v0.0 ts=3D2003/4/2 13:09
380k 2002/07/24 C:\utils\cygwin\bin\cygdb-3.1.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygdb-3.1.dll" v0.0 ts=3D2002/7/24 9:24
487k 2002/07/24 C:\utils\cygwin\bin\cygdb_cxx-3.1.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygdb_cxx-3.1.dll" v0.0 ts=3D2002/7/24 9:25
45k 2001/04/25 C:\utils\cygwin\bin\cygform5.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygform5.dll" v0.0 ts=3D2001/4/24 22:28
35k 2002/01/09 C:\utils\cygwin\bin\cygform6.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygform6.dll" v0.0 ts=3D2002/1/8 22:03
76k 2003/03/09 C:\utils\cygwin\bin\cygform7.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygform7.dll" v0.0 ts=3D2003/3/9 12:51
28k 2003/03/22 C:\utils\cygwin\bin\cyggdbm-3.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cyggdbm-3.dll" v0.0 ts=3D2003/3/22 14:19
19k 2003/03/22 C:\utils\cygwin\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cyggdbm.dll" v0.0 ts=3D2002/2/19 19:05
15k 2003/03/22 C:\utils\cygwin\bin\cyggdbm_compat-3.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cyggdbm_compat-3.dll" v0.0 ts=3D2003/3/22 14:22
17k 2001/06/28 C:\utils\cygwin\bin\cyghistory4.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cyghistory4.dll" v0.0 ts=3D2001/1/6 20:34
20k 2002/10/10 C:\utils\cygwin\bin\cyghistory5.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cyghistory5.dll" v0.0 ts=3D2002/10/10 10:28
929k 2002/06/24 C:\utils\cygwin\bin\cygiconv-2.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygiconv-2.dll" v0.0 ts=3D2002/6/24 11:24
22k 2001/12/13 C:\utils\cygwin\bin\cygintl-1.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygintl-1.dll" v0.0 ts=3D2001/12/13 1:28
28k 2002/09/20 C:\utils\cygwin\bin\cygintl-2.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygintl-2.dll" v0.0 ts=3D2002/9/19 20:13
21k 2001/06/20 C:\utils\cygwin\bin\cygintl.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygintl.dll" v0.0 ts=3D2001/6/20 10:09
119k 2002/02/09 C:\utils\cygwin\bin\cygjpeg6b.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygjpeg6b.dll" v0.0 ts=3D2002/2/8 21:19
61k 2003/03/05 C:\utils\cygwin\bin\cygkpathsea-3.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygkpathsea-3.dll" v0.0 ts=3D2003/3/5 12:09
26k 2001/04/25 C:\utils\cygwin\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygmenu5.dll" v0.0 ts=3D2001/4/24 22:27
20k 2002/01/09 C:\utils\cygwin\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygmenu6.dll" v0.0 ts=3D2002/1/8 22:03
48k 2003/03/09 C:\utils\cygwin\bin\cygmenu7.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygmenu7.dll" v0.0 ts=3D2003/3/9 12:51
156k 2001/04/25 C:\utils\cygwin\bin\cygncurses++5.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygncurses++5.dll" v0.0 ts=3D2001/4/24 22:29
175k 2002/01/09 C:\utils\cygwin\bin\cygncurses++6.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygncurses++6.dll" v0.0 ts=3D2002/1/8 22:03
226k 2001/04/25 C:\utils\cygwin\bin\cygncurses5.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygncurses5.dll" v0.0 ts=3D2001/4/24 22:17
202k 2002/01/09 C:\utils\cygwin\bin\cygncurses6.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygncurses6.dll" v0.0 ts=3D2002/1/8 22:03
284k 2003/03/09 C:\utils\cygwin\bin\cygncurses7.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygncurses7.dll" v0.0 ts=3D2003/3/9 12:50
15k 2001/04/25 C:\utils\cygwin\bin\cygpanel5.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygpanel5.dll" v0.0 ts=3D2001/4/24 22:27
12k 2002/01/09 C:\utils\cygwin\bin\cygpanel6.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygpanel6.dll" v0.0 ts=3D2002/1/8 22:03
31k 2003/03/09 C:\utils\cygwin\bin\cygpanel7.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygpanel7.dll" v0.0 ts=3D2003/3/9 12:50
63k 2003/04/11 C:\utils\cygwin\bin\cygpcre.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygpcre.dll" v0.0 ts=3D2003/4/11 1:31
61k 2003/04/11 C:\utils\cygwin\bin\cygpcreposix.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygpcreposix.dll" v0.0 ts=3D2003/4/11 1:31
1069k 2003/06/02 C:\utils\cygwin\bin\cygperl5_8_0.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygperl5_8_0.dll" v0.0 ts=3D2003/6/2 5:01
173k 2003/02/23 C:\utils\cygwin\bin\cygpng12.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygpng12.dll" v0.0 ts=3D2003/2/23 14:02
22k 2002/06/09 C:\utils\cygwin\bin\cygpopt-0.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygpopt-0.dll" v0.0 ts=3D2002/6/8 22:45
108k 2001/06/28 C:\utils\cygwin\bin\cygreadline4.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygreadline4.dll" v0.0 ts=3D2001/1/6 20:34
127k 2002/10/10 C:\utils\cygwin\bin\cygreadline5.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygreadline5.dll" v0.0 ts=3D2002/10/10 10:28
176k 2003/04/11 C:\utils\cygwin\bin\cygssl-0.9.7.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygssl-0.9.7.dll" v0.0 ts=3D2003/4/11 3:33
165k 2003/04/11 C:\utils\cygwin\bin\cygssl.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygssl.dll" v0.0 ts=3D2003/4/11 3:37
281k 2003/02/24 C:\utils\cygwin\bin\cygtiff3.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygtiff3.dll" v0.0 ts=3D2003/2/23 20:58
50k 2002/03/12 C:\utils\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygz.dll" v0.0 ts=3D2002/3/11 20:38
948k 2003/03/18 C:\utils\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 =
sys=3D4.0
"cygwin1.dll" v0.0 ts=3D2003/3/18 6:20
Cygwin DLL version info:
DLL version: 1.3.22
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 78
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:=20
Build date: Tue Mar 18 09:20:11 EST 2003
CVS tag: dontuse-21
Shared id: cygwin1S3
Cygwin Package Information
Last downloaded files to: C:\archive\cygwin
Last downloaded files from: http://mirror.averse.net/cygwin
Package Version
_update-info-dir 00167-1
ash 20020731-1
autoconf 2.54-1
autoconf-devel 2.57-1
autoconf-stable 2.13-4
base-files 1.3-1
base-passwd 1.1-1
bash 2.05b-9
bc 1.06-1
binutils 20030307-1
bzip2 1.0.2-2
chkconfig 1.2.24h-1
clear 1.0-1
cron 3.0.1-9
crypt 1.0-1
curl 7.10.4-1
cvs 1.11.5-1
cygrunsrv 0.96-1
cygutils 1.1.3-1
cygwin 1.3.22-1
dejagnu 20021217-2
diffutils 2.8.1-1
doxygen 1.2.18-1
dpkg 1.10.4-2
ed 0.2-1
expect 20030128-1
file 4.02-1
fileutils 4.1-1
findutils 4.1.7-4
gawk 3.1.2-2
gcc2 2.95.3-10
gdb 20030303-1
gdbm 1.8.3-1
gettext 0.11.5-1
grep 2.5-1
groff 1.18.1-2
gzip 1.3.3-4
inetutils 1.3.2-22
initscripts 0.9-1
jpeg 6b-7
less 378-1
libbz2_1 1.0.2-2
libdb3.1 3.1.17-2
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-1
libgdbm3 1.8.3-1
libiconv2 1.8-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.11.5-1
libkpathsea3 2.0.2-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-1
libpcre 4.1-1
libpcre0 4.2-1
libpng12 1.2.5-1
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-2
login 1.9-4
m4 1.4-1
make 3.79.1-7
man 1.5j-2
mingw-runtime 3.0-1
mktemp 1.4-1
more 2.11o-1
ncurses 5.3-1
openssh 3.6.1p1-2
openssl 0.9.7b-1
openssl096 0.9.6j-1
patch 2.5.8-3
pcre 4.2-1
pcre-doc 4.2-1
perl 5.8.0-3
readline 4.3-2
sed 4.0.7-1
sh-utils 2.0.15-3
sharutils 4.2.1-2
shutdown 1.3-1
ssmtp 2.38.7-3
sysvinit 2.84-3
tar 1.13.25-1
tcltk 20030214-1
termcap 20020930-1
terminfo 5.3-2
tetex 2.0.2-1
tetex-bin 2.0.2-1
tetex-tiny 2.0.2-1
texinfo 4.2-4
textutils 2.0.21-1
tiff 3.6.0-1
time 1.7-1
unzip 5.50-2
w32api 2.3-1
which 1.5-1
xinetd 2.3.9-1
zip 2.3-2
zlib 1.1.4-1
Use -h to see help about each section
------_=_NextPart_000_01C33452.1CA00E80
Content-Type: text/plain; charset=us-ascii
--
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/
------_=_NextPart_000_01C33452.1CA00E80--
- Raw text -