Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A085C25.36C359E9@mmm.com> Date: Tue, 07 Nov 2000 13:46:45 -0600 From: Michael Bresnahan X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sources DOT redhat DOT com Subject: Test Case for Job Control Problem Content-Type: multipart/mixed; boundary="------------7F85708F68664EB4D42CB307" --------------7F85708F68664EB4D42CB307 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I've attached a tarball that contains a test case for the job control problem I have encountered. To run the test case you will need Microsoft NMAKE installed. To run the test do this: --- begin --- bash-2.04$ zcat maketest.tar.gz | tar xf - bash-2.04$ cd maketest bash-2.04$ nmake Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. for %i in (a b c) do nmake make_dir DIR=%i C:\temp\maketest>nmake make_dir DIR=a Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cd a nmake doit Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. C:\WINNT\system32\telnet.EXE --- end --- At this point, a telnet window should be open and have focus. Switch back to the bash window and hit Control-C. Notice that the foreground process is killed. Now kill the telnet window. Notice that the makefile continues to run in the background and creates another telnet window and there is no way to kill the make process because it is not attached to the terminal. Now try the same thing in a DOS Command Prompt and notice that the subsequent make processes can be killed via Control-C. I've also attached the output of "cygcheck -s -v -r" on my machine. Mike Bresnahan --------------7F85708F68664EB4D42CB307 Content-Type: application/x-gzip; name="maketest.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="maketest.tar.gz" H4sICIpZCDoAA21ha2V0ZXN0LnRhcgDtmE1rwjAYx3tdod/hOUzQi0vSpAFhp82DFw9jsB2E EW2FsL5Amx327Zf4UoUJTrBR5vNDbGpTeMovz5/GQn1mJmvMQ9AdhHAipbRHQmTC3ZHaz+p8 Q0AkI4wITmI7pjFjIgDRYU0tX41RNUCg0kKXujG1MlV9YN60KjMf9Xim2PpX3a2AE/zHQiTO P08o+vfBnn83XOr8/E/pbG/8U7sUfvsXO/+S23mUxdz6J2ev5ABb/8f4p/7TSptRFN49jWZv k+n0ddZ8NyYrYjYzWV5mZjh+H0dhFF66TqQb2v6fX0n+J2Kd/wzz3wd7/n3k/2H/PNnlv2R2 vqDOv9f8v1H/f8v/S1eJdEXb/4tryf/N+z/H/PfBnv9ryH9OSLLKf4H57wXM/9um7f/Ouv/4 /p9ytut/Rt3+nxKB+38fqDx37b+sauhp0CX0FcxhMYC0gtKtCXBfH6mu4Xny8tjT7s+A9id3 6yKF+769NrDj9R0uU9YXhkPMDgRBEARBEARBEARBkMvyA33nK9QAKAAA --------------7F85708F68664EB4D42CB307 Content-Type: text/plain; charset=us-ascii; name="cygcheck.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cygcheck.out" Cygnus Win95/NT Configuration Diagnostics Current System Time: Tue Nov 7 13:44:04 2000 WinNT Ver 4.0 build 1381 Service Pack 4 Path: /usr/local/bin /usr/bin /bin /c/IBM/jdk/bin /c/IBM/CommerceSuite/bin /c/IBMDebug/bin /c/Program Files/IBM/GSK/lib /c/Iona/orbixweb3.2/bin /c/WINNT/system32 /c/WINNT /c/diag /c/sybase/bin /c/sybase/dll /c/jdk1.2.2/bin /c/Program Files/Rational/common /usr/bin /c/Program Files/Rational/Coverage /c/Program Files/Rational/Coverage/cache /c/IBM/sqllib/BIN /c/IBM/sqllib/FUNCTION /c/IBM/sqllib/SAMPLES/REPL /c/IBM/sqllib/HELP /c/IMNNQ_NT /c/IBM/WAServer/bin /c/IBM/CommerceSuite/AdvSvr/bin . /c/Program Files/Netscape/Communicator/Program /c/Program Files/Microsoft Visual Studio/Common/Tools/WinNT /c/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin /c/Program Files/Microsoft Visual Studio/Common/Tools /c/Program Files/Microsoft Visual Studio/VC98/bin SysDir: C:\WINNT\System32 WinDir: C:\WINNT PWD = `/c/temp/maketest' CYGWIN = `binmode tty ntsec' USER = `administrator' MAKE_MODE = `unix' HOME = `/c/Program Files/PLATINUM technology, inc./CCC Harvest' NUMBER_OF_PROCESSORS = `1' PROMPT = `$P$G' DER_DRIVER_PATH = `C:\IBMDebug' LOGONSERVER = `\\WINSACCTS103' ICU_DATA = `C:\IBM\CommerceSuite\bin\icu\data\' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' COMSPEC = `C:\WINNT\system32\cmd.exe' IT_CONFIG_PATH = `C:\Iona\orbixweb3.2\config' !C: = `C:\cygwin\bin' IMNINSTSRV = `C:\IMNNQ_NT' SYSTEMDRIVE = `C:' DB2INSTANCE = `DB2' HOSTNAME = `KCS044C' INCLUDE = `C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include' PROCESSOR_REVISION = `0703' DB2TEMPDIR = `C:\IBM\sqllib' MSDEVDIR = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98' PATHEXT = `.COM;.EXE;.BAT;.CMD' COMPUTERNAME = `KCS044C' CLASSPATH = `C:\IBMDebug\lib\dertrjrt.jar;.;C:\IBM\SQLLIB\JAVA\DB2JAVA.ZIP;C:\IBM\SQLLIB\JAVA\RUNTIME.ZIP;C:\IBM\NETDATA\JAVACLAS;C:\IBM\netdata\Connect\admin;C:\IBM\CommerceSuite\classes;' NLSPATH = `C:\IBM\CommerceSuite\locale\en_US\%N;C:\IBMDebug\msg\%L\%N;C:\IBM\netdata\D2wmsg\EN_US\%N' WINDIR = `C:\WINNT' USERPROFILE = `C:\WINNT\Profiles\usyoa028' HOMESHARE = `\\WINS555STPA\USYOA028' NCWEB = `C:\IBM\WAServer' LOCPATH = `C:\IBMDebug\LOCALE;' SYBASE = `C:\SYBASE' DTW_HOME = `C:\IBM\netdata' DTW_INI = `C:\IBM\netdata\html' LESS = `-eM' MACHTYPE = `i686-pc-cygwin' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel' TEST7HOME = `C:\Program Files\Rational\Rational Test 7' OS = `Windows_NT' OLDPWD = `/c/temp' NCPATH = `C:\IBM\CommerceSuite' PROCESSOR_ARCHITECTURE = `x86' TEMP = `/c/TEMP' NTRESKIT = `C:\diag' PROCESSOR_LEVEL = `6' SYSTEMROOT = `C:\WINNT' JAVA_HOME = `C:\jdk1.2.2' ORBIX_HOME = `C:\Iona\orbixweb3.2' IMNINST = `help' HOMEDRIVE = `H:' LIB = `C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib' SHLVL = `1' HOMEPATH = `\' TWO_HARBORS = `C:\TwoHarbors' USERDOMAIN = `WINS' USERNAME = `USYOA028' SHELL = `/bin/sh' HOSTTYPE = `i686' OSTYPE = `cygwin' DTWINI = `C:\IBM\netdata\html' TERM = `cygwin' _ = `/usr/bin/cygcheck' TZ = `CST6CDT5,M4.1.0/2,M10.5.0/2' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000020 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c (default) = `C:' flags = 0x00000000 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/d (default) = `d:' flags = 0x00000000 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 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:/cygwin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:/cygwin/bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:/cygwin/lib' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options (default) = `binmode tty ntsec' a: fd N/A N/A c: hd NTFS 7559Mb 50% CP CS UN PA FC C_DRIVE d: hd NTFS 5382Mb 100% CP CS UN PA FC e: cd CDFS 46Mb 100% CS UN ORBIX f: net NTFS 8032Mb 56% CP CS UN PA FC h: net NTFS 82699Mb 83% CP CS UN PA FC i: net NTFS 82699Mb 83% CP CS UN PA FC j: net NTFS 82699Mb 83% CP CS UN PA FC q: net NTFS 82699Mb 83% CP CS UN PA FC C:\cygwin\bin /usr/bin system binmode C:\cygwin\lib /usr/lib system binmode C:\cygwin / system binmode C: /c user textmode Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe 18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2000/10/22 21:26 14k 2000/10/23 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0 "cygintl.dll" v0.0 ts=2000/10/23 14:02 83k 2000/06/11 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 "cygitcl30.dll" v0.0 ts=2000/6/10 22:34 35k 2000/06/11 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 "cygitk30.dll" v0.0 ts=2000/6/10 22:34 45k 2000/10/22 C:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0 "cygjbig1.dll" v0.0 ts=2000/10/22 18:06 119k 2000/10/23 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0 "cygjpeg6b.dll" v0.0 ts=2000/10/22 19:58 162k 2000/10/23 C:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0 "cygpng2.dll" v0.0 ts=2000/10/22 19:40 402k 2000/06/11 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=2000/6/10 22:30 5k 2000/06/11 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 2000/06/11 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=2000/6/10 22:30 243k 2000/10/23 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0 "cygtiff3.dll" v0.0 ts=2000/10/22 20:14 639k 2000/06/11 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=2000/6/10 22:34 49k 2000/10/23 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2000/10/22 19:22 606k 2000/10/31 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2000/10/30 19:28 Cygwin DLL version info: dll major: 1001 dll minor: 6 dll epoch: 19 dll bad signal mask: 19005 dll old termios: 5 api major: 0 api minor: 29 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 build date: Mon Oct 30 20:28:25 EST 2000 shared id: cygwin1S3 Use -h to see help about each section --------------7F85708F68664EB4D42CB307 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --------------7F85708F68664EB4D42CB307--