This is the mail archive of the cygwin@sources.redhat.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]

Re: Error: couldn't make stderr distinct from stdout


>I just upgraded my cygwin installation from 1.0 to the latest cygwin DLLs
>(cygwin-1.1.5-4) and now almost every utililty (ls,cat,etc) prints out
>"couldn't make stderr distinct from stdout" when it starts.  tcsh prints
the
>error and exits.  I backed out to cygwin-1.1.4 and got the same problem.  I
>am running all of these apps remotely in a telnet window connected a
windows
>2000 telnet server (the default one that comes with win2k) on a remote
>machine, this worked fine until I upgraded cygwin.  The apps appear to run
>OK when run in a normal window on the local machine.

>Thanks for any help,
>chris

I too have just run into this.
I have a new windows 2000 system, nothing installed on it
but the os. I installed cygwin 1.1.6 from the web site
installer. When invoked via telnet, bash quits with the
same "couldn't make stderr distinct from stdout" message.
My other windows2000 box with the same setup but cygwin1.dll
of ts=1998/12/3 23:39 works well with the telnet server.

The output of the cygcheck for this machine is below.


Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Dec 18 19:45:45 2000

WinNT Ver 5.0 build 2195 Service Pack 1

Path:	/bin
	/usr/bin
	//c/Programs/Rational/ClearCase/bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

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

NUMBER_OF_PROCESSORS = `2'
PROMPT = `$P$G'
LOGONSERVER = `\\RETORT'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
COMSPEC = `C:\WINNT\system32\cmd.exe'
!C: = `C:\programs\cygwin\bin'
SYSTEMDRIVE = `C:'
HOSTNAME = `FIRMTST'
PROCESSOR_REVISION = `0803'
HISTFILESIZE = `500'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
COMPUTERNAME = `FIRMTST'
CRFILES = `/home/administrator/cr'
WINDIR = `C:\WINNT'
USERPROFILE = `C:\Documents and Settings\don'
WIND_HOST_TYPE = `x86-win32'
PS1 = `$ '
CDRFILES = `/home/administrator/cdr'
PROGRAMFILES = `C:\programs'
MACHTYPE = `i686-pc-cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 3, GenuineIntel'
OS = `Windows_NT'
OLDPWD = `/usr/bin'
LINES = `25'
PROCESSOR_ARCHITECTURE = `x86'
TEMP = `/cygdrive/c/DOCUME~1/don/LOCALS~1/Temp'
EDITOR = `c:/Programs/cygwin/bin/vi.exe'
PROCESSOR_LEVEL = `6'
SYSTEMROOT = `C:\WINNT'
TMP = `C:/Programs/cygwin/tmp'
HOMEDRIVE = `c:'
CRVIEWROOT = `//m/'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
SHLVL = `1'
COLUMNS = `80'
APPDATA = `C:\Documents and Settings\don\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
HOMEPATH = `\users\don'
USERDOMAIN = `NTPIXSCI'
USERNAME = `don'
SHELL = `/bin/sh.exe'
HOSTTYPE = `i686'
CPU = `R4000'
IGNOREEOF = `1'
OSTYPE = `cygwin'
TERM = `cygwin'
cdr = `() {  if [ $# -eq 0 ]; then
 for i in $CDRFILES/*;
 do
 printf `basename $i`\\t\\c;
 cat $i;
 done;
 else
 if [ "$1" = "+" ]; then
 if [ -z "$2" ]; then
 echo "usage: cdr + name";
 else
 echo "$PWD" >$CDRFILES/$2;
 fi;
 else
 if [ "$1" = "-" ]; then
 if [ -z "$2" ]; then
 echo "usage: cdr - name";
 else
 if [ -f $CDRFILES/$2 ]; then
 rm $CDRFILES/$2;
 else
 echo "no alias for $2";
 fi;
 fi;
 else
 if [ -n "$1" ]; then
 if [ -f $CDRFILES/$1 ]; then
 f=$(cat $CDRFILES/$1);
 echo $f;
 cd $f;
 else
 echo "no alias for $1";
 fi;
 fi;
 fi;
 fi;
 fi
}'
cr = `() {  if [ $# -eq 0 ]; then
 for i in $CRFILES/*;
 do
 printf `basename $i`\\t;
 cat $i;
 done;
 else
 if [ "$1" = "+" ]; then
 if [ -z "$2" ]; then
 echo "usage: cdr + name";
 else
 relpath=$( echo $PWD | awk -F/ 					-v
viewroot="$CRVIEWROOT"					' { 
			    t=length(viewroot)+1;
			    viewstr=substr($0, t, length($0)-t+1);
			    viewname=substr(viewstr, 0, index(viewstr,
"/"));
			    relStart=t+length(viewname);
			    relLength=length($0) - relStart + 1;
			    if( length(viewname)==0 )
				printf( "noview" )
			    else
				printf( "%s", substr($0, relStart,
relLength) );
			} ');
 if [ $relpath = "noview" ]; then
 echo "Not currently in a view";
 else
 echo $2: $relpath;
 echo $relpath >$CRFILES/$2;
 fi;
 fi;
 else
 if [ "$1" = "-" ]; then
 if [ -z "$2" ]; then
 echo "usage: cdr - name";
 else
 if [ -f $CRFILES/$2 ]; then
 rm $CRFILES/$2;
 else
 echo "no alias for $2";
 fi;
 fi;
 else
 if [ -n "$1" ]; then
 if [ -f $CRFILES/$1 ]; then
 f=$(cat $CRFILES/$1);
 abspath=$( echo $PWD/ | awk -F/			    -v relpath="$f"
-v viewroot="$CRVIEWROOT"			    ' { 
			t=length(viewroot)+1;
			viewstr=substr($0, t, length($0)-t+1);
			viewname=substr(viewstr, 0, index(viewstr, "/"));
			if( length(viewname)==0 )
			    printf( "noview" )
			else
			    printf( "%s%s%s", viewroot, viewname, relpath );
		    } ');
 if [ $abspath = "noview" ]; then
 echo "Not currently in a view";
 else
 echo $abspath;
 cd $abspath;
 fi;
 else
 echo "no alias for $1";
 fi;
 fi;
 fi;
 fi;
 fi
}'
wb = `() {  if [ $# -eq 0 ]; then
 echo "Needs view name";
 return;
 fi;
 if [ ! -d //m/$1 ]; then
 echo "$1 is not a view name";
 return;
 fi;
 export WIND_PATH=//m/$1/Tornado/host/x86-win32/bin;
 export WIND_BASE=//m/$1/Tornado;
 export PATH="$PATH":$WIND_PATH
}'
_ = `/bin/cygcheck'
TZ = `EST5EDT4,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 = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `C:'
  unix = `/'
  fbinary = 0x00000000
  fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrd
er\Start Menu\Programs\Cygnus Solutions
  (default) = (unsupported type)
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:/Programs/cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:/Programs/cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:/Programs/cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32

a:  fd           N/A    N/A                    
c:  hd  NTFS    8675Mb  24% CP CS UN PA FC     
d:  cd           N/A    N/A                    
m:  net MVFS    1000Mb  50% CP CS              CCase

C:\Programs\cygwin\bin  /usr/bin  system  binmode
C:\Programs\cygwin\lib  /usr/lib  system  binmode
C:\Programs\cygwin  /        system  binmode

Found: C:\Programs\cygwin\bin\bash.exe
Found: C:\Programs\cygwin\bin\cat.exe
Found: C:\Programs\cygwin\bin\cpp.exe
Found: C:\Programs\cygwin\bin\find.exe
Found: C:\Programs\cygwin\bin\gcc.exe
Found: C:\Programs\cygwin\bin\gdb.exe
Found: C:\Programs\cygwin\bin\ld.exe
Found: C:\Programs\cygwin\bin\ls.exe
Found: C:\Programs\cygwin\bin\make.exe
Found: C:\Programs\cygwin\bin\sh.exe

   56k 2000/12/03 C:\Programs\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0
sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/20 18:53
   83k 2000/11/25 C:\Programs\cygwin\bin\cygform5.dll - os=4.0 img=1.0
sys=4.0
                  "cygform5.dll" v0.0 ts=2000/11/25 0:42
   18k 2000/10/23 C:\Programs\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0
sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/22 22:26
   17k 2000/11/30 C:\Programs\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0
sys=4.0
                  "cyghistory4.dll" v0.0 ts=2000/11/29 21:28
   14k 2000/10/23 C:\Programs\cygwin\bin\cygintl.dll - os=4.0 img=1.0
sys=4.0
                  "cygintl.dll" v0.0 ts=2000/10/23 15:02
   81k 2000/12/05 C:\Programs\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0
sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/25 20:43
   35k 2000/12/05 C:\Programs\cygwin\bin\cygitk30.dll - os=4.0 img=1.0
sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/25 20:43
   45k 2000/10/22 C:\Programs\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0
sys=4.0
                  "cygjbig1.dll" v0.0 ts=2000/10/22 19:06
  119k 2000/10/23 C:\Programs\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0
sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2000/10/22 20:58
   53k 2000/11/25 C:\Programs\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0
sys=4.0
                  "cygmenu5.dll" v0.0 ts=2000/11/25 0:42
  300k 2000/11/25 C:\Programs\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses5.dll" v0.0 ts=2000/11/25 0:40
   35k 2000/11/25 C:\Programs\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0
sys=4.0
                  "cygpanel5.dll" v0.0 ts=2000/11/25 0:41
  162k 2000/10/23 C:\Programs\cygwin\bin\cygpng2.dll - os=4.0 img=1.0
sys=4.0
                  "cygpng2.dll" v0.0 ts=2000/10/22 20:40
  108k 2000/11/30 C:\Programs\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0
sys=4.0
                  "cygreadline4.dll" v0.0 ts=2000/11/29 21:28
  390k 2000/12/05 C:\Programs\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0
sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/25 20:39
    5k 2000/12/05 C:\Programs\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0
sys=4.0
   10k 2000/12/05 C:\Programs\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0
sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/25 20:39
  243k 2000/10/23 C:\Programs\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0
sys=4.0
                  "cygtiff3.dll" v0.0 ts=2000/10/22 21:14
  623k 2000/12/05 C:\Programs\cygwin\bin\cygtk80.dll - os=4.0 img=1.0
sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/25 20:43
   41k 2000/11/20 C:\Programs\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0
sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2000/11/19 21:41
   45k 2000/11/20 C:\Programs\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0
sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2000/11/19 21:45
   49k 2000/10/23 C:\Programs\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2000/10/22 20:22
  609k 2000/11/22 C:\Programs\cygwin\bin\cygwin1.dll - os=4.0 img=1.0
sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/11/21 21:00
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 6
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 30
        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 Nov 21 21:00:16 EST 2000
        shared id: cygwin1S3

Use -h to see help about each section



begin 600 Don Bowman (E-mail).vcf

`
end

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]