Mail Archives: cygwin/1999/03/02/15:10:45
--------------EB7A60661504093B4E71B6AD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Upon further investigation, it appears that the real problem is when the size of the environment exceeds ~32K. I cleaned up my path (bare minimum) and ran the enclosed script to prove my point.
I also wrote a cmd file to test the native behavior. I didn't have any problems starting up programs with the large environment, but for some reason, not all of the environment gets passed to cygwin apps. A simple env command doesn't list all of the variables I created.
Earnie Boyd wrote:
> ---Chris Felaco <cfelaco AT openmarket DOT com> wrote:
> 8<
> > Path: /cygnus/CYGWIN~1/H-I586~1/bin
> > /batch
> > /WINNT/system32
> > /WINNT
> > /PROGRA~1/DEVSTU~1/SHARED~1/bin/ide
> > /PROGRA~1/DEVSTU~1/SHARED~1/bin
> > /Progra~1/DevStudio/VC/bin
> > /emacs-20.3.1/bin
> > /PROGRA~1/Tcl/bin
> > /emacs-20.3.1/bin
> > /PROGRA~1/Tcl/bin
> > /cygnus/cygwin-B20/H-i586-cygwin32/bin
> > /Perl/bin
> > /enscript
> > /jdk1.1.7A/bin
> > /Cygnus/SN405/bin
> > /Program Files/Mts
> > /Sybase/DLL
> > /Sybase/BIN
> > /sybtools/WIN32
> > /sybtools/ASEP
> > /NTReskit
> > //U/transact/Toolshed/LOCAL/common/bin
> > //U/transact/Toolshed/LOCAL/cnt_40/bin
> 8<
>
> You're confusing the cygwin product with multiple paths to the
> product. Secondly the /Cygnus/SN405/bin points to the first release
> of version b20 which was buggy.
>
> Clean up the PATH environment variable so that it is included only as
> the first element of the PATH. If after doing this you still have
> problems resubmit the cygcheck -s -v -r output.
> ==
> - \\||//
> -------------------o0O0--Earnie--0O0o-------------------
> -- earnie_boyd AT yahoo DOT com --
> -- http://www.freeyellow.com/members5/gw32/index.html --
> ----------------------ooo0O--O0ooo----------------------
>
> PS: Newbie's, you should visit my page.
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
--------------EB7A60661504093B4E71B6AD
Content-Type: text/plain; charset=iso-8859-1;
name="cygcheck.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="cygcheck.txt"
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue Mar 02 14:32:42 1999
WinNT Ver 4.0 build 1381 Service Pack 3
Path: /cygnus/CYGWIN~1/H-I586~1/bin
/batch
/WINNT/system32
/WINNT
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
CYGWIN =3D `tty'
HOME =3D `/home'
MAKE_MODE =3D `unix'
PWD =3D `/transact/AVP'
!C: =3D `C:\Home'
CLASSPATH =3D `c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip=
;'
COMPUTERNAME =3D `FELACO-1'
COMSPEC =3D `C:\WINNT\system32\cmd.exe'
CVSROOT =3D `cfelaco AT mother:/omi/proj/master'
EXPORTS_ROOT =3D `//gravity/exports'
HISTFILE =3D `/home/.sh_history_22175'
HISTSIZE =3D `256'
HOMEDRIVE =3D `U:'
HOMEPATH =3D `\'
HOMESHARE =3D `\\brl-fsoffice-1\Felacoc$'
HOSTNAME =3D `felaco-1'
HOSTTYPE =3D `i586'
INCLUDE =3D `c:\program files\devstudio\vc\include;c:\program files\devst=
udio\vc\atl\include;c:\program files\devstudio\vc\mfc\include;C:\Program =
Files\Mts\Include'
LIB =3D `c:\program files\devstudio\vc\lib;c:\program files\devstudio\vc\=
mfc\lib;C:\Program Files\Mts\Lib;c:\sybase\LIB'
LOCAL_EXPORTS =3D `U:/transact'
LOGONSERVER =3D `\\BRL-DHCPRELAY-2'
MACHTYPE =3D `i586-pc-cygwin32'
MKSROOT =3D `C:\MKS'
NTRESKIT =3D `C:\NTReskit'
NUMBER_OF_PROCESSORS =3D `1'
OS2LIBPATH =3D `C:\WINNT\system32\os2\dll;'
OS =3D `Windows_NT'
OSTYPE =3D `cygwin32'
PATHEXT =3D `.COM;.EXE;.BAT;.CMD'
PLATFORM =3D `cnt_40'
PLATFORM_CLASS =3D `WINDOWS'
PROCESSOR_ARCHITECTURE =3D `x86'
PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 5 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL =3D `6'
PROCESSOR_REVISION =3D `0501'
PROMPT =3D `$P$G'
PS1 =3D `=1B[1m[${cwd:-$PWD}]=1B[m \n\#$ '
ROOTDIR =3D `C:/MKS'
SHELL =3D `/bin/sh'
SHLVL =3D `1'
SN_INSTALL_DIR =3D `C:\Cygnus\SN405'
SYBASE =3D `C:\Sybase'
SYSTEMDRIVE =3D `C:'
SYSTEMROOT =3D `C:\WINNT'
SYSTEM_ROOT =3D `c:\winnt'
TEMP =3D `C:\TEMP'
TERM =3D `cygwin'
TMP =3D `C:\TEMP'
TMPDIR =3D `C:/TEMP'
USERDOMAIN =3D `OPENMARKET'
USERNAME =3D `Chris.Felaco'
USERPROFILE =3D `C:\WINNT\Profiles\chris.felaco'
WINDIR =3D `C:\WINNT'
_ =3D `/cygnus/CYGWIN~1/H-I586~1/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
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) =3D `\\.\tape1:'
unix =3D `/dev/st1'
fbinary =3D 0x00000000
fsilent =3D 0x00000001
fmixed =3D 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts=
\01
(default) =3D `\\.\tape0:'
unix =3D `/dev/st0'
fbinary =3D 0x00000000
fsilent =3D 0x00000001
fmixed =3D 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts=
\02
(default) =3D `\\.\b:'
unix =3D `/dev/fd1'
fbinary =3D 0x00000000
fsilent =3D 0x00000001
fmixed =3D 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts=
\03
(default) =3D `\\.\a:'
unix =3D `/dev/fd0'
fbinary =3D 0x00000000
fsilent =3D 0x00000001
fmixed =3D 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts=
\04
(default) =3D `C:'
unix =3D `/'
fbinary =3D 0x00000000
fsilent =3D 0x00000000
fmixed =3D 0x00000000
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus\Cygwin32 Beta 19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus\Cygwin32 Beta 19\B19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus\Source-Navigator
(default) =3D `4.0.5'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus\Source-Navigator\4.0.5
(default) =3D `0'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
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\mount=
s
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mount=
s\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cy=
gwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cy=
gwin32\cygwin-B20.1
(default) =3D `c:\cygnus\cygwin-b20'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Source Navigator 4.0.5
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Source Navigator 4.0.5\4.0.5=
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cy=
gnus Cygwin B20
(default) =3D `C:\WINNT\IsUninst.exe -fc:\cygnus\cygwin-b20\Uninst.isu'=
DisplayName =3D `Cygwin B20'
a:\ fd N/A N/A =
c:\ hd NTFS 6032Mb 39% CP CS UN PA FC =
d:\ hd NTFS 117Mb 9% CP CS UN PA FC =
e:\ cd N/A N/A =
h:\ net NTFS 52063Mb 27% CP CS UN PA FC =
j:\ net NTFS 46022Mb 39% CP CS UN PA FC Exports Mirror
m:\ net Samba 4063Mb 22% CP UN exports
s:\ net Samba 4063Mb 61% CP UN gstevens
u:\ net Samba 4063Mb 61% CP UN cfelaco
C: / native text!=3Dbinary
\\.\a: /dev/fd0 native text!=3Dbinary
\\.\b: /dev/fd1 native text!=3Dbinary
\\.\tape0: /dev/st0 native text!=3Dbinary
\\.\tape1: /dev/st1 native text!=3Dbinary
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\bash.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\cat.exe
Not Found: cpp (good!)
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\find.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\gcc.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\gdb.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\ld.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\ls.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\make.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe
371k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtcl80.dll - os=3D4.0=
img=3D1.0 sys=3D4.0
"cygtcl80.dll" v0.0 ts=3D1998/12/1 3:25
5k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclpip80.dll - os=3D=
4.0 img=3D1.0 sys=3D4.0
10k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclreg80.dll - os=3D=
4.0 img=3D1.0 sys=3D4.0
"cygtclreg80.dll" v0.0 ts=3D1998/12/1 3:25
600k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtk80.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygtk80.dll" v0.0 ts=3D1998/12/1 3:28
446k 1998/12/04 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygwin1.dll - os=3D4.0 =
img=3D1.0 sys=3D4.0
"cygwin1.dll" v0.0 ts=3D1998/12/3 23:39
Use -h to see help about each section
--------------EB7A60661504093B4E71B6AD
Content-Type: text/plain; charset=us-ascii;
name="envtest"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="envtest"
#!/bin/sh
count=1
while true; do
eval ENVVAR$count=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
eval export ENVVAR$count
env | wc -c || break
count=`expr $count + 1`
done
--------------EB7A60661504093B4E71B6AD
Content-Type: application/x-unknown-content-type-cmdfile;
name="envtest.cmd"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="envtest.cmd"
cmVtIGVjaG8gb2ZmCgpGT1IgL0wgJSVpIElOICgxLDEsMzIwKSBETyBzZXQgRU5WVkFSJSVp
PXh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4
eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHgKCnNldCB8
IHdjIC1jCg==
--------------EB7A60661504093B4E71B6AD
Content-Type: text/x-vcard; charset=us-ascii;
name="cfelaco.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Chris Felaco
Content-Disposition: attachment;
filename="cfelaco.vcf"
begin:vcard
n:Felaco;Chris
tel;work:(781)359-7367
x-mozilla-html:FALSE
url:http://www.psw.com/
org:PSW Technologies
adr:;;One Innovation Drive;Natick;MA;01760;
version:2.1
email;internet:cfelaco AT openmarket DOT com
title:Software Engineer
fn:Chris Felaco
end:vcard
--------------EB7A60661504093B4E71B6AD
Content-Type: text/plain; charset=
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--------------EB7A60661504093B4E71B6AD--
- Raw text -