Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"

2004-02-02 Thread Igor Pechtchanski
On Mon, 2 Feb 2004 [EMAIL PROTECTED] wrote:

> Hi,
>
> I have been using cygwin on my NT 4.0 box with tcsh as my login shell.
> After upgrading to cygwin 1.5.7-1 from cygwin.com, tcsh has stopped
> working.
>
> If I start tcsh either from command line or run menu or as a login
> shell, it hangs for a long period of time after displaying motd.
> It eventually comes out of slumber with a message "Out of Memory" and
> exits.
>
> I ran it with verbose and echo flags set and it seems to go through my
> .cshrc file successfully but get stuck after that. It was working fine
> with the same startup files before the upgrade.
>
> All other shells; bash, ksh etc. are working fine.
>
> Below is the output of cygcheck -c -s -v -r command. It was run after I
> changed my login shell to ksh. Would very much like to go back to my
> settings on tcsh.
> Thanks very much for your help.
>
> Sirish

In the future, please *attach* the output of cygcheck, since it plays hell
with archive searches (introducing false positive hits).

One obvious thing wrong with your cygcheck output is that you have two
copies of cygwin1.dll on your machine, and, worse, in your PATH.  The one
in r:\Eng-sw\bin should be removed -- it's old.

As for your tcsh hang, I suspect one of the programs or functions called
from the startup files is the culprit.  If deleting the extra cygwin1.dll
doesn't cure it, I'd suggest running "tcsh -f" from a DOS prompt.  If it
doesn't hang with "-f", try determining where it hangs by calling "tcsh
-X" (note the capital "X").  If it still hangs, you might want to build a
debug version and spend some time in gdb.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/



Re: Modular setup?

2004-02-02 Thread Larry Hall
At 08:09 PM 2/2/2004, Chris Jefferson you wrote:
>Hello.
>
>I suspect that this is a FAQ, but I haven't found it, so I'll ask it!
>
>Unlike linux / *BSD / etc distributions, it doesn't seem easy to automate the cygwin 
>install utility. I don't seem able to get a list of installed packages, give a 
>package to install from a given file, examine the package cache , etc.


For automating the Cygwin install, see 



For many of the others, see 'man cygcheck'.


>Now I think I can figure out how to get to these things, but I would personally 
>perfer a nice command-line package utility which I could use to automate things 
>(particularily an interest of mine, downloading binary patches to existing cached 
>downloads to avoid having to redownload).


Nobody is generating binary patches right now and there is no facility
for downloading these.


>This would perhaps require seperating the existing setup into two pieces, a 
>"bootstrap" section which just installed a minimal system involving this setup 
>program, and then running the setup program itself, or perhaps some other method.
>
>Is this kind of thing not covered in cygwin because it is felt it would needlessly 
>complicate things, or simply because no-one has written the code? :)


Certainly the latter.  I expect some of the former as well.  But don't 
let that stop you from playing. :-)


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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/



Re: XEmacs 21.4.14 appears to prevent W32 processes from exiting

2004-02-02 Thread Dr. Volker Zell
> "Andre" == Andre Srinivasan writes:

Andre> I noticed when I am running the Cygwin packaged version of XEmacs,
Andre> programs like Opera, IE, etc never quite exit when I quit them
Andre> (i.e. all windows close but process is still show in task manager); I
Andre> need to go into the task manager to explicitly kill them.  If I stop
Andre> XEmacs, this does not happen.

Andre> When I first saw the issue with Opera, I thought I had corrupted my
Andre> Opera installation so I invoked the installer from IE.  After
Andre> re-installation, Opera continued to not exit and I noticed that IE as
Andre> well as the Opera installer were similarly still in the task manager.
Andre> I exited XEmacs, killed the processes, and then restarted Opera and
Andre> exited from the program.  There was no sign of the process in the task
Andre> manager.  I repeated a couple of times with and without XEmacs running
Andre> and found I could reliably recreate the scenario.  

Hi Andre

I could duplicate this behaviour with Netscape and IE which are the only
W32 programs I'm running on a regular basis besides Far. But I haven't
noticed this behaviour because I usually boot W2K, than run XWin and XEmacs and
then startup Netscape. When shutting down I close XEmacs, shutdown XWin
and then shutdown the rest of the system. So I never noticed Netscape
hanging. By the way, Far (an Norton Commander clone) doesn't hang.

I'll upload a new version of XEmacs which fixes this problem and the
boring Warning message during startup about not finding it's obvious
root hirarchy tomorrow.

Ciao
  Volker


--
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/



WinCvs hangs with cygwin 1.5.7

2004-02-02 Thread Shankar Unni
Well, indirectly, anyway. For the moment, this is a heads-up for WinCvs 
users, rather than a bug report against Cygwin.

WinCvs tries to search for and load a "tcl8x.dll" (to run tcl/tk 
macros). It tries tcl85, 85, ... in a bunch of known places. If it finds 
a Cygwin-compiled tcl84.dll first (tcltk 20030901-1), it loads that and 
tries to invoke it.

This worked with Cygwin versions upto and including 1.5.6, but after 
today's 1.5.7 upgrade, WinCvs hangs hard when it calls into the tcl84.dll.

What are the special requirements, if any, for native windows programs 
that dynamically load Cygwin-compiled DLLs (especially complex ones like 
tcl84.dll) and want to invoke entry points in it?

Is there some special startup code that needs to be invoked, for 
instance? Any other precautions? I can pass on this info to the WinCvs 
developers..

I have attached my cygcheck -svr output. Notice it doesn't list tclck, 
because I had to uninstall it, but I had 20030901-1 from the 
ftp.lug.udel.edu mirror.

(To reproduce, download and install WinCvs - either 1.3b13 or 1.3b14 - 
from the SourceForge.net site, and try to start it up. When it prompts 
you for your CVSROOT, etc., just point it at C:\temp or some other junk 
place. After you dismiss all the dialogs that it throws at first-timers, 
it'll just hang hard.

Running NTFileMon shows me that it loaded tcl84.dll from my Cygwin path 
(I have C:\cygwin\bin in my Path), and it hangs at the point where I 
expect it to dive into and start executing Tcl macros.

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Feb 02 18:35:27 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   c:/ant/bin
c:/mysql/bin
c:/Program Files/Microsoft Office/Office10
C:/Apps/bin
C:/Apps/emacs-21.2/bin
C:/ant/bin
C:/java/bin
C:/cygwin/bin
c:/Program Files/Microsoft Visual Studio .NET/Vc7/bin
C:/oracle/ora81/bin
C:/oracle/ora81/Apache/Perl/5.00503/bin/mswin32-x86
C:/Program Files/Oracle/jre/1.1.7/bin
C:/WINDOWS/system32
C:/WINDOWS
C:/WINDOWS/System32/Wbem
C:/Program Files/Common Files/Adaptec Shared/System

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1005(shankar) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1005(shankar) GID: 513(None)
513(None)544(Administrators)  
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:/Shankar'
PWD = `c:/Workarea/CSIMain/csi'
USER = `shankar'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\shankar\Application Data'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `HQ-SHANKAR'
ComSpec = `C:\WINDOWS\system32\cmd.exe'
DEVMGR_SHOW_DETAILS = `1'
EDITOR = `gnuclient'
ENSCRIPT_LIBRARY = `C:/Apps/enscript'
GROUP = `unknown'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\shankar'
HOST = `HQ-SHANKAR'
HOSTTYPE = `Windows 2000 5.1 Build 2600 (Service Pack 1)'
INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\'
JAVA_HOME = `C:\java'
LESS = `-eimq~X'
LIB = `C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\'
LOGNAME = `shankar'
LOGONSERVER = `\\HQ-SHANKAR'
MACHTYPE = `i386'
NIGHTLY_BUILD = `1'
NOREBIND = `1'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
OSTYPE = `Windows2000'
P4EDITOR = `gnuclient'
PAGER = `less'
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'
SESSIONNAME = `Console'
SHLVL = `1'
SQLPATH = `c:/temp/sql;d:/orant/dbs'
SYSPATH = 
`C:/Apps/bin;C:/Apps/emacs-21.2/bin;C:/ant/bin;C:/java/bin;C:/cygwin/bin;c:/Program 
Files/Microsoft Visual Studio 
.NET/Vc7/bin;C:/oracle/ora81/bin;C:/oracle/ora81/Apache/Perl/5.00503/bin/mswin32-x86;C:/Program
 
Files/Oracle/jre/1.1.7/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;C:/Program
 Files/Common Files/Adaptec Shared/System'
SystemDrive = `C:'
SystemRoot = `C:\WINDOWS'
TEMP = `C:\Temp'
TMP = `C:\Temp'
TMPDIR = `c:/temp'
USERDOMAIN = `HQ-SHANKAR'
USERNAME = `shankar'
USERPROFILE = `C:\Documents and Settings\shankar'
VENDOR = `Microsoft'
VISUAL = `gnuclient'
VS71COMNTOOLS = `C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\'
windir = `C:\WINDOWS'
WV_GATEWAY_CFG = `C:\oracle\ora81\Apache\modplsql\cfg\wdbsvr.app'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
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
  (default) = `/cygdrive'
  cygdrive flags = 0x0020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus S

Modular setup?

2004-02-02 Thread Chris Jefferson
Hello.

I suspect that this is a FAQ, but I haven't found it, so I'll ask it!

Unlike linux / *BSD / etc distributions, it doesn't seem easy to 
automate the cygwin install utility. I don't seem able to get a list of 
installed packages, give a package to install from a given file, examine 
the package cache , etc.

Now I think I can figure out how to get to these things, but I would 
personally perfer a nice command-line package utility which I could use 
to automate things (particularily an interest of mine, downloading 
binary patches to existing cached downloads to avoid having to redownload).

This would perhaps require seperating the existing setup into two 
pieces, a "bootstrap" section which just installed a minimal system 
involving this setup program, and then running the setup program itself, 
or perhaps some other method.

Is this kind of thing not covered in cygwin because it is felt it would 
needlessly complicate things, or simply because no-one has written the 
code? :)



--
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/


tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"

2004-02-02 Thread Sirish . Bajpai
Hi,

I have been using cygwin on my NT 4.0 box with tcsh as my login shell.
After upgrading to cygwin 1.5.7-1 from cygwin.com, tcsh has stopped 
working.

If I start tcsh either from command line or run menu or as a login 
shell, it hangs for a long period of time after displaying motd.
It eventually comes out of slumber with a message "Out of Memory" and 
exits.

I ran it with verbose and echo flags set and it seems to go through my 
.cshrc file successfully but get stuck after that. It was working fine 
with the same startup files before the upgrade.

All other shells; bash, ksh etc. are working fine.

Below is the output of cygcheck -c -s -v -r command. It was run after I 
changed my login shell to ksh. Would very much like to go back to my 
settings on tcsh.
Thanks very much for your help.

Sirish


Cygwin Package Information
Last downloaded files to: D:\TMP
Last downloaded files from: http://cygwin.get-software.com

Package VersionStatus
_update-info-dir00226-1OK
a2ps4.13-1 OK
agetty  2.1-1  OK
ash 20040127-1 OK
astyle  1.15.3-3   OK
autoconf2.59-1 OK
autoconf-devel  2.59-1 OK
autoconf-stable 2.13-5 OK
automake1.7.9-1OK
automake-devel  1.7.9-1OK
automake-stable 1.4p6-2OK
base-files  2.6-1  OK
base-passwd 1.1-1  OK
bash2.05b-16   OK
bc  1.06-1 OK
binutils20030901-1 OK
bzip2   1.0.2-5OK
cgoban  1.9.14-1   OK
chkconfig   1.2.24h-1  OK
clear   1.0-1  OK
cmake   1.8.3-1OK
cpio2.5-3  OK
cron3.0.1-11   OK
crypt   1.1-1  OK
ctags   5.5-4  OK
cvs 1.11.6-3   OK
cygipc  2.02-1 OK
cygrunsrv   0.97-1 OK
cygutils1.2.2-1OK
cygwin  1.5.7-1OK
cygwin-doc  1.3-6  OK
diff1.0-1  OK
diffutils   2.8.4-1OK
doxygen 1.2.18-1   OK
dpkg1.10.4-2   OK
ed  0.2-1  OK
editrights  1.01-1 OK
ELFIO   1.0.0-1OK
emacs   21.2-12OK
emacs-el21.2-12OK
emacs-X11   21.2-12OK
enscript1.6.3-3OK
expat   1.95.7-1   OK
expect  20030128-1 OK
figlet  2.2-1  OK
file4.06-1 OK
fileutils   4.1-2  OK
findutils   4.1.7-4OK
flex2.5.4a-3   OK
fontconfig  2.2.0-1OK
fortune 1.8-2  OK
freetype2   2.1.5-1OK
fvwm2.4.7-3OK
gawk3.1.3-4OK
gcc 3.3.1-3OK
Empty package gcc-mingw
gcc-mingw   20030911-4 OK
gcc-mingw-core  20031020-1 OK
gcc22.95.3-10  OK
gdb 20030919-1 OK
gdbm1.8.3-7OK
gettext 0.12.1-3   OK
ghostscript 7.05-2 OK
ghostscript-base7.05-2 OK
ghostscript-x11 7.05-2 OK
gnugo   3.4-1  OK
grep2.5-1  OK
groff   1.18.1-2   OK
gzip1.3.5-1OK
inetutils   1.3.2-25   OK
initscripts 0.9-1  OK
ioperm  0.4-1  OK
jbigkit 1.5-3  OK
jpeg6b-11  OK
less381-1  OK
lesstif 0.93.91-6  OK
libbz2_11.0.2-5OK
libdb3.13.1.17-2   OK
libdb4.14.1.25-1   OK
libfontconfig-devel 2.2.0-1OK
libfontconfig1  2.2.0-1OK
libfreetype2-devel  2.1.5-1OK
libfreetype26   2.1.5-1OK
libgdbm 1.8.0-5OK
libgdbm-devel   1.8.3-7OK
libgdbm31.8.3-3OK
libgdbm41.8.3-7OK
libgettextpo0   0.12.1-3  

Re: g++ package installation

2004-02-02 Thread Igor Pechtchanski
On Mon, 2 Feb 2004, Ben_ wrote:

> Hi all,
>
> I'm fairly new to cygwin so please bare with me.

That's a pretty tall order for a bunch of people you've just met... ;-)

> I've search the mailing list archieve for problems similar to mine and
> haven't found a solution so any help would be appreciated.
>
> Using setup.exe I am trying to download and install gcc-g++ 3.3.1-3.
> When I try both 'install from the internet' and 'download from internet'
> I recieve a 'Download incomplete' error message.  This is frustrating
> because I have tried multiple times using different [meth?]ods (ie. just
> downloading, or installing from the internet) to no avail.  I apologize
> if this is a simplistic question but I've grown frustrated by not being
> able to download the g++ compiler.
>
> Thanks in advance for the help!
> Ben

Try a different mirror.  Also try changing your setup connection settings
(e.g., to "Use IE5 Settings").
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/



postinstall scripts not updated

2004-02-02 Thread Thorsten Kampe
Quite a few of the postinstall scripts are not updated in respect to
the transition from /usr/doc to /usr/share/doc which results in
important rcfiles in /etc not to be written.

Just a quick look at a fresh install from today:

[EMAIL PROTECTED] /etc/postinstall/wget.sh.done
cp: cannot stat `/usr/doc/wget-1.9.1/sample.wgetrc': No such file or directory

[EMAIL PROTECTED] /etc/postinstall/zsh.sh.done
Installing default /etc/zprofile
install: cannot stat `/usr/doc/zsh-4.1.1/StartupFiles/zprofile': No such file or
 directory
 
Thorsten


--
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/



g++ package installation

2004-02-02 Thread Ben_
Hi all,

I'm fairly new to cygwin so please bare with me.  I've search the mailing list 
archieve for problems similar to mine and haven't found a solution so any help would 
be appreciated.

Using setup.exe I am trying to download and install gcc-g++ 3.3.1-3.  When I try both 
'install from the internet' and 'download from internet' I recieve a 'Download 
incomplete' error message.  This is frustrating because I have tried multiple times 
using different ods (ie. just downloading, or installing from the internet) to no 
avail.  I apologize if this is a simplistic question but I've grown frustrated by not 
being able to download the g++ compiler.

Thanks in advance for the help!
Ben  




Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

--
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/



re: Problems with Emacs

2004-02-02 Thread I-Taylor, Trevor
>Yesterday, I reinstalled cygwin from scratch choosing (among other 
>packages) the latest version 21.2.12 of emacs. Most of the time I try to 
>start the program (using X) , it launches o.k. But sometimes, the window 
>pops up and it freezes taking all of the cpu (it says "loading ed mode").
>I have repeatedly tried to uninstall and reinstall emacs and I keep
>getting the same errors.
>
>Does anybody have any ideas? Has anybody else seen this?

Yes,

I updated my cygwin installation on friday 23 january 2004, and immediately emacs has 
become unreliable. Attached updated.txt shows what was updated.

emacs core dumps regularly, sometimes when I'm not touching it, sometimes when I am. I 
tried to use dumper.exe to actually get a core dump. It didn't work the first couple 
of times (see attached "core dump from dumper"), but then I got a core dump with stack 
trace (seen twice):

#0  0x77f83786 in ntdll!ZwWaitForSingleObject ()
(gdb) bt
#0  0x77f83786 in ntdll!ZwWaitForSingleObject ()
#1  0x77e8780f in WaitForSingleObjectEx ()
#2  0x77e87837 in WaitForSingleObject ()
#3  0x00c8 in ?? ()
#4  0xea60 in ?? ()

I also got:

- [3]+  Segmentation fault  emacs  (wd: 
/cygdrive/h/matrix-drawing-analysis-tools/lib)

   with no core dump (dumper didn't seem to be invoked) regularly

- X protocol errors:

   this seems to have stopped happening, and I didn't capture
   the message at the times, but from memory it was something about
   a bad length. I tries running emacs "synchronous" under gdb
   to catch the stack trace at the time but gdb couldn't break in
   _XError (or main for that matter).

I also tried:

- running emacs -nw (didn't crash)
- going back to XWin windowed mode (i.e. default behaviour), which is what I was using 
before any upgrades:
   - got emacs exit with Segmentation Fault (no core dump)
- running emacs -q (still in XWin windowed mode):
   - got "Exit 128 emacs -q (wd: ~)" (no core dump)
- building emacs from sources (the gnu emacs distribution):
   - configure doesn't know about cygwin

How is the emacs code (officially) compiled for cygwin (it might help if I could 
compile it with debug and run it under gdb)?

Trevor

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Jan 28 11:03:19 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
.\
C:\cygwin\home\trevor\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\ActiveStatePython232\
c:\WINNT\SYSTEM32
c:\WINNT
c:\WINNT\SYSTEM32\WBEM
c:\DMI\WIN32\BIN
c:\Qt\3.2.0b1\bin
c:\ttaylor\xxx
C:\cygwin\usr\X11R6\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 19373(ttaylor) GID: 10513(mkgroup_l_d)
10513(mkgroup_l_d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 19373(ttaylor) GID: 10513(mkgroup_l_d)
545(Users)  10513(mkgroup_l_d)

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

HOME = `C:\cygwin\home\trevor'
MAKE_MODE = `unix'
PWD = `/cygdrive/h/matrix-drawing-analysis-tools'
USER = `ttaylor'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\ttaylor\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `BM3C51S'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVSIGNORE = `*.pyc'
CVSREAD = `'
CVS_RSH = `/bin/ssh'
DISPLAY = `127.0.0.1:0.0'
EDITOR = `emacs'
HF_COMMS_PLAN_DIR = `c:\ttaylor\xxx\HF_CommsPlans'
HF_CPS_DIR = `m:\software\cps\ttaylor-tag-0005\binaries'
HF_HOC = `128.207.95.200'
HF_HOC_ROOT_DIR = `/hoc/config'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOSTNAME = `bm3c51s'
INTEL_LICENSE_FILE = `c:\ttaylor'
LOGNAME = `ttaylor'
LOGONSERVER = `\\ADC-AU-50'
MANPATH = `:/usr/ssl/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/cygdrive/h/matrix-drawing-analysis-tools/doc'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PAGER = `less'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyc;.pyo;.pyw;.py;.pys'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 10, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `080a'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\h:\w>'
QMAKESPEC = `win32-msvc'
QTDIR = `C:\Qt\3.2.0b1'
SHLVL = `2'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\ttaylor\LOCALS~1\Temp'
TERM = `xterm'
TMP = `c:\DOCUME~1\ttaylor\LOCALS~1\Temp'
USERDNSDOMAIN = `au.nos.boeing.com'
USERDOMAIN = `AU'
USERNAME = `ttaylor'
USERPROFILE = `C:\Documents and Settings\ttaylor'
WIN32DMIPATH = `C:\DMI\WIN32'
WINDIR = `C:\WINNT'
WINDOWID = `2097166'
_ = `/usr/bin/cygcheck'

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 = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  

RE: Text entry to command line program

2004-02-02 Thread Ross Boulet

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ross Boulet
> Sent: Monday, February 02, 2004 8:05 AM
> To: [EMAIL PROTECTED]
> Subject: Text entry to command line program
> 
> 
> I've been having a problem for a while now on my XP laptop 
> with an Oracle
> program (sqlplus).  When I start sqlplus, it prompts for a 
> user id and then
> a password.  When I run it from the windows shell (cmd.exe) 
> it works as
> expected, i.e. the user id is echoed and the password is not:
> 
> c:\$temp>sqlplus
> 
> SQL*Plus: Release 9.2.0.1.0 - Production on Mon Feb 2 07:24:24 2004
> 
> Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
> 
> Enter user-name: myid
> Enter password:
> 
> 
> In bash or ksh, the password gets echoed as well (and shouldn't be):
> 
> 
> lap /home/rossboulet # sqlplus
> 
> SQL*Plus: Release 9.2.0.1.0 - Production on Mon Feb 2 07:22:35 2004
> 
> Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
> 
> Enter user-name: myid
> Enter password: mypass
> 
> 
> Its been happening to me for the last several releases of 
> cygwin but I can't
> say exactly when it started happening.  Any suggestions?
> 

OK, my bad.  I found a couple of references to this behavior in the ML.  I
was suspicious of the "CYGWIN=ntsec tty" environment variable (set for sshd)
and had tried unsetting it in the shell to no avail.  I found that if I
unset it with dos before I start the shell, the behavior reverts to what I
expected (password not echoed).

What am I losing in the shell with not having CYGWIN set?



--
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/



Re: libiberty.a and getopt problem

2004-02-02 Thread David Fritz
The opt* variables are declared __declspec(dllimport) in Cygwin's 
headers. So when you're program refers to optarg after having included 
Cygwin's  (or ), the symbol your program links to is 
called __imp__optarg. Presumably, the opt* variables were not declared 
dllimport when libiberty was compiled. So when you link to libiberty, 
your program and libiberty's getopt() are referring to two different 
optarg variables.

You can work around this problem by not including  or 
. Though, obviously, this is not a long-term solution.

#include 

extern char *optarg;

int main(int argc, char **argv)
{
int opt;
while ((opt = getopt(argc, argv, "avzdrkp:s:o:R:")) != -1) {
printf("opt = %d,%c\n", opt, opt);
printf("optarg = %s\n", optarg);
}
}
-

~$ gcc test.c
Info: resolving _optarg by linking to __imp__optarg (auto-import)
~$ ./a -s 1
opt = 115,s
optarg = 1
~$ gcc test.c -liberty
~$ ./a -s 1
opt = 115,s
optarg = 1
~$
Cheers

--
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/


RE: Output of 'top' lacking load average output

2004-02-02 Thread Chris January
> I am wondering why the output of top does not produce any output for
> the load averages, I only get this...
>
>  13:44:32 up 2 days,  3:03,  2 users,  load average: 0.00, 0.00, 0.00

Windows doesn't record load averages. In the absence of a process to collect
load average data these values are not available.
(Note: this isn't strictly true as there are similar performance counters on
Windows 95 - feel free to write some code to read them and add them to
/proc/loadavg.)

Chris


--
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/



Re: how could I add "setenv" in cygwin?

2004-02-02 Thread Igor Pechtchanski
On Mon, 2 Feb 2004, liya wrote:

> [nothing]

Please start a new thread with new questions, rather than replying to an
existing message.  This only makes people with threaded readers (including
the web archive interface) confused.

Also, your question is not well-formed.  Please read and follow

> Problem reports:   http://cygwin.com/problems.html

Hope this helps,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/



how could I add "setenv" in cygwin?

2004-02-02 Thread liya



--
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/



Re: Output of 'top' lacking load average output

2004-02-02 Thread Christopher Faylor
On Mon, Feb 02, 2004 at 01:51:29PM +0100, Christian Joensson wrote:
>I am wondering why the output of top does not produce any output for
>the load averages, I only get this...

Because it isn't implemented.

cgf

--
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/



Re: off topic newby question

2004-02-02 Thread Christopher Faylor
On Mon, Feb 02, 2004 at 05:09:05AM -0500, c wrote:
>Hi all again
>Would a missing "plug n play" device in hardware manager cause this maybe?
>.

As you correctly surmised, this is off-topic for this mailing list.  Please
find somewhere else to ask this question.

>my brain hurts


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
>Of c
>Sent: Monday, February 02, 2004 4:49 AM
>To: [EMAIL PROTECTED]
>Subject: off topic newby question
>
>
>Hi all
>cam the newby here 
>i have a problem completely off topic  , i cant 'net send' my own netbios
>name.  Any suggestions , using xp , messanger service is on :O(
>Cheers
>Cameron
>
>ps
>
>Thought i'd post here cause everone here is really clever
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.571 / Virus Database: 361 - Release Date: 1/26/2004
>
>
>--
>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/
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.571 / Virus Database: 361 - Release Date: 1/26/2004
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.571 / Virus Database: 361 - Release Date: 1/26/2004
>
>
>--
>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/

--
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/



Re: Running setup twice on a new install

2004-02-02 Thread Karl M
Hi All...

I sent an email with the first and second full setup logs for a new win98 
install. The list rejected it because it was too big (more that 10k 
characters). It should have gone directly to Robert Collins as well.

FWIW, this was a basic install...I didn't do any selections, I just ran 
setup twice on a clean machine (this one was win98 but I have seen this on 
other flavors).

Thanks,

...Karl


From: Robert Collins <[EMAIL PROTECTED]>
To: Karl M <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Running setup twice on a new install
Date: Sun, 01 Feb 2004 09:19:26 +1100
On Sun, 2004-02-01 at 04:34, Karl M wrote:
> Hi All...
>
> I did a new cygwin install last week and I again saw the following 
behavior:
> I ran setup twice (one
> right after the other). In the first run everything seemed fine. On the
> second run, setup told me I
> needed
>
> libbz2_1: Shared libraries for bzip2 (runtime)
>
> so I let it install it. This was on a win-xp-pro box, but I have seen it 
on
> 98,2k and xp.
>
> My question is why is this not detected on the first pass?

I don't know at this point. Possibly a bug in the loop breaking logic.
We'd need to know what loops where printout out in setup.log.full for
the first run.
Rob
--
GPG key available at: .
<< signature.asc >>
_
Find high-speed ‘net deals — comparison-shop your local providers here. 
https://broadband.msn.com

--
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/


cygwin bang

2004-02-02 Thread darrenr
cygwin grow yer (beep) http://flickz.us/vp/?pills 
12:35:37PM

--
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/



Re: Plausibility of sendmail?

2004-02-02 Thread Brian . Kelly
> Andrew DeFaria wrote:
> If they are so clueless as you suggest then one has to wonder why you

> tell them that you're running a Linux OS and using sendmail?!?


They "know" that Linux is *open source* and *dangerous* - because that's
what the VERY political Server Team (who have sold out to Microsoft and all
their propaganda) tells them. The more Wintel boxes, the more *power* they
have. Since their job ends once the box is powered up and imaged with the
*approved and 'supported' corporate load*, their job is done. They could
CARE-A-LESS about anyone else's needs or problems. They run their own
monitoring software on the box to make sure there is no un-scheduled
downtime or lack of disk space. Trying to put Linux on the box would
DEFINITELY be noticed - and would probably result in dismissal. Beyond that
- they (Server Team) are'nt concerned about how the box is actually used
(assuming of course that you have been designated the owner of the
*resource* [which is different from owning the *box* itself - go figure]).
The Server Team has more political clout because they own so *many* boxes,
where you own only a *couple* of resources. Of course all the *boxes* are
simple clones, but that little detail is overlooked by upper management.
It's all a numbers game. So the Server Team's arguments win out over yours
98% of the time. Surely someone who manages a fleet of Cessna's knows more
about flying than one guy in an F-18! - or so the thinking apparently goes.



>> Brian.Kelly wrote:

>> Seems to me you have not worked for many Fortune 500 size
>> organizations - where almost ALL your hardware and software purchasing
>> decisions are made by folks who *PRIDE* themselves on their *LACK* of
>> technical expertise - as if such were somehow evidence of their
>> inability to *MANAGE*. In fact, being a technical guru can often be
>> career death in such places as the *can't do's* endlessly convince
>> themselves that the *can do's* can't "manage people". Which begs the
>> question - "WHAT DOES CHOOSING HARDWARE HAVE TO DO WITH *MANAGING
>> PEOPLE*" But they do it anyway. And of course when such
>> *beings* make such decisions, they do so with assumptions like "all
>> open source is BAD" (while their web servers are running Apache), and
>> the CHEAPEST thing is *GOOD* - Intel rather than Sun or HP. Oh, but we
>> can't run Linux because that's *bad* *unsupported* open source!!
>>
>> Then - their job done, and budget shot, they give a nearly impossible
>> task to their *inferior guru's* that really should only be done in a
>> Unix enviroment - enter CYGWIN. Of course it's *bad* open source, but
>> now the *manager* has promised his/her management that this new
>> functionality would be ready by week's end - without consulting the
>> guru's first. So cygwin is agreed to as a *temporary* solution (with
>> the understanding that temporary in such organizations could be two
>> decades instead of three).
>>
>> This is how a need for something like sendmail on cygwin could
>> conceivably come about - happens ALL the time.

> Andrew DeFaria wrote:

> If they are so clueless as you suggest then one has to wonder why you
> tell them that you're running a Linux OS and using sendmail?!?

> Otherwise simply get exim and use it. Works fine.
--
If you think that there is good in everybody, you haven't met everybody.



"WellChoice, Inc." made the following
 annotations on 02/02/2004 01:08:25 PM
--
Attention!  This electronic message contains information that may be legally 
confidential and/or privileged.  The information is intended solely for the individual 
or entity named above and access by anyone else is unauthorized.  If you are not the 
intended recipient, any disclosure, copying, distribution, or use of the contents of 
this information is prohibited and may be unlawful.  If you have received this 
electronic transmission in error, please reply immediately to the sender that you have 
received the message in error, and delete it. Release/Disclosure Statement


--
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/



Re: Plausibility of sendmail?

2004-02-02 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote:

Seems to me you have not worked for many Fortune 500 size 
organizations - where almost ALL your hardware and software purchasing 
decisions are made by folks who *PRIDE* themselves on their *LACK* of 
technical expertise - as if such were somehow evidence of their 
inability to *MANAGE*. In fact, being a technical guru can often be 
career death in such places as the *can't do's* endlessly convince 
themselves that the *can do's* can't "manage people". Which begs the 
question - "WHAT DOES CHOOSING HARDWARE HAVE TO DO WITH *MANAGING 
PEOPLE*" But they do it anyway. And of course when such 
*beings* make such decisions, they do so with assumptions like "all 
open source is BAD" (while their web servers are running Apache), and 
the CHEAPEST thing is *GOOD* - Intel rather than Sun or HP. Oh, but we 
can't run Linux because that's *bad* *unsupported* open source!!

Then - their job done, and budget shot, they give a nearly impossible 
task to their *inferior guru's* that really should only be done in a 
Unix enviroment - enter CYGWIN. Of course it's *bad* open source, but 
now the *manager* has promised his/her management that this new 
functionality would be ready by week's end - without consulting the 
guru's first. So cygwin is agreed to as a *temporary* solution (with 
the understanding that temporary in such organizations could be two 
decades instead of three).

This is how a need for something like sendmail on cygwin could 
conceivably come about - happens ALL the time.
If they are so clueless as you suggest then one has to wonder why you 
tell them that you're running a Linux OS and using sendmail?!?

Otherwise simply get exim and use it. Works fine.
--
If you think that there is good in everybody, you haven't met everybody.
--
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/


RE: Plausibility of sendmail?

2004-02-02 Thread Ken Thompson


As far as whether it gets in the cygwin distribution, it is primarily a
function of whether someone is willing to port it to cygwin and maintain it.
Otherwise, it won't.  Someone asks about sendmail for cygwin periodically
but I have never seen anyone express an interest in actually doing the port
and seving as maintainer. From what Brian Dessant says about the state of
the code base, it is pretty obvious why.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Brian Dessent
> Sent: Monday, February 02, 2004 10:45 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Plausibility of sendmail?
>
>
> [EMAIL PROTECTED] wrote:
>
> > >> If someone is crazy enough to want a production mailserver
> with Cygwin,
> > >> let them run Exim.
> >
> > Point well taken. Having limited experience with mail servers
> in general, I
> > will certainly keep your advice filed away in the ole noodle for future
> > reference. Of course a lot of reasons that *crap* persists is because
> > there's a lot of folks who are familiar with and experienced with such
> > *crap*. For someone under the gun to come up with a quick fix,
> inevitably
> > they will attempt to implement the familiar. If sendmail REALLY
> deserves to
> > die, then keeping it out of the Cygwin distribution is something I would
> > understand, and probably support (as long as there are advertised
> > alternatives of course!)
>
> Well, I don't see sendmail dying anytime soon.  It's still running on
> something like half of all mail servers, and I'm pretty sure it's still
> the #1 MTA.  But, it's decades old and has reams and reams of security
> bulletins, both past and present (and future!)  Security was just not
> such a concern back before The Internet existed, when ARPAnet and this
> new TCP/IP thing were all the rage.
>
> It's configured with a "sendmail.cf" file that closely resembles line
> noise and is so byzantine that it takes a 1232 page O'Reilly book to
> explain it.  It's rumoured that some sendmail developers don't even
> understand parts of the file.  The recommended advise is to never touch
> it, but instead edit the more friendly .mc file which is passed through
> a number of m4 macros to generate the .cf file.
>
> It sticks around due to legacy, as far as I can tell.  It "just works"
> at a number of places and nobody wants to be the person to rip it all
> out and install something else.  It also has support for some really
> anachronistic features (e.g. UUCP) that you likely won't find
> elsewhere.  It's probably got the worst performance of the "big four",
> but it can be made to do most of the things that you would ever want out
> of an MTA, and since it's so old everything's at least documented pretty
> well.
>
> So, if you use Webmin to configure it, and you stay up to date with your
> patches, and you aren't trying to run a whole enterprise's mail on a
> Pentium then it will probably work fine.  I suppose it would be unfair
> to call it crap, and you will always be able to find those who defend it
> with the same level of fanaticism as a heated vi-vs-emacs argument.  And
> to swing this back on-topic, I personally don't think it should be
> propagated to new places where it has yet to exist, such as Cygwin,
> especially when viable alternatives already exist there.
>
> Brian
>
> --
> 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/
>
>


--
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/



Re: Plausibility of sendmail?

2004-02-02 Thread Brian Dessent
[EMAIL PROTECTED] wrote:

> >> If someone is crazy enough to want a production mailserver with Cygwin,
> >> let them run Exim.
> 
> Point well taken. Having limited experience with mail servers in general, I
> will certainly keep your advice filed away in the ole noodle for future
> reference. Of course a lot of reasons that *crap* persists is because
> there's a lot of folks who are familiar with and experienced with such
> *crap*. For someone under the gun to come up with a quick fix, inevitably
> they will attempt to implement the familiar. If sendmail REALLY deserves to
> die, then keeping it out of the Cygwin distribution is something I would
> understand, and probably support (as long as there are advertised
> alternatives of course!)

Well, I don't see sendmail dying anytime soon.  It's still running on
something like half of all mail servers, and I'm pretty sure it's still
the #1 MTA.  But, it's decades old and has reams and reams of security
bulletins, both past and present (and future!)  Security was just not
such a concern back before The Internet existed, when ARPAnet and this
new TCP/IP thing were all the rage.

It's configured with a "sendmail.cf" file that closely resembles line
noise and is so byzantine that it takes a 1232 page O'Reilly book to
explain it.  It's rumoured that some sendmail developers don't even
understand parts of the file.  The recommended advise is to never touch
it, but instead edit the more friendly .mc file which is passed through
a number of m4 macros to generate the .cf file.

It sticks around due to legacy, as far as I can tell.  It "just works"
at a number of places and nobody wants to be the person to rip it all
out and install something else.  It also has support for some really
anachronistic features (e.g. UUCP) that you likely won't find
elsewhere.  It's probably got the worst performance of the "big four",
but it can be made to do most of the things that you would ever want out
of an MTA, and since it's so old everything's at least documented pretty
well.

So, if you use Webmin to configure it, and you stay up to date with your
patches, and you aren't trying to run a whole enterprise's mail on a
Pentium then it will probably work fine.  I suppose it would be unfair
to call it crap, and you will always be able to find those who defend it
with the same level of fanaticism as a heated vi-vs-emacs argument.  And
to swing this back on-topic, I personally don't think it should be
propagated to new places where it has yet to exist, such as Cygwin,
especially when viable alternatives already exist there.

Brian

--
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/



Re: Plausibility of sendmail?

2004-02-02 Thread Brian . Kelly

>> If someone is crazy enough to want a production mailserver with Cygwin,
>> let them run Exim.

Point well taken. Having limited experience with mail servers in general, I
will certainly keep your advice filed away in the ole noodle for future
reference. Of course a lot of reasons that *crap* persists is because
there's a lot of folks who are familiar with and experienced with such
*crap*. For someone under the gun to come up with a quick fix, inevitably
they will attempt to implement the familiar. If sendmail REALLY deserves to
die, then keeping it out of the Cygwin distribution is something I would
understand, and probably support (as long as there are advertised
alternatives of course!)

Brian Kelly





"Brian Dessent" <[EMAIL PROTECTED]>@cygwin.com on 02/02/2004 09:33:56 AM

Please respond to [EMAIL PROTECTED]

Sent by:[EMAIL PROTECTED]


To:[EMAIL PROTECTED]
cc: (bcc: Brian Kelly/WTC1/Empire)

Subject:Re: Plausibility of sendmail?


[EMAIL PROTECTED] wrote:

> Seems to me you have not worked for many Fortune 500 size organizations -
> where almost ALL your hardware and software purchasing decisions are made
> by folks who *PRIDE* themselves on their *LACK* of technical expertise -
as
> if such were somehow evidence of their inability to *MANAGE*. In fact,
> being a technical guru can often be career death in such places as the
> *can't do's* endlessly convince themselves that the *can do's* can't
> "manage  people". Which begs the question - "WHAT DOES CHOOSING HARDWARE
> HAVE TO DO WITH *MANAGING PEOPLE*" But they do it anyway. And of
> course when such *beings* make such decisions, they do so with
assumptions
> like "all open source is BAD" (while their web servers are running
Apache),
> and the CHEAPEST thing is *GOOD* - Intel rather than Sun or HP. Oh, but
we
> can't run Linux because that's *bad* *unsupported* open source!!

Yes, PHB types can make really terrible decisions.  That doesn't mean
that because they're in charge those plans should become feasible, just
because "that's what the bossman wants."  My statement was only that
"you'd be much better served..." with a native posix OS, especially
where security and performance are required such as in a busy mail
server in the DMZ.

> enviroment - enter CYGWIN. Of course it's *bad* open source, but now the
> *manager* has promised his/her management that this new functionality
would
> be ready by week's end - without consulting the guru's first. So cygwin
is
> agreed to as a *temporary* solution (with the understanding that
temporary
> in such organizations could be two decades instead of three).
>
> This is how a need for something like sendmail on cygwin could
conceivably
> come about - happens ALL the time.

If someone is crazy enough to want a production mailserver with Cygwin,
let them run Exim.  I guess my point was more that "sendmail is an old,
crufty, impossible to comprehend pile of rotten bits" and not "Cygwin
shouldn't have MTA packages available because it's unsuitable for
production use."  In other words, I view anything that could hasten
(even if infinitesimally) the demise of sendmail as a feature and not a
bug.

Brian

--
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/







"WellChoice, Inc." made the following
 annotations on 02/02/2004 10:07:12 AM
--
Attention!  This electronic message contains information that may be legally 
confidential and/or privileged.  The information is intended solely for the individual 
or entity named above and access by anyone else is unauthorized.  If you are not the 
intended recipient, any disclosure, copying, distribution, or use of the contents of 
this information is prohibited and may be unlawful.  If you have received this 
electronic transmission in error, please reply immediately to the sender that you have 
received the message in error, and delete it. Release/Disclosure Statement


--
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/



RE: setup change this year?

2004-02-02 Thread Buchbinder, Barry (NIH/NIAID)
Having used the resizable setup v. 2.418 for a while (under both Win98se and
XP), I prefer the resizable with "awkward other panels" than the
non-resizable.  Actually, there need not be anything awkward.  One can just
run setup at the default size, and when one gets to the package chooser, one
clicks the full screen button.  Alternatively, one can run it from a
shortcut that that starts setup full screen.  (This is what I do when I run
it manually.)  Its ugly, but if one isn't changing anything before the
chooser from the last time setup was run, one can go through the screens
until one gets to the chooser by repeatedly hitting enter.  Not awkward at
all.  Even if one changes things from the last time setup was run, many of
the changes can be made from the keyboard.

- Barry

-Original Message-
From: Brian Dessent [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 30, 2004 11:48 PM
To: [EMAIL PROTECTED]
Subject: Re: setup change this year?

Sam Steingold wrote:
> 
> > * Larry Hall <[EMAIL PROTECTED]> [2004-01-29 20:32:28 -0500]:
> >
> > 
> >
> > You can pull down 2.418 (really just adds resizable controls)
> 
> resizable controls is a big thing, 2.418 has been there for 3 months,
> why hasn't it been released yet?

The 'resizeableness' needs to be fixed for the other panels of the
wizard.  If you maximize the screen it's great for the package selection
part but rather awkward for all the other panels.  I think that's the
reason that it has not been pushed out to cygin.com/setup.exe yet.  (I'm
sure Robert will correct/amend this if I'm wrong.)

Brian

--
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/

--
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/



Re: Plausibility of sendmail?

2004-02-02 Thread Brian Dessent
[EMAIL PROTECTED] wrote:

> Seems to me you have not worked for many Fortune 500 size organizations -
> where almost ALL your hardware and software purchasing decisions are made
> by folks who *PRIDE* themselves on their *LACK* of technical expertise - as
> if such were somehow evidence of their inability to *MANAGE*. In fact,
> being a technical guru can often be career death in such places as the
> *can't do's* endlessly convince themselves that the *can do's* can't
> "manage  people". Which begs the question - "WHAT DOES CHOOSING HARDWARE
> HAVE TO DO WITH *MANAGING PEOPLE*" But they do it anyway. And of
> course when such *beings* make such decisions, they do so with assumptions
> like "all open source is BAD" (while their web servers are running Apache),
> and the CHEAPEST thing is *GOOD* - Intel rather than Sun or HP. Oh, but we
> can't run Linux because that's *bad* *unsupported* open source!!

Yes, PHB types can make really terrible decisions.  That doesn't mean
that because they're in charge those plans should become feasible, just
because "that's what the bossman wants."  My statement was only that
"you'd be much better served..." with a native posix OS, especially
where security and performance are required such as in a busy mail
server in the DMZ.

> enviroment - enter CYGWIN. Of course it's *bad* open source, but now the
> *manager* has promised his/her management that this new functionality would
> be ready by week's end - without consulting the guru's first. So cygwin is
> agreed to as a *temporary* solution (with the understanding that temporary
> in such organizations could be two decades instead of three).
> 
> This is how a need for something like sendmail on cygwin could conceivably
> come about - happens ALL the time.

If someone is crazy enough to want a production mailserver with Cygwin,
let them run Exim.  I guess my point was more that "sendmail is an old,
crufty, impossible to comprehend pile of rotten bits" and not "Cygwin
shouldn't have MTA packages available because it's unsuitable for
production use."  In other words, I view anything that could hasten
(even if infinitesimally) the demise of sendmail as a feature and not a
bug.

Brian

--
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/



Re: Startup error in new xemacs distribution within cygwin distribution

2004-02-02 Thread Dr. Volker Zell
> "L" == L Larrabee Strow writes:

L> I just installed all the new xemacs packages within the cygwin
L> distribution.  I also updated my cygwin to DLL 1.5.7-1 release.

L> When I try to start xemacs I get the following

>> xemacs

L> WARNING:
L> Couldn't find an obvious default for the root of the XEmacs hierarchy.

Known problem. Obviously XEmacs finds all its files.

L> Then xemacs hangs for a minute or so and then the bash prompt returns.

L> I then realized that xemacs wanted an xserver, when I started one up,
L> it started, with the same warning.  The documentation on this mailing
L> list indicated that xemacs wouldn't need or use X if the server wasn't
L> running.   Seems as though packages can be found if running under X.

If you want the W32 version just unset your DISPLAY variable before
starting. Should be mentioned in the package README so.

L> Larrabee

Ciao
  Volker


--
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/



Text entry to command line program

2004-02-02 Thread Ross Boulet
I've been having a problem for a while now on my XP laptop with an Oracle
program (sqlplus).  When I start sqlplus, it prompts for a user id and then
a password.  When I run it from the windows shell (cmd.exe) it works as
expected, i.e. the user id is echoed and the password is not:

c:\$temp>sqlplus

SQL*Plus: Release 9.2.0.1.0 - Production on Mon Feb 2 07:24:24 2004

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter user-name: myid
Enter password:


In bash or ksh, the password gets echoed as well (and shouldn't be):


lap /home/rossboulet # sqlplus

SQL*Plus: Release 9.2.0.1.0 - Production on Mon Feb 2 07:22:35 2004

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

Enter user-name: myid
Enter password: mypass


Its been happening to me for the last several releases of cygwin but I can't
say exactly when it started happening.  Any suggestions?

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Feb 02 07:08:48 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\oracle\ora92\bin
c:\oracle\ora90\bin
c:\Program Files\Oracle\jre\1.3.1\bin
c:\Program Files\Oracle\jre\1.1.8\bin
c:\oracle\ora90\Apache\Perl\5.00503\bin\mswin32-x86
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Common Files\Adaptec Shared\System
c:\util
C:\cygwin\bin
c:\borland\bcc55\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\home\rossboulet\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(rossboulet) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(rossboulet) GID: 513(None)
513(None) 544(Administrators)
545(Users)1003(Debugger Users)
1007(ORA_DBA)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `ntsec tty'
HOME = `C:\cygwin\home\rossboulet'
MAKE_MODE = `unix'
USER = `rossboulet'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Ross Boulet\Application Data'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `ROSSLAP'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
EDITOR = `/usr/bin/vi'
ENV = `/home/rossboulet/.kshrc'
HISTFILE = `/home/rossboulet/.sh_history'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Ross Boulet'
INCLUDE = `c:\borland\bcc55\include;c:\oracle\ora92\oci\include\'
JSERV = `C:\oracle\ora92/Apache/Jserv/conf;C:\oracle\ora90/Apache/Jserv/conf'
LESS = `isrR'
LIB = `c:\oracle\ora92\oci\lib\msvc\'
LOGONSERVER = `\\ROSSLAP'
MANPATH = `:/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLAP_HOME = `C:\oracle\ora90\olap'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 11 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0b01'
PROGRAMFILES = `C:\Program Files'
PS1 = `lap $PWD # '
SESSIONNAME = `Console'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\ROSSBO~1\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\ROSSBO~1\LOCALS~1\Temp'
USERDOMAIN = `ROSSLAP'
USERNAME = `rossboulet'
USERPROFILE = `C:\Documents and Settings\Ross Boulet'
WINDIR = `C:\WINDOWS'
WV_GATEWAY_CFG = `C:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app'
_ = `/usr/bin/cygcheck'
att = `attentus-solutions.com'
cygsetup = `c:/\$temp/software/cygwin'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
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
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS   28576Mb  55% CP CS UN PA FC 
d:  cd   N/AN/A

C:\cygwin  / system  binmode
C:\cygwin/bin  /usr/bin  system  binmode
C:\cygwin/lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.

Re: Issues with new cygwin1.dll and bash logouts

2004-02-02 Thread James Spinks
Quoting [EMAIL PROTECTED]:

> I have a .bash_profile script that calls the keychain program to ensure
> that ssh-agent is loaded and has all my usual keys loaded into it.
> 
> Since upgrading to the latest cygwin1.dll (and I've tried the lastest
> snapshot as well) everything works as before -- I can fire up the Cygwin
> bash shell, provide the password for my keys and access remote servers
> and do whatever I like.  The problem occurs when I try and exit the bash
> shell and it just sits there indefinitely until I kill the task.  When I
> re-launch Cygwin killing the previous bash session has taken out the
> ssh-agent process as well rather than it staying resident in the
> background as it used to.
> 
> It seems to me that as bash tries to exit it doesn't realise that the
> ssh-agent process is supposed to be detached and is trying to kill it as
> well.  Any suggestions as to how I can fix this behaviour, or any
> debugging type things I can do to ascertain the exact nature of the
> problem.

I'm still having this problem, even after having upgraded to the latest 1.5.7 
cygwin1.dll from mirror.ac.uk.  I'm having the problem on multiple machines, so in 
inclined to believe it's a more generic fault than just my setup.

The keychain configuration is started from the .bash_profile script as follows:

--- BEGIN EXCERPT ---
[ -f /bin/keychain ] && keychain && . ~/.keychain/${HOSTNAME}-sh && echo
 END EXCERPT 

The .bashrc file doesn't start any programs, just sets a couple of aliases and 
variables.  The .bash_logout script does not exist.

Below is my latest cygcheck output file:

--- BEGIN cygcheck_output.txt ---

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Feb 02 13:38:50 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\Cygwin\bin
C:\Cygwin\bin
C:\Cygwin\usr\X11R6\bin
C:\Cygwin\usr\local\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\Documents and Settings\860215\My Documents\bin

Output from C:\Cygwin\bin\id.exe (nontsec)
UID: 76302(james) GID: 545(Users)
545(Users)

Output from C:\Cygwin\bin\id.exe (ntsec)
UID: 76302(james) GID: 545(Users)
544(Administrators)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

Here's some environment variables that may affect cygwin:
HOME = `c:\Documents and Settings\860215\My Documents'
MAKE_MODE = `unix'
PWD = `/home/james'
USER = `james'

Here's the rest of your environment variables:
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\860215\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `UK722204'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVSROOT = `:ext:uk-lonpmi001:/home/cvs'
CVS_RSH = `ssh'
EDITOR = `vim'
GZIP = `-9'
HISTCONTROL = `ignoredups'
HOMEDRIVE = `I:'
HOMEPATH = `\'
HOMESHARE = `\\LON238\860215'
HOSTNAME = `uk722204'
INFOPATH = `/usr/share/info:/usr/info'
LIB = `C:\Program Files\Microsoft.NET\OracleClient.Net\'
LOGONSERVER = `\\LOND83'
MANPATH = `/usr/share/man:/usr/man:/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/james/Downloads'
OS = `Windows_NT'
PAGER = `less'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 10, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `080a'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `$ '
RSYNC_RSH = `ssh'
SESSIONNAME = `Console'
SHLVL = `1'
SMS_LOCAL_DIR = `C:\WINDOWS'
SSH_AGENT_PID = `3332'
SSH_AUTH_SOCK = `/tmp/ssh-TbNu3060/agent.3060'
SSH_KEYS = `/home/james/.ssh/id_rsa /home/james/.ssh/id_dsa /home/james/.ssh/identity '
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\860215\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\860215\LOCALS~1\Temp'
USERDOMAIN = `GBCOOPERS'
USERNAME = `860215'
USERPROFILE = `C:\Documents and Settings\860215'
WINDIR = `C:\WINDOWS'
_ = `/bin/cygcheck'

Scanning registry for keys with `Cygnus' in them...
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
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
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\Cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\Cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\Cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\Cygwin\usr\X

Re: Setup Utility UI

2004-02-02 Thread Igor Pechtchanski
On Mon, 2 Feb 2004, Reini Urban wrote:

> Igor Pechtchanski schrieb:
> > For a while, this was the most requested feature for setup.  It's still
> > under development, though there is a snapshot available where some of the
> > windows are fully resizeable.  Check out setup-2.418.exe at
> > .
>
> Now this makes my day!
> It's siting there for such a long time and I didn't knew it...
> Frank Richter's ControlAdjuster looks fine to me.
>
> README says
> RELEASE BLOCKERS:
> Currently, none!
> so what's the problem?

See .
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/



Output of 'top' lacking load average output

2004-02-02 Thread Christian Joensson
Windows XP/Pro SP1 cygwin P4 system with these packages:

binutils 20030901-1 2.14.90 20030901
bison20030307-1 1.875b
cygwin   1.5.7-1
dejagnu  20021217-2 1.4.2.x
gawk 3.1.3-4
gcc  3.3.1-3
w32api   2.4-1

I am wondering why the output of top does not produce any output for
the load averages, I only get this...

 13:44:32 up 2 days,  3:03,  2 users,  load average: 0.00, 0.00, 0.00
17 processes: 15 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:  15.0% user,  65.5% system,   0.0% nice,  19.5% idle
Mem:   1047564K total,   442164K used,   605400K free,0K buffers
Swap:  1476172K total,   302424K used,  1173748K free,0K cached

  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 3500 chj8   0  1960 2716   128 S 4.4  0.2   0:13 sh
 2400 chj8   0  1704 289272 R 2.3  0.2   0:01 top
 3812 chj8   0  2172 2624   176 R 0.8  0.2   0:00 sh
  816 chj8   0  2168 2496   104 S 0.5  0.2   0:00 sh
  728 chj8   0  1692 2476   124 S 0.3  0.2   0:00 bash
  680 chj8   0  9644  10M   148 S 0.3  1.0   1:00 make
 3544 chj8   0  1628 3316   124 S 0.2  0.3   0:07 bash
  564 chj8   0  2492 4092   120 S 0.2  0.3   0:07 sshd
 2844 chj8   0  1268 2012   120 S 0.0  0.1   0:00 sh
  528 chj8   0  1272 2000   132 S 0.0  0.1   0:00 sh
 2668 chj8   0  2572 3952   140 S 0.0  0.3   0:00 sshd
 2332 chj8   0  2732 3660   132 S 0.0  0.3   0:00 make
 1968 chj8   0  1300 1996   104 S 0.0  0.1   0:00 sh
 3016 chj8   0  2788 3720   136 S 0.0  0.3   0:00 make
 3816 chj8   0  1272 1896   100 S 0.0  0.1   0:00 sh
 2504 chj8   0 11416  12M   140 S 0.0  1.1   1:03 make
 3964 chj8   0  1772 3608   116 S 0.0  0.3   0:08 bash

Cheers,

/ChJ


--
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/



initial feedback on cygwin-1.5.7-1: emacs sí, unzip no

2004-02-02 Thread Thomas L Roche
Christopher Faylor Sat, 31 Jan 2004 00:43:54 -0500 (EST)
> Changes since 1.5.6-1:

> - Fix malloc overflow problem which caused random SEGVs.
>   (Christopher Faylor)

FWIW since installing 1.5.7-1 early 1 Feb I have not experienced any
emacs weirdness, but I'm still getting "cmalloc returned NULL" from
unzip, even when unzip'ing a known-good file (i.e. one that I unzip'ed
successfully before upgrading from 1.5.5-1). Detail:

>   inflating: 
/d/eclipse/builds/20040121_1953-WB213-AD-V512D-00/eclipse/plugins/com.ibm.etools.j2ee.ui/build/pluginBuild/commonbld/com/ibm/etools/ejb/ui/presentation/EJBEditorOutlineContentProvider.class
 
 
> 735 [main] unzip 1820 cmalloc: cmalloc returned NULL
> error:  zipfile probably corrupt (segmentation violation)


--
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/



Re: Plausibility of sendmail?

2004-02-02 Thread Brian . Kelly






"Brian Dessent" <[EMAIL PROTECTED]>@cygwin.com on 02/02/2004 01:10:44 AM

Please respond to [EMAIL PROTECTED]

Sent by:[EMAIL PROTECTED]


To:"'Cygwin List'" <[EMAIL PROTECTED]>
cc:

Subject:Re: Plausibility of sendmail?

>> If your intent is to use Windows+Cygwin+sendmail as a production mail
>> server, then you would be much better served (no pun intended) running
>> it on a native posix OS like Linux or FreeBSD

Seems to me you have not worked for many Fortune 500 size organizations -
where almost ALL your hardware and software purchasing decisions are made
by folks who *PRIDE* themselves on their *LACK* of technical expertise - as
if such were somehow evidence of their inability to *MANAGE*. In fact,
being a technical guru can often be career death in such places as the
*can't do's* endlessly convince themselves that the *can do's* can't
"manage  people". Which begs the question - "WHAT DOES CHOOSING HARDWARE
HAVE TO DO WITH *MANAGING PEOPLE*" But they do it anyway. And of
course when such *beings* make such decisions, they do so with assumptions
like "all open source is BAD" (while their web servers are running Apache),
and the CHEAPEST thing is *GOOD* - Intel rather than Sun or HP. Oh, but we
can't run Linux because that's *bad* *unsupported* open source!!

Then - their job done, and budget shot, they give a nearly impossible task
to their *inferior guru's* that really should only be done in a Unix
enviroment - enter CYGWIN. Of course it's *bad* open source, but now the
*manager* has promised his/her management that this new functionality would
be ready by week's end - without consulting the guru's first. So cygwin is
agreed to as a *temporary* solution (with the understanding that temporary
in such organizations could be two decades instead of three).

This is how a need for something like sendmail on cygwin could conceivably
come about - happens ALL the time.


Joaquin wrote:
>
> I check the FAQ and I couldn't find any reference to this.  I noticed
> that exim is there, kewl!, but what about sendmail?  Was there any work
> on porting this?
>
> BTW, I noticed that SFU3.5 seems to have a version of sendmail.

Maybe you could elaborate a little on why you want sendmail.  To my
knowledge there has been no work done to even begin considering
packaging sendmail for Cygwin, at least not officially (i.e. supported
by this mailing list, cygwin.com, and the setup.exe program.)  Someone,
somewhere might have done it and succeeded, but you're at the mercy of
Google in that case.  Part of me really wants to ask why in god's name
you'd want to inflict the utter crapulence of sendmail onto an otherwise
innocent system, but that's really just being snide.

If your intent is to use Windows+Cygwin+sendmail as a production mail
server, then you would be much better served (no pun intended) running
it on a native posix OS like Linux or FreeBSD, as there is a significant
performance and security impact of emulating Posix under Windows.

If you're just after 'sendmail compatibility' then both ssmtp and exim
provide symbolic links to /usr/sbin/sendmail.  So any script or other
type of app that wants to just send out email by invoking the sendmail
command should work fine.

Brian

--
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/







"WellChoice, Inc." made the following
 annotations on 02/02/2004 07:02:31 AM
--
Attention!  This electronic message contains information that may be legally 
confidential and/or privileged.  The information is intended solely for the individual 
or entity named above and access by anyone else is unauthorized.  If you are not the 
intended recipient, any disclosure, copying, distribution, or use of the contents of 
this information is prohibited and may be unlawful.  If you have received this 
electronic transmission in error, please reply immediately to the sender that you have 
received the message in error, and delete it. Release/Disclosure Statement


--
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/



libiberty.a and getopt problem

2004-02-02 Thread Cliff Zhang
Hi, all

I've compiled elf2flt (a tool to convert elf format file to flat used by uClinux), but 
it crashs while I'm compiling uClinux.

This tool will use libiberty compiled for the specified target (for example, arm-elf) 
and I found if I don't use this library and it will works. (There are two applications 
elf2flt and flthdr, the second one will not use libiberty and I can compile it)

Then I wrote a simple program to test:

#include 
#include 

int main(int argc, char **argv)
{
int opt;
while ((opt = getopt(argc, argv, "avzdrkp:s:o:R:")) != -1) {
printf("opt = %d,%c\n", opt, (char)opt);
printf("optarg = %s\n", optarg);
}
}


when it is compiled with gcc -O2 opt.c -o opt
it is ok and it I type opt -s 1
it will output:
opt = 115,s
optarg = 1

but if it is compiled with gcc -O2 opt.c -o opt -liberty
opt -s 1 will output:
opt = 115,s
optarg = (null)


gcc-3.3.1 and 3.2.3 is the same problem

I use nm /lib/libiberty.a > iberty.txt and find there's already a getopt function 
in libiberty, and perhaps it conflicts with libc.a
It can be ok if I remove the getopt implementations in libiberty.a with
ar d libiberty.a getopt.o getopt1.o
then it will produce the correct output.

So I don't know how to deal with it.

RE: off topic newby question

2004-02-02 Thread c
Hi all again
Would a missing "plug n play" device in hardware manager cause this maybe?
.

Cameron

my brain hurts

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of c
Sent: Monday, February 02, 2004 4:49 AM
To: [EMAIL PROTECTED]
Subject: off topic newby question


Hi all
cam the newby here 
i have a problem completely off topic  , i cant 'net send' my own netbios
name.  Any suggestions , using xp , messanger service is on :O(
Cheers
Cameron

ps

Thought i'd post here cause everone here is really clever
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.571 / Virus Database: 361 - Release Date: 1/26/2004


--
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/


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.571 / Virus Database: 361 - Release Date: 1/26/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.571 / Virus Database: 361 - Release Date: 1/26/2004


--
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/



Re: Rsync, Cygwin and ACL support

2004-02-02 Thread Corinna Vinschen
On Jan 29 13:56, Rafael Kitover wrote:
> It seems there's no posix acl support in Cygwin, as far as I could see.

The ACL functionality in Cygwin is implemented according to the Solaris
implementation.  Vim's configure, for example, understands both, the
Solaris and the POSIX variation of ACL support, so vim is build with
ACL support on Cygwin.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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/



off topic newby question

2004-02-02 Thread c
Hi all
cam the newby here 
i have a problem completely off topic  , i cant 'net send' my own netbios
name.  Any suggestions , using xp , messanger service is on :O(
Cheers
Cameron

ps

Thought i'd post here cause everone here is really clever
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.571 / Virus Database: 361 - Release Date: 1/26/2004


--
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/