Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Paul Davidson" To: Subject: Re: Use of openssh 3.6/3.6.1 seems to make some dos generated stdout drop Date: Fri, 25 Apr 2003 15:38:51 -0400 Message-ID: <000201c30b62$4cb00350$4d600f82@FL404> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h3PJe6823346 I’ve been having the same problem with sshd running as a service on XP Pro.  I lose part of the output of some native win32 console apps when I ssh to the machine.  The same commands run fine from rxvt or the cygwin console.  The problem is most annoying when using ‘nmake’ (from visual C++), as Fred has already noted, but also when using the ‘net’ tool.   When I type ‘net’ at the command prompt I usually get a summary of command syntax.  Running the same command in an ssh session results in one blank line.  The win32 ‘help’ command also generates no output, but ‘dir’ is unaffected.  I tried running ‘cmd’ from within my ssh session and starting the applications from within the windows console, to no avail.  I’m running OpenSSH 3.6.1p1.    I have included a cygcheck report as generated during an ssh session - hopefully this will help someone track down the problem.   Paul Davidson     ----------------------------------------------------------------- Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Apr 25 15:24:20 2003   Windows XP Professional Ver 5.1 Build 2600 Service Pack 1   Path:   C:\cygwin\usr\local\bin         C:\cygwin\bin         C:\cygwin\bin         c:\PROGRA~1\MIAF9D~1\Common\msdev98\BIN         c:\PROGRA~1\MIAF9D~1\VC98\BIN         c:\PROGRA~1\MIAF9D~1\Common\TOOLS\WINNT         c:\PROGRA~1\MIAF9D~1\Common\TOOLS         c:\WINDOWS\system32         c:\WINDOWS         c:\WINDOWS\System32\Wbem         c:\Program Files\Common Files\Adaptec Shared\System         c:\progra~1\matlab6p5\bin\win32         c:\VXIpnp\WinNT\Bin         C:\cygwin\bin         C:\cygwin\bin   C:\cygwin\bin\id.exe output (nontsec) UID: 1006(Paul             GID: dson) (None) groups=513(None)    544(Administrators) 555(Remote Desktop Users)  545(Users) 1008(TelnetUsers)   C:\cygwin\bin\id.exe output (ntsec) UID: 1006(Paul             GID: dson) (None) groups=513(None)    544(Administrators) 555(Remote Desktop Users)  545(Users) 1008(TelnetUsers)   SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS   CYGWIN = `binmode ntsec tty' HOME = `C:\cygwin\home\Paul Davidson' MAKE_MODE = `unix' PWD = `/home/Paul Davidson' USER = `Paul Davidson'   ALLUSERSPROFILE = `C:\Documents and Settings\All Users' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `FL404' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' HOMEDRIVE = `C:' HOMEPATH = `\cygwin\home\Paul Davidson' HOSTNAME = `FL404' INCLUDE = `C:\PROGRA~1\MIAF9D~1\VC98\ATL\INCLUDE;C:\PROGRA~1\MIAF9D~1\VC98\INCLUDE;C:\ PROGRA~1\MIAF9D~1\VC98\MFC\INCLUDE ' INPUTRC = `/etc/inputrc' LIB = `C:\PROGRA~1\MIAF9D~1\VC98\LIB;C:\PROGRA~1\MIAF9D~1\VC98\MFC\LIB;C:\PROGRA~1 \MIAF9D~1\VC98\LIB;C:\PROGRA~1\MIAF9D~ 1\VC98\MFC\LIB;%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB%' LOGNAME = `Paul Davidson' LOGONSERVER = `\\FL404' MAIL = `/var/spool/mail/Paul Davidson' MANPATH = `:/usr/ssl/man' MSDEVDIR = `C:\PROGRA~1\MIAF9D~1\Common\msdev98' MSVCDIR = `C:\PROGRA~1\MIAF9D~1\VC98' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/home/Paul Davidson' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 7, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0207' PROGRAMFILES = `C:\Program Files' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' SHELL = `/bin/bash' SHLVL = `1' SSH_CLIENT = `130.15.96.77 1668 22' SSH_CONNECTION = `130.15.96.77 1668 130.15.96.77 22' SSH_TTY = `/dev/tty4' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\WINDOWS\TEMP' TERM = `vt100' TMP = `c:\WINDOWS\TEMP' TZ = `EST5EST4,M4.1.0/2,M10.5.0/2' USERDOMAIN = `FL404' USERNAME = `Paul Davidson' VCOSDIR = `WINNT' VSCOMMONDIR = `C:\PROGRA~1\MIAF9D~1\Common' VXIPNPPATH = `C:\VXIpnp\' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck.exe'   Use `-r' to scan registry   a:  fd           N/A    N/A c:  hd  NTFS   57200Mb  29% CP CS UN PA FC d:  cd           N/A    N/A   C:\cygwin      /          system  binmode C:\cygwin/bin  /usr/bin   system  binmode C:\cygwin/lib  /usr/lib   system  binmode .              /cygdrive  system  binmode,cygdrive   Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Not Found: cpp (good!) Found: C:\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Not Found: make Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe      58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0                   "cygbz2-1.dll" v0.0 ts=2002/5/7 2:33   848k 2003/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0                   "cygcrypto-0.9.7.dll" v0.0 ts=2003/4/11 6:33   645k 2003/04/11 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0                   "cygcrypto.dll" v0.0 ts=2003/4/11 6:37   380k 2002/07/24 C:\cygwin\bin\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0                   "cygdb-3.1.dll" v0.0 ts=2002/7/24 12:24   487k 2002/07/24 C:\cygwin\bin\cygdb_cxx-3.1.dll - os=4.0 img=1.0 sys=4.0                   "cygdb_cxx-3.1.dll" v0.0 ts=2002/7/24 12:25    45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0                   "cygform5.dll" v0.0 ts=2001/4/25 1:28    35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0                   "cygform6.dll" v0.0 ts=2002/1/9 1:03    76k 2003/03/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0                   "cygform7.dll" v0.0 ts=2003/3/9 15:51    28k 2003/03/22 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0                   "cyggdbm-3.dll" v0.0 ts=2003/3/22 17:19    19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0                   "cyggdbm.dll" v0.0 ts=2002/2/19 22:05    15k 2003/03/22 C:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0                   "cyggdbm_compat-3.dll" v0.0 ts=2003/3/22 17:22    17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0                   "cyghistory4.dll" v0.0 ts=2001/1/6 23:34    20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0                   "cyghistory5.dll" v0.0 ts=2002/10/10 13:28   306k 2002/04/27 C:\cygwin\bin\cyghttpd.dll - os=4.0 img=1.0 sys=4.0                   "cyghttpd.dll" v0.0 ts=2002/4/27 9:23   929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0                   "cygiconv-2.dll" v0.0 ts=2002/6/24 14:24    22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0                   "cygintl-1.dll" v0.0 ts=2001/12/13 4:28    28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0                   "cygintl-2.dll" v0.0 ts=2002/9/19 23:13    26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0                   "cygmenu5.dll" v0.0 ts=2001/4/25 1:27    20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0                   "cygmenu6.dll" v0.0 ts=2002/1/9 1:03    48k 2003/03/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0                   "cygmenu7.dll" v0.0 ts=2003/3/9 15:51   156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0                   "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29   175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0                   "cygncurses++6.dll" v0.0 ts=2002/1/9 1:03   226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0                   "cygncurses5.dll" v0.0 ts=2001/4/25 1:17   202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0                   "cygncurses6.dll" v0.0 ts=2002/1/9 1:03   284k 2003/03/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0                   "cygncurses7.dll" v0.0 ts=2003/3/9 15:50    15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0                   "cygpanel5.dll" v0.0 ts=2001/4/25 1:27    12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0                   "cygpanel6.dll" v0.0 ts=2002/1/9 1:03    31k 2003/03/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0                   "cygpanel7.dll" v0.0 ts=2003/3/9 15:50    63k 2003/04/11 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0                   "cygpcre.dll" v0.0 ts=2003/4/11 4:31    61k 2003/04/11 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0                   "cygpcreposix.dll" v0.0 ts=2003/4/11 4:31 1005k 2003/03/30 C:\cygwin\bin\cygperl5_8_0.dll - os=4.0 img=1.0 sys=4.0                   "cygperl5_8_0.dll" v0.0 ts=2003/3/30 10:39   108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0                   "cygreadline4.dll" v0.0 ts=2001/1/6 23:34   127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0                   "cygreadline5.dll" v0.0 ts=2002/10/10 13:28   176k 2003/04/11 C:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0                   "cygssl-0.9.7.dll" v0.0 ts=2003/4/11 6:33   165k 2003/04/11 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0                   "cygssl.dll" v0.0 ts=2003/4/11 6:37    50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0                   "cygz.dll" v0.0 ts=2002/3/11 23:38   948k 2003/03/18 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0                   "cygwin1.dll" v0.0 ts=2003/3/18 9: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:         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:\Documents and Settings\Paul Davidson\My Documents\Download\Cygwin Last downloaded files from: ftp://archive.progeny.com/cygwin   Package              Version _update-info-dir     00162-1 agetty               2.1-1 apache               1.3.24-5 ash                  20020731-1 astyle               1.15.3-3 autoconf             2.54-1 autoconf-devel       2.57-1 autoconf-stable      2.13-4 automake             1.7.1-1 automake-devel       1.7.3-1 automake-stable      1.4p5-5 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 ctags                5.5-3 cygrunsrv            0.96-1 cygwin               1.3.22-1 diffutils            2.8.1-1 emacs                21.2-12 fileutils            4.1-1 findutils            4.1.7-4 gawk                 3.1.2-2 gdbm                 1.8.0-5 grep                 2.5-1 groff                1.18.1-2 gzip                 1.3.3-4 inetutils            1.3.2-22 less                 378-1 libbz2_1             1.0.2-2 libdb3.1             3.1.17-2 libgdbm              1.8.0-5 libgdbm-devel        1.8.0-5 libgdbm3             1.8.3-1 libiconv2            1.8-2 libintl1             0.10.40-1 libintl2             0.11.5-1 libncurses5          5.2-1 libncurses6          5.2-8 libncurses7          5.3-1 libreadline4         4.1-2 libreadline5         4.3-2 login                1.8-1 m4                   1.4-1 man                  1.5j-2 mktemp               1.4-1 ncurses              5.3-1 openssh              3.6.1p1-1 openssl              0.9.7b-1 openssl096           0.9.6j-1 pcre                 4.1-1 perl                 5.8.0-2 readline             4.3-2 rxvt                 2.7.10-3 sed                  4.0.7-1 sh-utils             2.0.15-3 tar                  1.13.25-1 tcsh                 6.12.00-5 termcap              20020930-1 terminfo             5.3-2 texinfo              4.2-4 textutils            2.0.21-1 vim                  6.1.300-1 which                1.5-1 zlib                 1.1.4-1   >I've been having a problem with (I think) OpenSSH sshd in Cygwin.  I have a >project that builds with Nmake, and Nmake calls itself recursively as it >works it's way down into subdirectories.  When I run nmake from a regular >cygwin bash window or from within an rxvt window, it works fine.  But, if I >ssh into the machine, the first few lines of nmake output get displayed, but >at about the time nmake calls itself recursively, no more output is visible. >That happens after a few lines, and could be a coincidence.  The nmake build >continues on fine, but no output is visible.  This happened with the machine >running sshd versions 3.6.1p1 and 3.6p1, installed with setup.exe.  It was >fixed when I backed off to 3.5p1. > >This symptom seems similar to reports I saw regarding running dos commands >from rxvt, and a tty vs. pty problem. > >I saw this problem when I ssh-ed to the machine from itself, and when I >ssh-ed in from another machine.  I only changed the sshd version on the >machine in question.  I did not change ssh on the remote machine.  It >remained 3.6.1p1. > >I had to insert 3.5.p1 by hand (bunzip2, tar xvf).  I could not figure out >how to get setup.exe to back off to that version. > >cygwin                  1.3.22-1 > >The nmake files are actually generated by cmake.  That's probably not >relevant. > >Not a great bug report, but hopefully it will be useful to someone. > >Fred Wheeler -- 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/