Re: Windows 2003 Compatibility

2004-06-23 Thread gert_de_boer




>Issues using some Cygwin packages with W2K3 generally are related to
>security changes in W2K3 (i.e. the SYSTEM user has less permissions).
>This is typically only a problem for packages that run as services and
>need to switch user contexts (from SYSTEM to some user).  Packages
"caught"
>by this change include ssh and cron, among others.  Solutions exist in
>the package READMEs.

This seems to happen to me, when I use mutt to send mail. Sendmail does not
get startet.
But here there is no SYSTEM acount involved. I tested under the same
account as I
installed Cygwin.
Under exact the same configuration of Cygwin under XP there is no problem.
Is this
problem solvable, will it be solved soon?

I think the same problem could arise on Windows XP with the upcoming
service pack.

Regards,

Gert de Boer


--
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: Uninstalling cygwin

2004-06-23 Thread Reini Urban
Thorsten Kampe schrieb:
* [EMAIL PROTECTED] (2004-06-23 01:56 +0200)
A colleague at work is having some problems that are starting to look
as though they're due to a permission problem.
I note that the FAQ at http://cygwin.com/faq.html says that Cygwin has
no automatic uninstall facility.  Since setup lets you choose to
uninstall, is that an error in the FAQ, or have I misunderstood setup's
uninstall option?

No, you misunderstood the FAQ. With setup.exe you can uninstall
individual packages but not Cygwin. To uninstall Cygwin you have to:
first kill all running cygwin programs and services.
  killall script in distro and automatic detection of cygwin services
  still pending.
  use e.g. pskill or procexp from www.sysinternals.com
  and net stop  or cygrunsrv --remove 
rmdir /s /q C:\cygwin
login as Administrator to remove pending files and directories for which 
you have no permissions.

regdit -s rmcygwin.reg
[rmcygwin.reg]
REGEDIT4
[-HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions]
[-HKEY_CURRENT_USER\Software\Cygnus Solutions]
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
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: Debugging help with cygwin1!_alloca ()

2004-06-23 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Raul Lopez
> Sent: 22 June 2004 21:25

> Can anyone provide info on how to debug the following:
> 
> SIGSEGV, Segmentation Fault in cygwin1!_alloca () from 
> /usr/bin/cygwin1.dll
> 
> My code starts to run and then dies with this message. Any 
> help would be 
> greatly appreciated...


  Compile your code with -g and run it using gdb/insight.  When you find the
bug, fix it.


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?))

2004-06-23 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Christopher Faylor
> Sent: 23 June 2004 00:36
>
> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
> >
>


--
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: Still no working ssh

2004-06-23 Thread prosolutions
So wrote Larry Hall on Tuesday, the 22. June 2004:
> 
> At 06:35 AM 6/22/2004, you wrote:
> >I sent a post here a while back with detailed error output from ssh.  I
> >am not able to get it working.  Always I get the "Connection reset by
> >peer" error message.  Someone said to turn on debugging.  I did enable
> >it in /etc/ssh/sshd_config however the log file in /var/log remains
> >completely empty.  I do not have any new info to report but this is very
> >frustrating.  I am installing it "by the book", running ssh-host-config
> >(as Administrator), then ssh-user-config but am never able to log in,
> >even to localhost.  Interestingly, about 50% of the time it fails
> >immediately.  The other 50% of the time it asks for the password and
> >then fails.  Any help would be appreciated.  This is running under
> >Windows 2000 SP4 Deutsch.
> 
> 
> Well, you need to explain what you did and have done. A pointer to any
> previous thread in the email archives might prove sufficient for the 
> latter.
> 
> 


Yes, here is the original post including logs of three different
sessions:  http://cygwin.com/ml/cygwin/2004-06/msg00370.html





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



OpenSSH under the CYGWIN package, does not read domain groups in /etc/group file.

2004-06-23 Thread las


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



CONFIDENTIAL

2004-06-23 Thread MR IBRAHIM CHUMA
ATT,
I am ibrahim chuma the Personal Assistant to the son of late Head of
state Mohamed Abacha. I have in my possession the documents of US$10.5M (ten million, 
five hundred thousand united states dollars) which the late head of state, gen. Sani 
Abacha, approved to be paid into the account of a private company in Lebanon.
This company was recommended by Mrs. Sani Abacha who is also a
Lebanese, before the sudden death of our former head of state. Therefore I have seen 
this as an opportunity of my time and have decided to make an alternative arrangement 
towards the diversion of the fund for my selves. Note that the first phase payment has 
been made since last year. Having received approved for the last phase of 1998/99 
national reconstruction scheme projects,
I need your kind assistance providing either your company or personal
bank account where this money will be transferred. As a matter of urgency, type this 
application and e-mail it to me on the above address with your phone/fax number, 
without hesitation. Again try to type the application below with your company or your 
personal letter headed paper.

THE DIRECTOR GENERAL
FEDERAL MINSTRY OF FINANCE
FEDERAL SECRETARIAT COMPLEX.

Sir,
Applications for the change of bank Account for the transfer of
US$10,5M with contract no: FGN/NRS/914/98.
Owing to the sudden death of the head of state Gen. Sani Abacha and
other unavoidable circumstances, I/We write for the cancellation of my/our bank 
account in Taiwan.
CHINA TRUST COMMERCIAL BANK
122 TUNHUWA BRANCH TAIPEI
TAIWAN.
A/C NO: 09954441
It is my/our pleasure that your ministry and other concerned
authorities
should direct my/our payment to this new reliable bank account.

BANK NAME / ADDRESS: .
ACCOUNT NO: .
BENEFICIARY:
BANK TELEX,  TELEPHONE & FAX NO: .

I/WE look forward to receiving  a satisfactory reply of my or our
application.Thanks for your consideration.

Yours Faithfully,
(your name and signature )

As soon as this application is written , e-mail  it to me for prompt
procession as this fund is awaiting instructions from the relevant
authorities here, for further credit to your nominated bank account.
For providing your personal or company’s bank account , (You & I) shall
discuss and agree on how much you will collect from the total sum when
it enters into your account.

I expect your earliest  e-mail

Best Regards,
Mr. Ibrahim C



--
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: Still no working ssh

2004-06-23 Thread Morche Matthias
start debugging the sshd with -ddd. Keep in mind, it serves only one session, if 
started that way and look into /var/log/sshd.log and into the eventviewer. I bet that 
gives enough hints to find the cause of Your problems...

  matthias



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Behalf
> Of [EMAIL PROTECTED]
> Sent: Wednesday, June 23, 2004 12:19 PM
> To: Cygwin Mailing List
> Cc: Larry Hall
> Subject: Re: Still no working ssh
> 
> 
> So wrote Larry Hall on Tuesday, the 22. June 2004:
> > 
> > At 06:35 AM 6/22/2004, you wrote:
> > >I sent a post here a while back with detailed error output 
> from ssh.  I
> > >am not able to get it working.  Always I get the 
> "Connection reset by
> > >peer" error message.  Someone said to turn on debugging.  
> I did enable
> > >it in /etc/ssh/sshd_config however the log file in /var/log remains
> > >completely empty.  I do not have any new info to report 
> but this is very
> > >frustrating.  I am installing it "by the book", running 
> ssh-host-config
> > >(as Administrator), then ssh-user-config but am never able 
> to log in,
> > >even to localhost.  Interestingly, about 50% of the time it fails
> > >immediately.  The other 50% of the time it asks for the 
> password and
> > >then fails.  Any help would be appreciated.  This is running under
> > >Windows 2000 SP4 Deutsch.
> > 
> > 
> > Well, you need to explain what you did and have done. A 
> pointer to any
> > previous thread in the email archives might prove 
> sufficient for the 
> > latter.
> > 
> > 
> 
> 
> Yes, here is the original post including logs of three different
> sessions:  http://cygwin.com/ml/cygwin/2004-06/msg00370.html
> 
> 
> 
> 
> 
> --
> 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: Still no working ssh

2004-06-23 Thread Chris Taylor
On Wed, June 23, 2004 11:18 am, prosolutions said:
> 
> Yes, here is the original post including logs of three different
> sessions:  http://cygwin.com/ml/cygwin/2004-06/msg00370.html
> 
> 

Again, in regards to the followup Igor posted, I'm going to ask you to try this:

chown SYSTEM:SYSTEM /etc/ssh_host_*
chmod go-wrx /etc/ssh_host_*


If you have set up a root user and group, it might be better to chown SYSTEM:root

HTH

Chris

-- 
When the universe ends, the Restaurant will bring it back.


--
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: OpenSSH under the CYGWIN package, does not read domain groups in /etc/group file.

2004-06-23 Thread Morche Matthias
It does!

...
> Subject: OpenSSH under the CYGWIN package, does not read domain groups
> in /etc/group file.
...

--
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: OpenSSH under the CYGWIN package, does not read domain groups in /etc/group file.

2004-06-23 Thread Chris Taylor
 

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

Read it. Follow it. Come back when you've done what it says so we can
actually work out what you're trying to do and what isn't working..

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: Still no working ssh

2004-06-23 Thread prosolutions
So wrote Chris Taylor on Wednesday, the 23. June 2004:
> Date: Wed, 23 Jun 2004 11:32:44 +0100 (BST)
> From: Chris Taylor <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: Still no working ssh
> User-Agent: SquirrelMail/1.5.1 [CVS]
> 
> 
> On Wed, June 23, 2004 11:18 am, prosolutions said:
> > 
> > Yes, here is the original post including logs of three different
> > sessions:  http://cygwin.com/ml/cygwin/2004-06/msg00370.html
> > 
> > 
> 
> Again, in regards to the followup Igor posted, I'm going to ask you to try this:
> 
> chown SYSTEM:SYSTEM /etc/ssh_host_*
> chmod go-wrx /etc/ssh_host_*
> 
> 
> If you have set up a root user and group, it might be better to chown SYSTEM:root



chown and chmod are not working at all on this system 

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



OpenSSH under the CYGWIN package, does not read domain groups in /etc/group file.

2004-06-23 Thread las








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

Read it. Follow it. Come back when you've done what it says so we can
actually work out what you're trying to do and what isn't working..

Chris

OK.
$ cygcheck -s -v -r

Cygwin Configuration Diagnostics
Current System Time: Wed Jun 23 13:43:50 2004

Windows 2000 Server Ver 5.0 Build 2195 Service Pack 3

Path:   d:\programmer\cygwin\usr\local\bin
d:\programmer\cygwin\bin
d:\programmer\cygwin\bin
d:\programmer\cygwin\usr\X11R6\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\Program Files\UMSC
d:\programmer\cygwin\CA_APPSW
c:\TND\services\bin
c:\TND\agents\bin
c:\TND\services\tools
c:\TND\help
c:\Program Files\CA\SharedComponents\CAM\bin
d:\programmer\cygwin\bin
d:\programmer\cygwin\bin

Output from d:\programmer\cygwin\bin\id.exe (nontsec)
UID: ) GID: )

Output from d:\programmer\cygwin\bin\id.exe (ntsec)
UID: ) GID: )

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

CYGWIN = `ntsec tty'
HOME = `d:\MavenUsers\Home\LAS'
MAKE_MODE = `unix'
PWD = `/Home/LAS'
USER = `LAS'

AGENTWORKS_DIR = `C:\TND'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
AW_LANG = `English'
CAINTOS_DELETE_CONFIG = `1'
CAI_CAFT = `C:\Program Files\CA\SharedComponents\CAM'
CAI_MSQ = `C:\Program Files\CA\SharedComponents\CAM'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `TWEBREP01'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `d:'
HOMEPATH = `\MavenUsers\Home\LAS'
HOSTNAME = `twebrep01'
INFOPATH =
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/
stable/info:'
LOGNAME = `LAS'
LOGONSERVER = `\\SRVDC01'
MAIL = `/var/spool/mail/LAS'
MANPATH =
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/Home/LAS'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROGRAMFILES = `C:\Program Files'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SHELL = `/bin/bash'
SHLVL = `1'
SSH_CLIENT = `172.28.40.34 1110 22'
SSH_CONNECTION = `172.28.40.34 1110 172.28.240.110 22'
SSH_TTY = `/dev/tty0'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\TEMP'
TERM = `cygwin'
TMP = `c:\TEMP'
TZ = `RST-1RDT-2,M3.5.0/2,M10.5.0/3'
UMS_DRIVE = `C:'
UMS_HOME = `C:\Program Files\UMS'
USERDOMAIN = `NTATP'
USERNAME = `LAS'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

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 Solutions\Cygwin\mounts v2\/
  (default) = `d:\programmer\cygwin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/Home
  (default) = `d:\MavenUsers\Home'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/Maven
  (default) = `d:\Maven'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `d:\programmer\cygwin/bin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `d:\programmer\cygwin/lib'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS8141Mb  23% CP CS UN PA FC
d:  hd   N/AN/A
z:  cd   N/AN/A

d:\programmer\cygwin  /  system  textmode
d:\MavenUsers\Home/Home  system  textmode
d:\Maven  /Maven system  textmode
d:\programmer\cygwin/bin  /usr/bin   system  textmode
d:\programmer\cygwin/lib  /usr/lib   system  textmode
. /cygdrive  system  textmode,cygdrive

Found: d:\programmer\cygwin\bin\awk.exe
Found: d:\programmer\cygwin\bin\bash.exe
Found: d:\programmer\cygwin\bin\cat.exe
Found: d:\programmer\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: d:\programmer\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: d:\programmer\cygwin\bin\grep.exe
Not Found: ld
Found: d:\programmer\cygwin\bin\ls.exe
Not Found: make
Found: d:\programmer\cygwin\bin\mv.exe
Found: d:\programmer\cygwin\bin\rm.exe
Found: d:\programmer\cygwin\bin\sed.exe
Found: d:\programmer\cygwin\bin\sh.exe
Found: d:\programmer\cygwin\bin\tar.exe

   61k 2003/08/09 d:\programmer\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0
sys=4.0

RE: Still no working ssh

2004-06-23 Thread Morche Matthias
A working chown and chmod are prerequisites to make sshd work.

  matthias


...
> 
> chown and chmod are not working at all on this system 
> 
...

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



Bug fix to /proc/cpuinfo implementation

2004-06-23 Thread Tomas Ukkonen
Hi

I hope I email to correct mailing list...

It seems that '/proc/cpuinfo' doesn't report 3dnow and 3dnowext support
correctly.

Because I had been using it for recognizing processor features I looked
briefly into fhandler_proc.cc (taken freshly from cvs) and I think I
fixed the problem. The changed file compiles and *should* correctly
detect presence of 3dnow instruction support (by using AMD's 0x8000..1
extended function). I haven't have time to test it (= figure out how
build+install process actually works) because I decided to write my own
cpuid detection routines from scratch instead.

Patch is under whatever license needed to make it possible to use it.

Thanks for cygwin people for doing good job and bringing unix to
windows.

-- 
Tomas Ukkonen
[EMAIL PROTECTED]


700a701,706
> 	  
> 	  // vendor identification
> 	  bool is_amd=false, is_intel=false;
> 	  if(!strcmp((char*)vendor_id, "AuthenticAMD"))  is_amd = true;
> 	  else if(!strcmp((char*)vendor_id, "GenuineIntel")) is_intel = true;
> 	  
867a874,892
> 	  
> 	  if(is_amd){
> 		// uses AMD extended calls to check
> 		// for 3dnow and 3dnow extended support
> 		// (source: AMD Athlon Processor Recognition Application Note)
> 		
> 		unsigned int _a = 0, _b, _c, _d;
> 		cpuid(&_a,&_b,&_c,&_d, 0x8000);
> 		
> 		if(_a >= 0x8001){ // has basic capabilities
> 		  cpuid(&_a,&_b,&_c,&_d, 0x8001);
> 		  
> 		  if(_d & (1 << 30)) // 31th bit is on
> 		print (" 3dnowext");
> 		  
> 		  if(_d & (1 << 31)) // 32th bit (highest) is on
> 		print (" 3dnow");
> 		}
> 	  }
--
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: Problem to install a crontab

2004-06-23 Thread cygwin . 20 . job
I tried to reproduce the problem after changing cron_server to cronserver and create 
the crontab in the normal way. 

The problem still persists.
## How produce the problem 
# create cron server
net user cronserver password /add /yes   
net localgroup administratoren cronserver /add  
editrights -a SeAssignPrimaryTokenPrivilege -u cronserver  
editrights -a SeCreateTokenPrivilege -u cronserver  
editrights -a SeIncreaseQuotaPrivilege -u cronserver  
editrights -a SeServiceLogonRight -u cronserver  
mkpasswd -l -u cronserver >> /etc/passwd  
editrights -a SeDenyInteractiveLogonRight -u cronserver  
editrights -a SeDenyNetworkLogonRight -u cronserver  
editrights -a SeDenyRemoteInteractiveLogonRight -u cronserver  
cygrunsrv -I "CYGWINCronUndercronserver" -p /usr/sbin/cron -a -D -u cronserver -w 
password

$ crontab -e
no crontab for F.Braunbeck - using an empty one
crontab: installing new crontab
chown: Invalid argument
crontab: edits left in /tmp/crontab.2460
$ ls -l  /tmp/crontab.2460
-rw---1 F.Braunb Domänen-  166 23. Jun 15:07 /tmp/crontab.2460
$ cat  /tmp/crontab.2460
##
# MINUTEN STUNDEN TAGE MONATE WOCHENTAG PROGRAMM
0,20,40   *   **  * $HOME/bin/hold-active


###Cygwin version and os is ##
Cygwin Setup Version 2.416
cygwin 1.5.9-1
Windows XP Professional 2002 Service Pack 1

##Here come the output from cygcheck -s -v -r##

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Jun 23 15:04:23 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\Programme\cygwin\usr\local\bin
C:\Programme\cygwin\bin
C:\Programme\cygwin\bin
C:\Programme\cygwin\usr\X11R6\bin
c:\oracle\817\bin
c:\oracle\des_817\bin
c:\oracle\dev\bin
c:\oracle\des\bin
c:\Programme\sybase\OLEDB
c:\Programme\sybase\ODBC
c:\Programme\sybase\ASEP_Win32
c:\Programme\sybase\OCS-12_5\dll
c:\Programme\sybase\OCS-12_5\lib3p
c:\Programme\sybase\OCS-12_5\bin
c:\oracle\asdf\bin
C:\Programme\cygwin\usr\local\bin
C:\Programme\cygwin\bin
c:\progamme\cygwin\C
C:\Programme\cygwin\PROGRA~1\REFLEC~1
c:\Programme\Reflection
c:\Programme\Oracle\jre\1.1.7\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\oracle\dev\jdk\bin
c:\oracle\des\REPADM61\jre1_4\bin
c:\oracle\des\REPADM61\jre1_4\bin\client
c:\Programme\VShell\Bin
c:\Programme\CAST\Oracle\CAST Application Mining Suite 4.3\
c:\programme\vim\vim62
c:\Programme\apache-ant-1.5.3-1\bin
c:\Programme\j2sdkee1.3.1\bin
c:\Programme\j2sdk1.4.1\bin
h:\bin
c:\home\bin
.

Output from C:\Programme\cygwin\bin\id.exe (nontsec)
UID: 13724(F.Braunbeck) GID: 10513(Domänen-Benutzer)
=10513(Domänen-Benutzer)

Output from C:\Programme\cygwin\bin\id.exe (ntsec)
UID: 13724(F.Braunbeck) GID: 10513(Domänen-Benutzer)
=10513(Domänen-Benutzer)
12543(G_M_DPCom)
15301(G_M_DPCom_Intern)
11494(G_V_DPCom)
14763(G_V_DPCOM_neu_Projekte_und_Entwicklung)
13855(G_V_EVZ)

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

CYGWIN = `ntsec'
HOME = `c:\home'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/home'
USER = `F.Braunbeck'

-P = `c:\src\mailoptimizer'
1 = `c:\src\mailoptimizer'
ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
ANT_HOME = `C:\Programme\apache-ant-1.5.3-1'
APPDATA = `C:\Dokumente und Einstellungen\F.Braunbeck\Anwendungsdaten'
CLASSPATH = `c:\home\bin\Mocha.zip'
CLASSPATHD = `c:\home\bin\Mocha.zip'
CLASSPATH_ = 
`C:\Programme\bea\wlserver6.1\weblogic.jar;%PB_HOME%\classes;%PB_HOME%\jce1_2_1.jar;%PB_HOME%\sunjce_provider.jar;%PB_HOME%\junit.jar;%PB_HOME%\jakarta-oro-2.0.5.jar;%PB_HOME%\cfparse.jar;C:\Programme\j2sdkee1.3.1\lib\j2ee.jar;%BGROOT%\java\activation.jar;%BGROOT%\java\AgreementServer_411_130.jar;%BGROOT%\java\Agreement_411_130.jar;%BGROOT%\java\collections.jar;%BGROOT%\java\core_411_130.jar;%BGROOT%\java\core_server_411_130.jar;%BGROOT%\java\engine_411_130.jar;%BGROOT%\java\extract_411_130.jar;%BGROOT%\java\insciapi.jar;%BGROOT%\java\jakarta-regexp-1.1.jar;%BGROOT%\java\mail.jar;%BGROOT%\java\migration_411_130.jar;%BGROOT%\java\persistence_411_130.jar;h:\src\pb\src;.;C:\Programme\bea\wlserver6.1\lib\weblogic.jar;C:\Programme\xalan-j_2_2_0\bin\xalan.jar;C:\Programme\xalan-j_2_2_0\bin\xerces.jar'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Programme\Gemeinsame Dateien'
COMPUTERNAME = `PCBN0192'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVSROOT = `:pserver:[EMAIL PROTECTED]:/data/cvs'
CVSROOT_DPCOM = `:pserver:[EMAIL PROTECTED]:/data/cvs'
CVSROOT_PB = `:pserver:[EMAIL PROTECTED]:/data/cvsroot'
CVS_RSH = `/bin/ssh'
CYGWIN_HOME = `C:\Programme\cygwin'
DATUM = `20020123'
DCLASSPATH = `c:\home\bin\Moch

Re: OpenSSH under the CYGWIN package, does not read domain groups in /etc/group file.

2004-06-23 Thread Pierre A. Humblet
On Wed, Jun 23, 2004 at 01:59:26PM +0200, [EMAIL PROTECTED] wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> > Problem reports:   http://cygwin.com/problems.html
> 
> Read it. Follow it. Come back when you've done what it says so we can
> actually work out what you're trying to do and what isn't working..
> 
> Chris
> 
> OK.
> $ cygcheck -s -v -r


> 
> Output from d:\programmer\cygwin\bin\id.exe (nontsec)
> UID: ) GID: )
> 
> Output from d:\programmer\cygwin\bin\id.exe (ntsec)
> UID: ) GID: )

Something is very wrong, perhaps with your passwd and group
files. This is what the output should look like:

Output from d:\cygwin\bin\id.exe (nontsec)
UID: 11054(PHumblet) GID: 12655(Clearusers)
12655(Clearusers)

What does "id" print?

Pierre

--
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: Windows 2003 Compatibility

2004-06-23 Thread Larry Hall
At 04:24 AM 6/23/2004, you wrote:




>>Issues using some Cygwin packages with W2K3 generally are related to
>>security changes in W2K3 (i.e. the SYSTEM user has less permissions).
>>This is typically only a problem for packages that run as services and
>>need to switch user contexts (from SYSTEM to some user).  Packages
>"caught"
>>by this change include ssh and cron, among others.  Solutions exist in
>>the package READMEs.
>
>This seems to happen to me, when I use mutt to send mail. Sendmail does not
>get startet.
>But here there is no SYSTEM acount involved. I tested under the same
>account as I
>installed Cygwin.
>Under exact the same configuration of Cygwin under XP there is no problem.
>Is this
>problem solvable, will it be solved soon?
>
>I think the same problem could arise on Windows XP with the upcoming
>service pack.


You might be right.  The key is for someone seeing the problem to look 
into it or at least to provide some detailed information of the problem.
I recommend looking at  as a starting 
point for anyone interested in pursuing this.


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



Antwort: Re: Windows 2003 Compatibility

2004-06-23 Thread gert_de_boer




> You might be right.  The key is for someone seeing the problem to look
> into it or at least to provide some detailed information of the problem.
> I recommend looking at  as a starting
> point for anyone interested in pursuing this.

I did. Look at the thread:

mutt and ssmtp on Cygwin on Windows Server 2003 'child exited 127'


I could send you (or somebody else) the complete strace file) if you are
interested.


--
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: OpenSSH under the CYGWIN package, does not read domain groups in /etc/group file.

2004-06-23 Thread Larry Hall
At 07:59 AM 6/23/2004, you wrote:






>
>
>> Problem reports:   http://cygwin.com/problems.html
>
>Read it. Follow it. Come back when you've done what it says so we can
>actually work out what you're trying to do and what isn't working..
>
>Chris
>
>OK.
>$ cygcheck -s -v -r


We really prefer that you *attach* this, not inline it.







>Output from d:\programmer\cygwin\bin\id.exe (nontsec)
>UID: ) GID: )

^^^
This doesn't look good.  Did you edit this output?


>Output from d:\programmer\cygwin\bin\id.exe (ntsec)
>UID: ) GID: )

^
Ditto








>After login 1. time:
>Last login: Wed Jun 23 13:41:20 2004 from 62b038
>Your group is currently "mkgroup".  This indicates that
>the /etc/group (and possibly /etc/passwd) files should be rebuilt.
>See the man pages for mkpasswd and mkgroup then, for example, run
>mkpasswd -l [-d] > /etc/passwd
>mkgroup  -l [-d] > /etc/group
>Note that the -d switch is necessary for domain users.
>
>[EMAIL PROTECTED] ~
>$ id
>uid=11274(LAS) gid=10513(mkgroup) groups=10513(mkgroup)
>
>[EMAIL PROTECTED] ~
>$
>
>I change the line containing my account to group 547 (Power users)


And why did you do that?  The output above pretty clearly explained what
you should do if you wanted to solve this problem.  Why not just follow
the directions and solve the problem as recommended?


--
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: cygwin installer

2004-06-23 Thread Christopher Faylor
On Wed, Jun 23, 2004 at 08:50:11AM +0200, Franz Wolfhagen wrote:
>Let us move this discussion to the list - I answered directly by a
>mistake...
>
>I understand your concerns very well - in that case I would copy the
>necessary packages to a local download site - create a setup file that
>includes your specific packages only and defaults to install everything
>you have on your site.
>
>This way you will be able to maintain your own site in a controlled
>manner, but still give everybody the possibility to run with cygwin the
>way they prefer
>
>I also believe that this is MUCH,MUCH easier than developing you own
>installer btw...

Everyone seems to treat setup.exe as if it was a mysterious entity doing
obscure things.  It isn't.

The download part aside, all it does is unpack and install files (tar),
manipulate the mount table (mount), and run post-install scripts (bash).
If you want to just clone the same setup everywhere, all you should need
is tar, cygwin and mount.

0) (Assuming that an 'n:' drive is available on the server)

1) create tar.bz2 file of reference installation.  Put it on a server.

   c:\>tar cjf /cygdrive/n/stuff.tar.bz2 cygwin/bin cygwin/etc cygwin/lib whatever

2) create a "stage" directory on server and copy tar.exe, cygwin1.dll,
   and bzip2 to it.

c:\>mkdir n:\stage
c:\>copy bin\tar.exe bin\cygwin1.dll bin\bzip2.exe n:\stage

3) mount -m > n:\stage\mount.bat

4) To clone on another computer:

   c:\>set PATH=n:\stage;%PATH%
   c:\>tar xjf n:\stuff.tar.bz2
   c:\>n:\stage\mount.bat

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: Debugging help with cygwin1!_alloca ()

2004-06-23 Thread Christopher Faylor
On Wed, Jun 23, 2004 at 10:51:18AM +0100, Dave Korn wrote:
>>-Original Message-
>>From: cygwin-owner On Behalf Of Raul Lopez
>>Sent: 22 June 2004 21:25
>
>>Can anyone provide info on how to debug the following:
>>
>>SIGSEGV, Segmentation Fault in cygwin1!_alloca () from
>>/usr/bin/cygwin1.dll
>>
>>My code starts to run and then dies with this message.  Any help would
>>be greatly appreciated...
>
>Compile your code with -g and run it using gdb/insight.  When you find
>the bug, fix it.

Wait, wait!

Let me get a pencil.

Let's see...

Compile your code with -g...

uh huh, uh huh.  Got it!

--
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: Antwort: Re: Windows 2003 Compatibility

2004-06-23 Thread Larry Hall
At 10:12 AM 6/23/2004, you wrote:




>> You might be right.  The key is for someone seeing the problem to look
>> into it or at least to provide some detailed information of the problem.
>> I recommend looking at  as a starting
>> point for anyone interested in pursuing this.
>
>I did. Look at the thread:
>
>mutt and ssmtp on Cygwin on Windows Server 2003 'child exited 127'
>
>
>I could send you (or somebody else) the complete strace file) if you are
>interested.



To the extent I could follow that thread in the email archives, it
looks like you solved your cron problem but not the mail problem.
The cron problem was permissions related, since it used the SYSTEM
account which has fewer permissions by default on W2K3.  Your mail
problem isn't the same issue, since SYSTEM is not involved.  You 
could send the strace file along to the list if it's not too big
but unless it's clear where there's a problem just by looking at
it, I certainly won't be able to help that much.  I don't have W2K3
Server (or any Server) so I can't really debug this.  Did you try 
Mark Bohlman's suggestion?



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



Ok, sorry. (was Re: Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?)))

2004-06-23 Thread Christopher Faylor
On Wed, Jun 23, 2004 at 10:54:59AM +0100, Dave Korn wrote:
>> -Original Message-
>> From: cygwin-owner On Behalf Of Christopher Faylor
>> Sent: 23 June 2004 00:36
>>
>> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
>> >
>>
>

--
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: Still no working ssh

2004-06-23 Thread Christopher Faylor
On Wed, Jun 23, 2004 at 01:01:21PM +0200, [EMAIL PROTECTED] wrote:
>chown and chmod are not working at all on this system 

I'm sure a trip to http://cygwin.com/problems.html would be instructive.

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



Antwort: Re: Antwort: Re: Windows 2003 Compatibility

2004-06-23 Thread gert_de_boer




> You
> could send the strace file along to the list if it's not too big
> but unless it's clear where there's a problem just by looking at
> it, I certainly won't be able to help that much.  I don't have W2K3
> Server (or any Server) so I can't really debug this.  Did you try
> Mark Bohlman's suggestion?

I am afraid the strace file is really huge, I would not send it in a mail.

I did look at Mark Bohlman's suggestions, but I could not find anything
wrong.

The funny thing from the strace file is, that there is no reference at all
to the ssmtp program: it seems not even to try start it up. I also did a
strace on XP, and there I can see that ssmtp is called, and eventually
successfully started.

For the rest: I tested it with all the rights I could find,
as a local administrator. No luck...


Gert de Boer


--
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: cygwin installer

2004-06-23 Thread Christopher Faylor
On Wed, Jun 23, 2004 at 10:27:23AM -0400, Christopher Faylor wrote:
>On Wed, Jun 23, 2004 at 08:50:11AM +0200, Franz Wolfhagen wrote:
>>Let us move this discussion to the list - I answered directly by a
>>mistake...
>>
>>I understand your concerns very well - in that case I would copy the
>>necessary packages to a local download site - create a setup file that
>>includes your specific packages only and defaults to install everything
>>you have on your site.
>>
>>This way you will be able to maintain your own site in a controlled
>>manner, but still give everybody the possibility to run with cygwin the
>>way they prefer
>>
>>I also believe that this is MUCH,MUCH easier than developing you own
>>installer btw...
>
>Everyone seems to treat setup.exe as if it was a mysterious entity doing
>obscure things.  It isn't.
>
>The download part aside, all it does is unpack and install files (tar),
>manipulate the mount table (mount), and run post-install scripts (bash).
>If you want to just clone the same setup everywhere, all you should need
>is tar, cygwin and mount.

...and bzip2.exe, of course, and anything else I forgot.

I forgot to put in a disclaimer.  There may be pieces missing from the
steps below but this is not rocket surgery.  Maybe the only tricky part
is the "mount -m" command, which coincidentally enough was designed
just for a scenario like this.

cgf

>0) (Assuming that an 'n:' drive is available on the server)
>
>1) create tar.bz2 file of reference installation.  Put it on a server.
>
>   c:\>tar cjf /cygdrive/n/stuff.tar.bz2 cygwin/bin cygwin/etc cygwin/lib whatever
>
>2) create a "stage" directory on server and copy tar.exe, cygwin1.dll,
>   and bzip2 to it.
>
>c:\>mkdir n:\stage
>c:\>copy bin\tar.exe bin\cygwin1.dll bin\bzip2.exe n:\stage
>
>3) mount -m > n:\stage\mount.bat
>
>4) To clone on another computer:
>
>   c:\>set PATH=n:\stage;%PATH%
>   c:\>tar xjf n:\stuff.tar.bz2
>   c:\>n:\stage\mount.bat

--
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: rlogin problems

2004-06-23 Thread Corinna Vinschen
On Jun 22 11:03, Corinna Vinschen wrote:
> On Jun 21 22:50, Ulrich G?ttich wrote:
> > i have just installed the latest cygwin release (dll 1.5.10-3) on a Windows
> > 98 SE.
> > 
> > Unfortunately, rlogin does not work - neither on a remote host nor on the
> > localhost (ssh works fine and also rsh seems to work).
> > 
> > The command output is as follows:
> > 
> > rlogin 127.0.0.1
> > rlogin: read: No error
> >   rlogin: connection closed.
> > 
> > I could not find any help in the net. Do you have any idea where the problem
> > is?
> 
> Nope.  I can reproduce it on a 98 system and it doesn't happen on XP
> so I assume a 9x problem.  Debugging is necessary.

Thanks to Pierre Humblet this will be fixed in the next Cygwin version.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[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/



Re: higher-level IO very slow with cygwin1.dll 5.10 (due to set_flags?)

2004-06-23 Thread Brian Ford
On Tue, 22 Jun 2004, sevenrider wrote:

> I am just asking again about this problem in
> the hopes that someone might have anything to
> suggest. It seems that fopen is 10 to 20 times
> slower than open on my I/O operations due
> to large delays in executing a system call
> "set_flags". I will have to rewrite all my
> code and abandon most of the text utility
> programs like "grep" and "sort" unless I can
> figure out what is going on. Any help, just
> simple reference to what "set_flags" means
> in the strace dump, would be very much
> appreciated.

If you have not made any progress on this, could you send me your strace
output and a sample program if possible?  I'd like to look at it as my
time permits.  If you prefer, personal email is fine.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

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



Ok folks, move along, nothing to see here. (was Re: Ok, sorry. (was Re: Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?))))

2004-06-23 Thread Corinna Vinschen
On Jun 23 10:36, Christopher Faylor wrote:
> On Wed, Jun 23, 2004 at 10:54:59AM +0100, Dave Korn wrote:
> >> -Original Message-
> >> From: cygwin-owner On Behalf Of Christopher Faylor
> >> Sent: 23 June 2004 00:36
> >>
> >> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
> >> >
> >>
> >

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[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/



Re: higher-level IO very slow with cygwin1.dll 5.10 (due to set_flags?)

2004-06-23 Thread Brian Ford
Uh..., nevermind.  That's what I get for reading the thread backward.
Sorry for the noise.  I'll take a look.

On Wed, 23 Jun 2004, Brian Ford wrote:

> If you have not made any progress on this, could you send me your strace
> output and a sample program if possible?  I'd like to look at it as my
> time permits.  If you prefer, personal email is fine.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

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



rebaseall - was RE: cygwin installer

2004-06-23 Thread Jan Schormann
Hi,

> > If you want to just clone the same setup everywhere, all
> > you should need is tar, cygwin and mount.

I'm replicating a Cygwin installation to about 100 developer
machines here. The tar approach is cute, but slow.

I'm using robocopy, part of the "Windows 2000 Resource Kit",
to mirror the trees. Robocopy is very fast when there's nothing
to do, much faster than rsync, for example.

But: The rebase-problem still beats me. If I "rebaseall" in the
"reference installation" and than copy that to another machine,
nothing works. Rebasing again on the other machine doesn't help,
either. So I'm keeping a non-rebased copy as "reference
installation"
and "rebaseall" on the workstations ...

Any ideas?

BTW - Thanks for a great product!(tm)

Cheers,
Jan.



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



[ANNOUNCEMENT] Updated: CMake-2.0.2-1

2004-06-23 Thread William A. Hoffman
CMake 2.0.2-1 is now available on Cygwin mirrors.

There has been a new release of the official cmake (2.0.2-1).
This is a major release from 1.8.3 to 2.0.2.

Changes in CMake 2.0.2:

- Remove automatic -I for source directory with makefile generator.
  Problems caused by this can be fixed with this command:
  INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}).
  Or, you can set the CMAKE_BACKWARDS_COMPATIBILITY to 1.8.

- Fixed parsing of unquoted arguments to allow double-quotes within the
  argument.
 
- Add a STREQUAL to the IF command.

- Modules/FindFLTK.cmake: look for both Fl.h or Fl.H.

- Fix compound IF crash on unix. BUG id 917.

- Fix path problem with sub projects and IDE workspace files.
 
- Add a FindKDE module.

- Modules/FindFLTK.cmake: fix for bug 915

- BUG#891: When building CMake itself, use the new cmake to install so 
  that the current cmake can be overwritten.

- BUG: Files in top-level directory of source tree were not reported in updates log 
  for ctest.

- Fix find library so it does not find directories.



Changes in CMake 2.0.1:

- Platform independent Install (no more install-sh); supports pre install, post 
install, manifest, destdir...; faster and it works on Windows 

- Add support for SWIG

- Optional support for relative paths

- INCLUDE and FIND_PACKAGE both check CMAKE_MODULE_PATH 

- IF command supports better expression support, like IF(A AND B AND C)

- IF command now has a numeric EQUAL test

- MACRO's now support variable arguments

- FOREACH supports a RANGE of values genertor

- CMake supports an automatic pre-load cmake file in the source tree of a project.

- GET_TARGET_PROPERTY can give you the build location of a target.

- Loaded commands have a crash signal handler to detect crashes not caused by cmake.

- GET/SET_DIRECTORY_PROPERTY/PROPERTIES commands so that we can change include 
directories
  and get all sorts of things. 

- VEBOSE build option for visual studio IDE generators.

- FIND_LIBRARY and FIND_PATH now look in CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH
  environment variables in addition to and before the PATH environment variable.

- Each sub project in a project now creates a top level IDE project file so it can
  be loaded independently.

- A saftey chech was added to make sure that files written using WRITE_FILE 
  and FILE WRITE are not used as input files which can lead to infinite loops in the 
build.

- Add support for adding object files and sources. This way you can use external 
  program such as assembler or fortran to generate object files. Also star of 
  fixing: Bug #757

- add .o file as a source file.

- New REMOVE_DEFINITION command, opposite to ADD_DEFINITIONS.

- CCmake support for HOME and END keys. Also fix Bug #666, in CCMake when deleting
  something, it does not stop at the beginning of line.

- Fix externl projects for VS7 and VS6.

- New support for import of modules without specifying a path.

- New testing option to build and run an executable --build-and-test.

- Support for shared library versions on UNIX.

- SUBDIR command now supports PREORDER build option.

- Add support for file names with +-~ in them for borland compiler.

- Mac OSX bundle executable creation support with the ADD_EXECUTABLE command.

- CTest Support for in-source builds.

- CTest Skip tests that do not have defects.

- CTest new option -I that adds the ability to run a limited sub-set of the tests.

- CTest support for Valgrind and Purify.

- CTest New testing script support, that allows the nightly testing process to be 
automated.

- New Find modules: FindPHP4.cmake, FindPerlLibs.cmake, FindPike.cmake, 
FindRuby.cmake, FindSWIG.cmake, UseSWIG.cmake

- Many bug fixes and other minor changes.

See www.cmake.org for more information.

Bill Hoffman 
Cygwin CMake maintainer 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.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: Debugging help with cygwin1!_alloca ()

2004-06-23 Thread Raul Lopez
I guess I asked the wrong question:
Can anyone provide info on how to debug the following:
SIGSEGV, Segmentation Fault in cygwin1!_alloca () from /usr/bin/cygwin1.dll
My code starts to run and then dies with this message. Any help would be 
greatly appreciated...
I did compile the code with -g and used gdb, however I haven't been able to 
find the bug, I can see where the code stops running, but so far every 
variable seems to be ok.. Any suggestions on what can cause problems with 
cygwin1!_alloca () ?

Thanks.
_
Watch the online reality show Mixed Messages with a friend and enter to win 
a trip to NY 
http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/

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


I'm having a problem with cron -- can anyone help? It doesn't recognize my remote shares !!!! (was Re: Ok folks, move along, nothing to see here. (was Re: Ok, sorry. (was Re: Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?)))))

2004-06-23 Thread Ed C. Lueless
On Wed, Jun 23, 2004 at 05:05:05PM +0200, Corinna Vinschen wrote:
>On Jun 23 10:36, Christopher Faylor wrote:
>> On Wed, Jun 23, 2004 at 10:54:59AM +0100, Dave Korn wrote:
>> >> -Original Message-
>> >> From: cygwin-owner On Behalf Of Christopher Faylor
>> >> Sent: 23 June 2004 00:36
>> >>
>> >> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
>> >> >
>> >>
>> >
>
>-- 
>Corinna Vinschen  Please, send mails regarding Cygwin to
>Cygwin Co-Project Leader  mailto:[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/
>

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



No need to apologise, I was just asking is all :) (was RE: Ok, sorry. (was Re: Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?))))

2004-06-23 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Christopher Faylor
> Sent: 23 June 2004 15:36
>
> On Wed, Jun 23, 2004 at 10:54:59AM +0100, Dave Korn wrote:
> >> -Original Message-
> >> From: cygwin-owner On Behalf Of Christopher Faylor
> >> Sent: 23 June 2004 00:36
> >>
> >> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
> >> >
> >>
> >
> 


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



LOL. Here we go again... (was Re: I'm having a problem with cron -- can anyone help? It doesn't recognize my remote shares !!!! (was Re: Ok folks, move along, nothing to see here. (was Re: Ok, sorry. (was Re: Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?))))))

2004-06-23 Thread Igor Pechtchanski
On Wed, 23 Jun 2004, Ed C. Lueless wrote:

> On Wed, Jun 23, 2004 at 05:05:05PM +0200, Corinna Vinschen wrote:
> >On Jun 23 10:36, Christopher Faylor wrote:
> >> On Wed, Jun 23, 2004 at 10:54:59AM +0100, Dave Korn wrote:
> >> >> -Original Message-
> >> >> From: cygwin-owner On Behalf Of Christopher Faylor
> >> >> Sent: 23 June 2004 00:36
> >> >>
> >> >> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
-- 
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/



ncftp 3.1.7 terminal problem

2004-06-23 Thread Nic Watson
I just upgraded (via cygwin setup) ncftp 3.1.4-1 to ncftp 3.1.7-1. 
Ncftp has a nice color menu interface for bookmarks.  It no longer works 
in 3.1.7 on cygwin.  When I type "bookmarks" at the ncftp prompt, it 
prints out:

WARNING: terminal is not fully functional
Missing filename ("/bin/more -\?" for help)
When I reinstalled 3.1.4-1, it worked again, so it doesn't seem that I 
installed something else that broke it.

Keep up the good work.
Nic Watson
--
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: cygwin installer

2004-06-23 Thread Warren Young
Jonah Bossewitch wrote:
some documentation for creating a standalone windows installer 
Another way that hasn't been mentioned is to:
1) Run setup.exe to download all the packages you need.  Get it all 
working and tested.

2a) (Simple path.) Next, put the setup.exe and the download tree that 
was created on a central file share.  Then tell your students to run 
setup.exe from there and tell it to do a Local install and don't change 
anything.  Just say "Next" all the way through.  You might need to 
fiddle with setup.ini to make sure the packages you need default to 
being installed.

2b) (Harder.)  If you really need it to be totally prompt-less, there 
was a proposal once to add command line flags to setup.exe to make it 
more automatable.  You could be the one to finally implement that idea. 
 Once that is done, there are a bunch of ways you can use it, ranging 
from a simple DOS batch file to run setup.exe with the right flags, to 
using one of the various Windows installer tools to pack the whole mess 
up into a single EXE file and run setup.exe with the right flags.

Beware that if you're going to distribute binaries in this way, you will 
also have to distribute the corresponding sources.

--
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: Bug fix to /proc/cpuinfo implementation

2004-06-23 Thread Corinna Vinschen
Tomas,

On Jun 23 16:18, Tomas Ukkonen wrote:
> Hi
> 
> I hope I email to correct mailing list...

not really.  It's [EMAIL PROTECTED] usually.

> It seems that '/proc/cpuinfo' doesn't report 3dnow and 3dnowext support
> correctly.
> 
> Because I had been using it for recognizing processor features I looked
> briefly into fhandler_proc.cc (taken freshly from cvs) and I think I
> fixed the problem. The changed file compiles and *should* correctly
> detect presence of 3dnow instruction support (by using AMD's 0x8000..1
> extended function). I haven't have time to test it (= figure out how
> build+install process actually works) because I decided to write my own
> cpuid detection routines from scratch instead.

Thanks for the patch.  I've applied it.  However...

> Patch is under whatever license needed to make it possible to use it.

...it's a border case in terms of licensing.  In theory it's a bit too
big to fit into the "trivial patch" rule but since its functionality
is pretty simple, I turned a blind eye to the size.

For the future, if you want to submit more patches, please have a start
by reading http://cygwin.com/contrib.html.  It contains all information
you need as a contributor.  Signing the assignment form is (unfortunately)
most important.


Thanks again for the patch,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[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/



Re: cygwin installer

2004-06-23 Thread Patrick J. LoPresti
Warren Young <[EMAIL PROTECTED]> writes:

> 2b) (Harder.)  If you really need it to be totally prompt-less,
> there was a proposal once to add command line flags to setup.exe to
> make it more automatable.

Not just a proposal, but patches:

http://www.cygwin.com/ml/cygwin/2004-02/msg00261.html

To my knowledge, they were never applied, because the maintainers
apparently have no desire to make Cygwin suitable for non-toy
deployments.

 - Pat

--
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: cygwin installer

2004-06-23 Thread Igor Pechtchanski
On Wed, 23 Jun 2004, Patrick J. LoPresti wrote:

> Warren Young etr-usacom> writes:

.  Thanks.

> > 2b) (Harder.)  If you really need it to be totally prompt-less,
> > there was a proposal once to add command line flags to setup.exe to
> > make it more automatable.
>
> Not just a proposal, but patches:
>
> http://www.cygwin.com/ml/cygwin/2004-02/msg00261.html
>
> To my knowledge, they were never applied...
> [acid comment snipped]
>  - Pat

Turning this into a polite ping on the correct list.  Rob?
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/



improvement of regtool

2004-06-23 Thread cygwin . 20 . job
Hi Folks

Are there plans to support the REG_BINARY type with the regtool?
Are there plans to extract the type of a key from the registry with
regtool?

Regards 

Franz


--
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: Debugging help with cygwin1!_alloca ()

2004-06-23 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Raul Lopez
> Sent: 23 June 2004 16:35

> I guess I asked the wrong question:
> 
> >Can anyone provide info on how to debug the following:
> >
> >SIGSEGV, Segmentation Fault in cygwin1!_alloca () from 
> /usr/bin/cygwin1.dll
> >
> >My code starts to run and then dies with this message. Any 
> help would be 
> >greatly appreciated...
> 
> I did compile the code with -g and used gdb, however I 
> haven't been able to 
> find the bug, I can see where the code stops running, but so 
> far every 
> variable seems to be ok.. Any suggestions on what can cause 
> problems with 
> cygwin1!_alloca () ?

  Ah.  Well, the way that would go wrong would be if you'd trashed your
stack in someway with a stray pointer or by overflowing an automatic array
variable.

  However, we don't actually know whether your code was in alloca or not,
because you're presumably running with an ordinary version of the cygwin
dll, and that won't have any debugging info in it.  In that case, _alloca is
merely the nearest symbol to the eip at the point when the SEGV occurs.

  Does your code invoke alloca?


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
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: Bug fix to /proc/cpuinfo implementation

2004-06-23 Thread Chris January
> Hi
> 
> I hope I email to correct mailing list...
> 
> It seems that '/proc/cpuinfo' doesn't report 3dnow and 
> 3dnowext support correctly.
> 
> Because I had been using it for recognizing processor 
> features I looked briefly into fhandler_proc.cc (taken 
> freshly from cvs) and I think I fixed the problem. The 
> changed file compiles and *should* correctly detect presence 
> of 3dnow instruction support (by using AMD's 0x8000..1 
> extended function). I haven't have time to test it (= figure out how
> build+install process actually works) because I decided to 
> write my own
> cpuid detection routines from scratch instead.

Actually nearly all of the processor feature flags are wrong for AMD
processors. This is a known bug. Your patch looks to be going about the
right way to fix it. I'll try to add the rest of the AMD flags in.

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: Antwort: Re: Antwort: Re: Windows 2003 Compatibility

2004-06-23 Thread Larry Hall
At 10:41 AM 6/23/2004, you wrote:




>> You
>> could send the strace file along to the list if it's not too big
>> but unless it's clear where there's a problem just by looking at
>> it, I certainly won't be able to help that much.  I don't have W2K3
>> Server (or any Server) so I can't really debug this.  Did you try
>> Mark Bohlman's suggestion?
>
>I am afraid the strace file is really huge, I would not send it in a mail.
>
>I did look at Mark Bohlman's suggestions, but I could not find anything
>wrong.
>
>The funny thing from the strace file is, that there is no reference at all
>to the ssmtp program: it seems not even to try start it up. I also did a
>strace on XP, and there I can see that ssmtp is called, and eventually
>successfully started.


Well, you might be able to see something interesting if you compare the 
output of the two.


>For the rest: I tested it with all the rights I could find,
>as a local administrator. No luck...


I'd be really surprised if it were something that could be solved by 
running as just some other user (including local administrator).  I'll
wager you'll need to rebuild mutt as debug and look at it in gdb.


--
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: improvement of regtool

2004-06-23 Thread Igor Pechtchanski
On Wed, 23 Jun 2004, cygwin.20.job wrote:

> Hi Folks
>
> Are there plans to support the REG_BINARY type with the regtool?
> Are there plans to extract the type of a key from the registry with
> regtool?

Nobody announced any plans to this effect on this list, AFAIK, but feel
free to submit patches.  See  for
instructions on getting started.

FWIW, a useful functionality extension that goes along with REG_BINARY is
allowing regtool to read the data from file or stdin.
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/



setup reget

2004-06-23 Thread Elvin Peterson
Hello,
  The Cygwin setup program setup.exe does not seem to
handle partial downloads of files.  I have downloads
interrupted in the middle of a large package like
X11-fonts and the next time it starts from scratch. 
Is this behavior expected?  Or is it just a bug in my
install?  Since almost all web and ftp servers support
the REGET option shouldn't it be the default?

TIA.



__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

--
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: Still no working ssh

2004-06-23 Thread Chris Taylor

On Wed, June 23, 2004 12:01 pm, prosolutions said:
> So wrote Chris Taylor on Wednesday, the 23. June 2004:
> 
>> Date: Wed, 23 Jun 2004 11:32:44 +0100 (BST)
>> From: Chris Taylor 

Please, please _please_ read and follow what is said here:
http://www.cygwin.com/acronyms/#PCYMTNQREAIYR

Can we not feed the spammers? 

>> 
>> 
>> 
>> On Wed, June 23, 2004 11:18 am, prosolutions said:
>> 
>>> 
>>> Yes, here is the original post including logs of three different
>>> sessions:  http://cygwin.com/ml/cygwin/2004-06/msg00370.html
>>> 
>>> 
>>> 
>> 
>> Again, in regards to the followup Igor posted, I'm going to ask you to
>> try this:
>> 
>> chown SYSTEM:SYSTEM /etc/ssh_host_* chmod go-wrx /etc/ssh_host_*
>> 
>> 
>> If you have set up a root user and group, it might be better to chown
>> SYSTEM:root
>> 
> 
> 
> 
> chown and chmod are not working at all on this system
> 

Can you attach the output of cygcheck -svr > cygcheck.out as described in 
http://cygwin.com/problems.html , and also tell us which Windows you are using?
If it's NT-based (NT, 2k, XP and 2k3), the filesystem would also be useful.

Chris

NB: I am on the list, so no need to CC me in on replies (cgf ;)

-- 
When the universe ends, the Restaurant will bring it back.


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



Oops. I forgot the cygcheck output. Here it is: cygwin Configuration Diagnostics\nCurrent System Time: Wed Jun 23 14:15:29 2004\nWindows XP Professional Ver 5.1 Build 2600 Service Pack 1\n(was Re: LOL. Here we go again... (was Re: I'm having a problem with cron -- can anyone help? It doesn't recognize my remote shares !!!! (was Re: Ok folks, move along, nothing to see here. (was Re: Ok, sorry. (was Re: Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?))))))

2004-06-23 Thread Ed C. Lueless
On Wed, Jun 23, 2004 at 11:43:09AM -0400, Igor Pechtchanski wrote:
>On Wed, 23 Jun 2004, Ed C. Lueless wrote:
>
>> On Wed, Jun 23, 2004 at 05:05:05PM +0200, Corinna Vinschen wrote:
>> >On Jun 23 10:36, Christopher Faylor wrote:
>> >> On Wed, Jun 23, 2004 at 10:54:59AM +0100, Dave Korn wrote:
>> >> >> -Original Message-
>> >> >> From: cygwin-owner On Behalf Of Christopher Faylor
>> >> >> Sent: 23 June 2004 00:36
>> >> >>
>> >> >> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
>-- 
>   http://cs.nyu.edu/~pechtcha/
>  |\  _,,,---,,_   [EMAIL PROTECTED]
>ZZZzz /,`.-'`'-.  ;-;;,_   [EMAIL PROTECTED]
> |,4-  ) )-,_. ,\ (  `'-'  Igor Pechtchanski, Ph.D.
>'---''(_/--'  `-'\_) fLa.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/
>

--
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(3) rlogin problems

2004-06-23 Thread Ulrich Güttich
>> > rlogin 127.0.0.1
>> > rlogin: read: No error
>> >   rlogin: connection closed.
>> >
>> > I could not find any help in the net. Do you have any idea where the
problem
>> > is?
>>
>> Nope.  I can reproduce it on a 98 system and it doesn't happen on XP
>> so I assume a 9x problem.  Debugging is necessary.

> Thanks to Pierre Humblet this will be fixed in the next Cygwin version.

These are good news! Will this be available as snapshot?

Ulrich





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

2004-06-23 Thread Brian Dessent
Elvin Peterson wrote:

>   The Cygwin setup program setup.exe does not seem to
> handle partial downloads of files.  I have downloads
> interrupted in the middle of a large package like
> X11-fonts and the next time it starts from scratch.
> Is this behavior expected?  Or is it just a bug in my
> install?  Since almost all web and ftp servers support
> the REGET option shouldn't it be the default?

Try selecting "Use IE5 settings" instead of "Direct Connection".  I'm
not sure it will matter but I think if you do it that way it will use
the IE methods instead of the built-in ones for downloading, which may
support resuming.

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: cygwin installer

2004-06-23 Thread Hemal Pandya
Great information. I vote this be added to install doc. 

Christopher Faylor  cygwin.com> writes:

[snip Message-ID: <[EMAIL PROTECTED]>]


--
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: cygwin installer

2004-06-23 Thread John Morrison
> From: Hemal Pandya
> 
> Great information. I vote this be added to install doc. 

I wouldn't - folks appear to have enough difficulties as it is without
adding ways 'around' setup.exe (I know, for the power/advanced user it
is a technique, but...).

There's also the little problems like ensuring that
postinstall/preremove/postremove scripts are run correctly...

J.


--
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: Re(3) rlogin problems

2004-06-23 Thread Pierre A. Humblet
On Wed, Jun 23, 2004 at 08:45:45PM +0200, Ulrich G?ttich wrote:
> 
> These are good news! Will this be available as snapshot?
> 
> Ulrich

It looks like it's already in the June 23 snapshot.

Pierre

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



About shared memory (process2process or application2application comunication)

2004-06-23 Thread asterix_ve
Hi all,


Can some one help me, saying what library i can use in gcc windows to get
something like a queue in linux?

I need a inter-process comunication and don't want use physical file.

Do you know a tutorial, a library or something that help me get it?

Thanks a lot.

Juan Carlos Zambrano.


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



Inactive or unsupported "-E" option on echo

2004-06-23 Thread Patrick Samson
I got confused by the options supported in echo:

$ /bin/echo --help
Usage: /bin/echo [OPTION]... [STRING]...
Echo the STRING(s) to standard output.

  -n  do not output the trailing newline
  -e  enable interpretation of the
backslash-escaped characters
listed below
  -E  disable interpretation of those
sequences in STRINGs
  ^^^
$ /bin/echo -E toto
-E toto

However, with the bash built-in version:
$ echo -E toto
toto

In both versions, default is to not interpret
the backslash (#define V9_DEFAULT is commented out
in sh-utils/src/echo.c).
But the -E option is valid (recognized) in the
built-in version, not in the exe version.

There is likely nothing to do, on the cygwin side.
It's only a pity that the usage message does not
vary in accordance with the #define as the supported
options and behaviour do.





__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



JOE+Cygwin+WinXPpro+NTFS=no compression

2004-06-23 Thread Jeff
One never knows what's going to happen when software package features
interact. :( I'm running the latest Cygwin (1.5.10-3) on Windows XP
Pro. My HDD is formatted NTFS, with compression enabled-- that is to
say, compression is enabled for the drive, with the attribute set to be
inheritable to all directories and files created or modified on it
(it's sort-of like umask on POSIX).

I am happy to say that Joseph Allen, creator of JOE (Joe's Own Editor),
is once again developing his editor (get it at
http://sourceforge.net/projects/joe-editor/). Ver. 3.1 has recently
been released, and includes many new features. One of the unexpected
ones, however, is that it turns off the compression attribute on my
system, on any file it saves or modifies. No other Cygwin (nor any
other Windows) app does this, and no previous version of JOE (2.9.8 and
earlier) that I have built and run under this or any previous version
of Cygwin does it either. I have no clue where to even begin looking
for a solution (but I've posted this request to one of the joe-editor
boards at Sourceforge, as well). Yes, I know that it's only a nuisance
and not critical, but still..

Jeff

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



VBScript shebang?

2004-06-23 Thread SJ
Hello,
From time to time, I like use a Windows script file (VBS, JS) with 
CScript/WSH. Is it possible to execute a script as a command from the 
Cygwin shell without having to specify the 'interpreter' (CScript)? This 
would then operate like a Perl or BASH script.

I've tried using a 'shebang' approach like "#!cscript" but the 
CScript interpreter chokes. If I comment the shebang I get an error from 
the shell.

Thanks
Simon
--
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: Re(3) rlogin problems

2004-06-23 Thread Ulrich Güttich
> On Wed, Jun 23, 2004 at 08:45:45PM +0200, Ulrich G?ttich wrote:
> >
> > These are good news! Will this be available as snapshot?
> >
> > Ulrich
>
> It looks like it's already in the June 23 snapshot.
>
> Pierre

Thank you, Pierre. I have immediatetly installed the new cgwin1.dll from
your snapshot on my PC1 and made the following observations:

1. rlogin to PC2 worked fine!

2. now I installed the new cygwin1.dll also on PC2 and tried again: rlogin
from PC1 to PC2 or vice versa. Unfortunately, now we seem to have problems
on the receiver side: the rlogin fails and an ugly Windows error message (in
my case in German) comes up with a content like "Application not valid ...".
The output of "inetd -d" does not show any errors.

What's up now? Sorry for the inconvenience!

Ulrich




--
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: VBScript shebang?

2004-06-23 Thread Igor Pechtchanski
On Tue, 22 Jun 2004, SJ wrote:

> Hello,
>
>  From time to time, I like use a Windows script file (VBS, JS) with
> CScript/WSH. Is it possible to execute a script as a command from the
> Cygwin shell without having to specify the 'interpreter' (CScript)? This
> would then operate like a Perl or BASH script.
>
> I've tried using a 'shebang' approach like "#!cscript" but the
> CScript interpreter chokes. If I comment the shebang I get an error from
> the shell.
>
> Thanks
> Simon

You need to make sure the interpreter gets the Win32 path to its argument,
not POSIX.  Search the archives for "ActivePerl shebang".
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: JOE+Cygwin+WinXPpro+NTFS=no compression

2004-06-23 Thread Jeff
>system, on any file it saves or modifies. No other Cygwin (nor any
>other Windows) app does this, and no previous version of JOE (2.9.8 and
>earlier) that I have built and run under this or any previous version
>of Cygwin does it either.

I take that back-- it IS doing it on JOE 2.9.8. I haven't noticed yet
if any other Cygwin apps are resetting NTFS file attributes.

Jeff


--
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: Re(3) rlogin problems

2004-06-23 Thread Pierre A. Humblet
On Wed, Jun 23, 2004 at 11:45:02PM +0200, Ulrich G?ttich wrote:
> > On Wed, Jun 23, 2004 at 08:45:45PM +0200, Ulrich G?ttich wrote:
> > >
> > > These are good news! Will this be available as snapshot?
> > >
> > > Ulrich
> >
> > It looks like it's already in the June 23 snapshot.
> >
> > Pierre
> 
> Thank you, Pierre. I have immediatetly installed the new cgwin1.dll from
> your snapshot on my PC1 and made the following observations:
> 
> 1. rlogin to PC2 worked fine!
> 
> 2. now I installed the new cygwin1.dll also on PC2 and tried again: rlogin
> from PC1 to PC2 or vice versa. Unfortunately, now we seem to have problems
> on the receiver side: the rlogin fails and an ugly Windows error message (in
> my case in German) comes up with a content like "Application not valid ...".
> The output of "inetd -d" does not show any errors.
> 
> What's up now? Sorry for the inconvenience!

What happens when you rlogin from PC1 to PC1? That was my test and it
worked.
It's unlikely that the latest patch is causing the problem you see,
but of course there have been several changes since the last official
release.

Pierre



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



gcc install problem

2004-06-23 Thread Peter Wisnovsky
I'm trying to install gcc on my system so I can build the id-utils.

I run the setup program from the web site, pick a mirror, check "Devel/gcc".
Some other things get pulled in. I hit Next.

The .bz files are downloaded to my package dirs, and it says "Download
Complete". Yay! But the binaries don't get installed. Wah!

I try again: again, gcc is not checked (!), but it finds the cached files,
says download complete, doesn't install any binary.

I've tried this with a couple of mirrors with no luck. Am I missing
something?

Peter


--
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: cygwin installer

2004-06-23 Thread Robert Collins
On Thu, 2004-06-24 at 05:20, John Morrison wrote:
> > From: Hemal Pandya
> > 
> > Great information. I vote this be added to install doc. 
> 
> I wouldn't - folks appear to have enough difficulties as it is without
> adding ways 'around' setup.exe (I know, for the power/advanced user it
> is a technique, but...).

What Chris suggests will work now, and for the foreseeable future. It
preserves all setup.exe's tracking data, so setup.exe runs, and
postinstall scripts will be preserved.

There are a few missing gotchas - 
ssh host keys need to be regenerated
services installed with cygrunsrv need to be reinstalled
/etc/password may need to be updated depending on the windows
authentication layout

but they are all fairly simple.

Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part


Re: gcc install problem

2004-06-23 Thread Igor Pechtchanski
On Wed, 23 Jun 2004, Peter Wisnovsky wrote:

> I'm trying to install gcc on my system so I can build the id-utils.
>
> I run the setup program from the web site, pick a mirror, check "Devel/gcc".
> Some other things get pulled in. I hit Next.
>
> The .bz files are downloaded to my package dirs, and it says "Download
> Complete". Yay! But the binaries don't get installed. Wah!
>
> I try again: again, gcc is not checked (!), but it finds the cached files,
> says download complete, doesn't install any binary.
>
> I've tried this with a couple of mirrors with no luck. Am I missing
> something?
>
> Peter

Try selecting "Install from Internet", rather than "Download from
Internet" on the second setup screen.
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: gcc install problem

2004-06-23 Thread Christopher Faylor
On Wed, Jun 23, 2004 at 04:31:41PM -0700, Peter Wisnovsky wrote:
>I'm trying to install gcc on my system so I can build the id-utils.
>
>I run the setup program from the web site, pick a mirror, check "Devel/gcc".
>Some other things get pulled in. I hit Next.
>
>The .bz files are downloaded to my package dirs, and it says "Download
>Complete". Yay! But the binaries don't get installed. Wah!

So, you avoided the option that told setup to install files and just
told setup to just download files to your system.  If you want to
install files you have to use the Install option.

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



1.5.10-3 PATH environment problem

2004-06-23 Thread Jam
Hi,
(B
(BI think I found a reproduceable problem in PATH environment
(Bvariable, so I'm reporting it to here.
(B
(BProblem description:
(B
(BIf an original MS-DOS PATH environment variable has
(Bsomething like '"C:\Program Files\Test"', this part of PATH
(Bvariable is not converted under Cygwin environment.
(BHowever, this part in wrongly converted back when I called
(BMS-DOS program.  As a result, I cannot use _spawnXX
(Bfunctions correctly from my program under Cygwin environemnt
(Bif original PATH environment variable contains '"'.
(B
(BFor example, Original PATH:
(BPATH=C:\WIDNOWS;"G:\testdir"
(BCygwin PATH:
(BPATH=/usr/local/bin::/cygdrive/c/WINDOWS:"G:\testdir"
(BPATH for a program executed from Cygwin:
(BPATH=C:\cygwin\usr\local\bin;...;c:\WINDOWS;"G;C:\testdir"
(B
(BRemedy:
(B
(BRemove all '"' from original MS-DOS/Windows PATH environment
(Bvariable.
(B
(BRegards,
(B-- Kazushi
(B
(B--
(BUnsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
(BProblem reports:   http://cygwin.com/problems.html
(BDocumentation: http://cygwin.com/docs.html
(BFAQ:   http://cygwin.com/faq/

Re: Unable to open files including Korean names

2004-06-23 Thread Jaeho Shin
On Wed, 2004-06-23 21:48:38 -0400, Pierre A. Humblet wrote:
> Hello,
> 
> the problem you discovered should now be fixed in the snapshots,
> e.g. http://cygwin.com/snapshots/cygwin1-20040623.dll.bz2
> 
> Could you try it and post the result to the list?
> It may be necessry to set the codepage in CYGWIN.

Yes.  Every Korean path works fine now with the snapshot DLL.
(I haven't set any codepage in CYGWIN, as before.)


> Thanks for your help.

No problem.
Thanks for the fix.

-- 
신재호 | Jaeho Shin <[EMAIL PROTECTED]> | http://netj.org/
System Programmers' Association for Researching Computer Systems
Division of Computer Science, Department of EECS, KAIST



pgpkCpp6Wp6of.pgp
Description: PGP signature


Re: Re(3) rlogin problems

2004-06-23 Thread Ulrich Güttich
> > Thank you, Pierre. I have immediatetly installed the new cgwin1.dll from
> > your snapshot on my PC1 and made the following observations:
> >
> > 1. rlogin to PC2 worked fine!
> >
> > 2. now I installed the new cygwin1.dll also on PC2 and tried again:
rlogin
> > from PC1 to PC2 or vice versa. Unfortunately, now we seem to have
problems
> > on the receiver side: the rlogin fails and an ugly Windows error message
(in
> > my case in German) comes up with a content like "Application not valid
...".
> > The output of "inetd -d" does not show any errors.
> >
> > What's up now? Sorry for the inconvenience!
>
> What happens when you rlogin from PC1 to PC1? That was my test and it
> worked.
> It's unlikely that the latest patch is causing the problem you see,
> but of course there have been several changes since the last official
> release.

When I rlogin from PC1 to PC1 I have the same Windows error message - which
btw shows an error for "login" -  and a "closed connection" output in the
Cygwin window.
I have now recognized that "rsh PC1 ls" also fails. Again the Windows error
message comes up, now indicating an error of "bash".

Ulrich


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