Subject: 1.1.8: tail makes bash/tcsh freeze (?)
From: Satoshige Ukena <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Sun, 11 Feb 2001 00:09:17 +0900

I met a curious phenomenon that tail makes bash/tcsh freeze.
Thank you.

* Suspected Command: tail 2.0

* Environment: Cygwin 1.1.8, bash 2.04.7, tcsh 6.10.00
               Win98SE Japanese version on hand-assembled PC
               (Win9X Ver 4.10 build 67766446 A)

* Situation: I planed to list the contents of *.CAB files.

* What I did (on bash):
   The followings are NG.
    $ for i in *.CAB; do out=`echo $i | sed 's/CAB/TXT/'`; extract /D $i | tail +3 > $out; done
    $ extract /D CATALOG4.CAB | tail +3
    $ extract /D DRIVER21.CAB | tail +3

   The followings are OK.
    $ extract /D BASE4.CAB | tail +3
    $ extract /D BASE5.CAB | tail +3
    $ extract /D DRIVER15.CAB | tail +3
    $ extract /D CATALOG4.CAB | less
    $ extract /D CATALOG4.CAB > tmpfile && tail +3 tmpfile

* Result: Bash froze, so did tcsh.

* Recovery Procedure:
    1. kill related processes.
    2. cat aux.sh
    3. restart Win98

=== SYSTEM INFO ===
$ uname -rs
CYGWIN_98-4.10 1.1.8(0.34/3/2)

$ cygcheck -svr

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Sat Feb 10 23:03:46 2001

Win9X Ver 4.10 build 67766446  A 

Path:	/usr/local/bin
	/usr/bin
	/bin
	/cygdrive/c/WINDOWS
	/cygdrive/c/WINDOWS/COMMAND
	/cygdrive/d/TOOLS/LANG/PERL/BIN
	.
	/cygdrive/d/TOOLS/LANG/TCL/BIN
	/cygdrive/d/TOOLS/LANG/TCLTK/BIN
	/cygdrive/d/TOOLS/TEXT/MULE2/BIN
	.
	/cygdrive/d/TOOLS/LANG/TCL/BIN
	/cygdrive/d/TOOLS/LANG/TCLTK/BIN

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

PWD = `/home/ukena'
USER = `ukena'
MAKE_MODE = `unix'
HOME = `/home/ukena'

PROMPT = `$e[;37;1;40m$P$G'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
!C: = `C:\WINDOWS'
CMDLINE = `bash --login -i'
HOSTNAME = `RYO4103'
!D: = `D:\Tools\Cygwin\bin'
WINDIR = `C:\WINDOWS'
WINBOOTDIR = `C:\WINDOWS'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
BLASTER = `A220 I5 D1 T4 P330'
MACHTYPE = `i686-pc-cygwin'
OLDPWD = `/usr/bin'
TEMP = `/cygdrive/c/WINDOWS/TEMP'
SHLVL = `1'
SHELL = `/bin/sh'
HOSTTYPE = `i686'
OSTYPE = `cygwin'
TERM = `cygwin'
_ = `/usr/bin/cygcheck'
TZ = `   -9'

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\&Programs\Cygnus Solutions
  (default) = (unsupported type)
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 = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `D:\Tools\Cygwin'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `D:/Tools/Cygwin/bin'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `D:/Tools/Cygwin/lib'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/home
  (default) = `e:'
  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\Program Options

a:  fd           N/A    N/A                    
c:  hd  FAT32   1025Mb  83% CP    UN           
d:  hd  FAT32  14489Mb   4% CP    UN           
e:  hd  FAT32   4094Mb   1% CP    UN           
f:  cd           N/A    N/A                    

D:\Tools\Cygwin\bin  /usr/bin  user    binmode
D:\Tools\Cygwin\lib  /usr/lib  user    binmode
D:\Tools\Cygwin  /        user    binmode
e:    /home    user    textmode

Found: D:\Tools\Cygwin\bin\bash.exe
Found: D:\Tools\Cygwin\bin\cat.exe
Found: D:\Tools\Cygwin\bin\cpp.exe
Found: D:\Tools\Cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: D:\Tools\Cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: D:\Tools\Cygwin\bin\gcc.exe
Found: D:\Tools\Cygwin\bin\gdb.exe
Found: D:\Tools\Cygwin\bin\ld.exe
Found: D:\Tools\Cygwin\bin\ls.exe
Found: D:\Tools\Cygwin\bin\make.exe
Found: D:\Tools\Cygwin\bin\sh.exe

   56k 2000/12/03 D:\Tools\Cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/21 8:53
  390k 2000/12/05 D:\Tools\Cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/26 10:39
    5k 2000/12/05 D:\Tools\Cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/12/05 D:\Tools\Cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/26 10:39
   81k 2000/12/05 D:\Tools\Cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/26 10:43
   35k 2000/12/05 D:\Tools\Cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/26 10:43
  623k 2000/12/05 D:\Tools\Cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/26 10:43
   18k 2000/10/23 D:\Tools\Cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/23 11:26
   14k 2000/10/23 D:\Tools\Cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2000/10/24 4:02
   45k 2000/10/22 D:\Tools\Cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2000/10/23 8:06
  119k 2000/10/23 D:\Tools\Cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2000/10/23 9:58
  163k 2001/02/03 D:\Tools\Cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2001/2/4 6:21
   82k 2001/01/21 D:\Tools\Cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/1/22 5:39
   53k 2001/01/21 D:\Tools\Cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/1/22 5:39
  414k 2001/01/21 D:\Tools\Cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/1/22 5:40
  299k 2001/01/21 D:\Tools\Cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/1/22 5:38
   34k 2001/01/21 D:\Tools\Cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/1/22 5:38
   17k 2001/01/07 D:\Tools\Cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 13:34
  108k 2001/01/07 D:\Tools\Cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 13:34
  243k 2000/10/23 D:\Tools\Cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2000/10/23 10:14
   41k 2000/11/20 D:\Tools\Cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2000/11/20 11:41
   45k 2000/11/20 D:\Tools\Cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2000/11/20 11:45
   49k 2001/02/03 D:\Tools\Cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2001/2/4 5:35
  615k 2001/01/31 D:\Tools\Cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/2/1 0:08
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 8
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 34
        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: Wed Jan 31 10:08:38 EST 2001
        shared id: cygwin1S3

Use -h to see help about each section

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple