Re: Select()

2006-02-03 Thread Brian Dessent
Jim Easton wrote: > I hate to display my ignorance like this but where does one find > "how-signals-work.txt"? Google didn't help me much. http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/?cvsroot=src -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Possible bug with mmap on XP?

2006-02-03 Thread Corinna Vinschen
On Feb 2 18:16, Dave Bodenstab wrote: > I searched the mailing list archives and googled, but failed to find > anything specific to XP regarding this... > > I am using the latest version (1.5.19-4) of Cygwin. > > I had previously ported a unix prog that used mmap to Cygwin. On win2k > it works

Re: davfs for cygwin rsync?

2006-02-03 Thread Brett Serkez
> Apparently not. According to the man page "Once installed, you can use > rsync to any machine that you can access via remote shell. For remote > transfers, rsync uses ssh for its communications."... Yes, this is one way that rsync can communicate, in this mode, rsync uses ssh to start a copy o

[ANNOUNCEMENT] Updated [test]: monotone-0.26pre1-1

2006-02-03 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Version 0.26pre1-1 of monotone has been uploaded as a test version. monotone is a free distributed version control system. it provides a simple, single-file transactional version store, with fully disconnected operation and an efficient peer-to-peer s

RE: mismatched dll

2006-02-03 Thread Dave Korn
On 03 February 2006 02:34, Brian Dessent wrote: > For example, suppose that the user installs Cygwin and then later > installs CygwinBasedCommercialProduct (CBCP from here on.) The CBCP > installer plays nice, notices that the user has Cygwin installed with the > most recent DLL, so it does not i

Re: Driftnet for Windows

2006-02-03 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Re-adding cygwin mailing list: http://cygwin.com/acronyms/#PPIOSPE Top-posting reformatted: http://cygwin.com/acronyms/#TOFU >> I am new to Cygwin. I have a very basic question. >> There is a tool Driftnet available only for Unix. I want to write it

seg fault in cygwin1.dll during gdb session

2006-02-03 Thread Dierk Bolten
Hi! While playing around with an example file of the libxml2 library (2.6.22-1), I ran into problems using the gdb debugger (I used the ddd and insight front-end, but the problem also comes up when invoking gdb (GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)) directly). The example file (tree.c

Re: seg fault in cygwin1.dll during gdb session

2006-02-03 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Dierk Bolten on 2/3/2006 6:20 AM: > > when I run tree.exe on an example xml file inside bash it works fine, but > when > I start the program inside gdb (or ddd), gdb receives a sig fault > > > Program received signal SIGSEGV, Segmenta

Re: Possible bug with mmap on XP?

2006-02-03 Thread Igor Peshansky
On Fri, 3 Feb 2006, Christopher Faylor wrote: > ... One person even reported that a Cygwin bug caused OS "wrapping" and > he found himself running FreeBSD... Is that the "Blue Screen Of Life"? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_

1.5.19+: symlink bug

2006-02-03 Thread Igor Peshansky
Creating links with the same name, but with and without a .exe extension succeeds, but the one with no extension is later ignored. Here's a minimal example: $ ls -l TESTLINK* ls: TESTLINK*: No such file or directory $ ln -s /bin/ls.exe TESTLINK $ ls -l TESTLINK* lrwxrwxrwx 1 igor root 11 Feb 3

Re: 1.5.19+: symlink bug

2006-02-03 Thread Corinna Vinschen
On Feb 3 09:30, Igor Peshansky wrote: > Creating links with the same name, but with and without a .exe extension > succeeds, but the one with no extension is later ignored. Here's a > minimal example: > > $ ls -l TESTLINK* > ls: TESTLINK*: No such file or directory > $ ln -s /bin/ls.exe TESTLINK

Re: 1.5.19+: symlink bug

2006-02-03 Thread Eric Blake
> > Creating links with the same name, but with and without a .exe extension > > succeeds, but the one with no extension is later ignored. Here's a > > minimal example: > > > Did you try this with the latest coreutils 5.93-3? I just reproduced with stock cygwin 1.5.19 and coreutils 5.93-3. The

[BUG] 'chmod' broken on FAT32 drive with Cygwin 1.5.19

2006-02-03 Thread Jerry D. Hedden
'chmod' does not work on FAT32 drive under Cygwin 1.5.19 81 tmp > ls -l total 0 -rw-r--r-- 1 jhedden Domain Users 0 Feb 3 10:27 dummy.txt 82 tmp > chmod 666 dummy.txt 83 tmp > ls -l total 0 -rw-r--r-- 1 jhedden Domain Users 0 Feb 3 10:27 dummy.txt Cygwin Configuration Diagnostics Current Syste

Re: [BUG] 'chmod' broken on FAT32 drive with Cygwin 1.5.19

2006-02-03 Thread Corinna Vinschen
On Feb 3 08:42, Jerry D. Hedden wrote: > 'chmod' does not work on FAT32 drive under Cygwin 1.5.19 That's not a bug, it's a "feature" of FAT32. FAT and FAT32 have no way to keep security information. Convert your filesystem to NTFS if you want that. And, just in case somebody mentiones the 'nte

Re: 1.5.19+: symlink bug

2006-02-03 Thread Corinna Vinschen
On Feb 3 15:06, Eric Blake wrote: > > > Creating links with the same name, but with and without a .exe extension > > > succeeds, but the one with no extension is later ignored. Here's a > > > minimal example: > > > > > Did you try this with the latest coreutils 5.93-3? > > I just reproduced wit

Re: 1.5.19+: symlink bug

2006-02-03 Thread Corinna Vinschen
On Feb 3 16:47, Corinna Vinschen wrote: > On Feb 3 15:06, Eric Blake wrote: > > > > Creating links with the same name, but with and without a .exe extension > > > > succeeds, but the one with no extension is later ignored. Here's a > > > > minimal example: > > > > > > > Did you try this with th

Re: [BUG] 'chmod' broken on FAT32 drive with Cygwin 1.5.19

2006-02-03 Thread Eric Blake
> 'chmod' does not work on FAT32 drive under Cygwin 1.5.19 Welcome to the wonderful world of FAT32. (NTFS is MUCH nicer). http://cygwin.com/faq/faq-nochunks.html#faq.using.chmod There are inherently NO permissions on FAT32, with no way to add it, so cygwin fakes success on chmod without doing any

RE: unmount drive in cygwin - is it possible

2006-02-03 Thread Szakacsits Szabolcs
On 30 January 2006, Dave Korn wrote: > On 30 January 2006 18:10, Mark Bevan wrote: > > > ntfsresize v1.12.1 (libntfs 8:1:0) > > ERROR: Device '/cygdrive/e' is mounted read-write. You must 'umount' it > > first. > > > > However there doesn't seem to be a way to unmount a disk in cygwin : > > >

Re: Possible bug with mmap on XP?

2006-02-03 Thread Dave Bodenstab
On Thu Feb 2 22:55:08 2006 Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > > > Is this the way things are supposed to work on XP? > > This is a constraint of the underlying OS, yes. The old implementation > of mmap used up to 1.5.18 didn't support PROT_EXEC at all, it was just > fake. Since 1

Re: 1.5.19+: symlink bug

2006-02-03 Thread Eric Blake
> > behavior is the same, and it is cygwin doing it. It appears that when > > both TESTLINK.lnk and TESTLINK.exe.lnk exist, lstat("TESTLINK") > > is picking up the contents of TESTLINK.exe.lnk rather than the > > contents of TESTLINK.lnk. > > I have prepared a patch which eliminates this problem,

Re: Possible bug with mmap on XP?

2006-02-03 Thread Chris Taylor
Dave Bodenstab wrote: On Thu Feb 2 22:55:08 2006 Corinna Vinschen <[EMAIL PROTECTED]> wrote: Is this the way things are supposed to work on XP? This is a constraint of the underlying OS, yes. The old implementation of mmap used up to 1.5.18 didn't support PROT_EXEC at all, it was just fake

Re: Possible bug with mmap on XP?

2006-02-03 Thread Eric Blake
> > I would like to modify my program to set the required permissions. > Is the mapping between Cygwin's uname()'s sysname and XP, NT, 98SE, > 98, etc. available somewhere? Actually, if I could just tell if the > underlying windows is XP, that would be sufficient I think. The end of wincap.cc

RE: [BUG] 'chmod' broken on FAT32 drive with Cygwin 1.5.19

2006-02-03 Thread Dave Korn
On 03 February 2006 15:46, Corinna Vinschen wrote: > On Feb 3 08:42, Jerry D. Hedden wrote: >> 'chmod' does not work on FAT32 drive under Cygwin 1.5.19 > > That's not a bug, it's a "feature" of FAT32. FAT and FAT32 have no way > to keep security information. Convert your filesystem to NTFS if

Commands just hang

2006-02-03 Thread Alan Bowler
I've got a weird problem. We have a private version of C-Kermit that has some changes so that it gives me readline command recall. Recently it has started giving me strange behaviour. If I am in kermit and at the command prompt and I try to run some regular Cygwin command with an "!" like "date

Chinese file names are displayed as '??' when 'ls'

2006-02-03 Thread LiuYan
Hi all: When I using 'ls' to list the files in a directory, the chinese file names are becomes '??'. But, when I press TAB after I typed 'ls', the Chinese file names are displayed correctly. Sample outputs: - [EMAIL PROTE

RE: Commands just hang

2006-02-03 Thread Dave Korn
On 02 February 2006 21:11, Alan Bowler wrote: > I've got a weird problem. > > We have a private version of C-Kermit that has some changes so that it > gives me readline command recall. Recently it has started giving me > strange behaviour. http://www.cygwin.com/ml/cygwin-announce/2006-01/msg0

Running bash from cron

2006-02-03 Thread Cygnut (sent by Nabble.com)
I have had much success running cygwin bash scripts from cron (Kalab's crons.exe), however on new machines I install cygwin on, the bash scripts don't run at all. the scripts are run from crons like 12 12 * * * * c:\cygwin\bin\bash c:\cygwin\tmp\mybash.sh Is there some enviornment setup I am mi

Re: Commands just hang

2006-02-03 Thread Alan Bowler
Alan Bowler wrote: If I am in kermit and at the command prompt and I try to run some regular Cygwin command with an "!" like "date", all works fine. However, if I then telnet to a remote system, escape back to Kermit's command mode and type "!date" it just hangs. This used to work. Well I d

Re: Running bash from cron

2006-02-03 Thread Igor Peshansky
On Fri, 3 Feb 2006, Cygnut (sent by Nabble.com) wrote: . Thanks. > I have had much success running cygwin bash scripts from cron (Kalab's > crons.exe), however on new machines I install cygwin on, the bash > scripts don't run at all. > the scripts are run f

How to use ssh.exe from Windows XP?

2006-02-03 Thread Tawfik, Sameh E
Hi, I installed Cygwin on my Windows XP with SP2. C:\>ssh.exe -version OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005 I searched the mailing archives and browsed through the user guide, but did not find what I was looking for. All I need is just the simple sequenced instructions on how to use C:\cy

Re: Running bash from cron

2006-02-03 Thread Cygnut (sent by Nabble.com)
Thanks Igor. I already uninstalled crons and did this cygrunsrv -I cron -p /usr/sbin/cron -a -D cygrunsrv -S cron I put a simple script in there like this 51 * * * * /tmp/doit.sh ran crontab `cat the above file` crontab -l yields above net stop cron net start cron < i realize this may not be req

Cygwin 1.5.19 breaks my app

2006-02-03 Thread Jeff R. Allen
I upgraded to Cygwin 1.5.19-4 and my application started dying while initializing. As I started debugging it, I ran across the SEGV in pthread_key_create issue that has already been discussed on this list. I dutifully typed "continue", then my app got to main(). (My app uses std::string.) My app s

RE: Cygwin 1.5.19 breaks my app

2006-02-03 Thread Dave Korn
On 03 February 2006 19:22, Jeff R. Allen wrote: > I upgraded to Cygwin 1.5.19-4 and my application started dying while > initializing. As I started debugging it, I ran across the SEGV in > pthread_key_create issue that has already been discussed on this list. > > I dutifully typed "continue", t

run-1.1.6-1: argument limit problem

2006-02-03 Thread Igor Peshansky
Hi, I use a rather long (many-argument) rxvt command line in one of my shortcuts, and am apparently hitting the arbitrary 20-argument limit that run imposes. Can this limit please be increased? I'll look into submitting a patch that does away with the fixed limit on the number of arguments, but

Re: Commands just hang

2006-02-03 Thread Alan Bowler
Dave Korn wrote: On 02 February 2006 21:11, Alan Bowler wrote: I've got a weird problem. We have a private version of C-Kermit that has some changes so that it gives me readline command recall. Recently it has started giving me strange behaviour. http://www.cygwin.com/ml/cygwin-announce/

Re: Running bash from cron

2006-02-03 Thread Igor Peshansky
On Fri, 3 Feb 2006, Cygnut (sent by Nabble.com) wrote: > Thanks Igor. I already uninstalled crons and did this > > cygrunsrv -I cron -p /usr/sbin/cron -a -D > cygrunsrv -S cron Why not "/usr/bin/cron-config"? > I put a simple script in there like this > 51 * * * * /tmp/doit.sh You forgot to red

Re: How to use ssh.exe from Windows XP?

2006-02-03 Thread David JH
Tawfik, Sameh E fairisaac.com> writes: > All I need is just the simple sequenced instructions on how to use > C:\cygwin\bin\ssh.exe from Windows XP to login to a Linux server without > being prompted with a password? > > I know it can be done, but it's frustrating to just find the needed > step

Re: Re: Driftnet for Windows

2006-02-03 Thread Amruta
koool, that explains much better...thanks a lot. On Fri, 03 Feb 2006 Eric Blake wrote : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Re-adding cygwin mailing list: http://cygwin.com/acronyms/#PPIOSPE Top-posting reformatted: http://cygwin.com/acronyms/#TOFU >> I am new to Cygwin. I have a

Re: Running bash from cron

2006-02-03 Thread Cygnut (sent by Nabble.com)
thanks, I didn't know about the config script, I had to chmod group passwd and a couple of other things. Thanks again. -- View this message in context: http://www.nabble.com/Running-bash-from-cron-t1054952.html#a2747650 Sent from the Cygwin Users forum at Nabble.com. -- Unsubscribe info:

strange cygstart bug with current Cygwin versions

2006-02-03 Thread David Picton
I have encountered a strange bug when starting Microsoft Word when it is started by the cygstart command, e.g. "cygstart Index.doc", with the current version of the Cygwin dll. The symptoms are as follows: 1. Word appears to start normally, and the file can be edited on screen. 2. However, whe

Re: Select()

2006-02-03 Thread Jim Easton
> From [EMAIL PROTECTED] Fri Feb 3 01:10:29 2006 > Date: Fri, 03 Feb 2006 00:10:02 -0800 > From: Brian Dessent <[EMAIL PROTECTED]> > To: cygwin@cygwin.com > Subject: Re: Select() > Reply-To: cygwin@cygwin.com Brian Dessent wrote: > Jim Easton wrote: > > > I hate to display my ignorance like t

Re: Running bash from cron

2006-02-03 Thread Cygnut (sent by Nabble.com)
ok, I spoke too soon, it runs but when I log off it doesn't. I am admin level. There are no logs. What can I check ? -- View this message in context: http://www.nabble.com/Running-bash-from-cron-t1054952.html#a2748116 Sent from the Cygwin Users forum at Nabble.com. -- Unsubscribe info: ht

Re: strange cygstart bug with current Cygwin versions

2006-02-03 Thread Igor Peshansky
On Fri, 3 Feb 2006, David Picton wrote: > I have encountered a strange bug when starting Microsoft Word when it is > started by the cygstart command, e.g. "cygstart Index.doc", with the > current version of the Cygwin dll. > > The symptoms are as follows: > > 1. Word appears to start normally, an

Re: Running bash from cron

2006-02-03 Thread Igor Peshansky
On Fri, 3 Feb 2006, Cygnut (sent by Nabble.com) wrote: Again, . Thanks. > ok, I spoke too soon, it runs but when I log off it doesn't. I am admin > level. There are no logs. What can I check ? Check here: > Problem reports: http://cygwin.com/problems

SSH Connection Still Active

2006-02-03 Thread O. Olson
Hi, I don’t know much about networking – so if there is something obvious with this, let me know. When I ssh from Cygwin to another machine, and then close the Cygwin window without logging out, my connection to the machine still remains active – by this second part I mean that aft

Re: 1.5.19+: symlink bug

2006-02-03 Thread Corinna Vinschen
On Feb 3 16:29, Eric Blake wrote: > > > behavior is the same, and it is cygwin doing it. It appears that when > > > both TESTLINK.lnk and TESTLINK.exe.lnk exist, lstat("TESTLINK") > > > is picking up the contents of TESTLINK.exe.lnk rather than the > > > contents of TESTLINK.lnk. > > > > I have

Re: Commands just hang

2006-02-03 Thread Corinna Vinschen
On Feb 3 13:30, Alan Bowler wrote: > Alan Bowler wrote: > > > > >If I am in kermit and at the command prompt and I try > >to run some regular Cygwin command with an "!" like > >"date", all works fine. However, if I then telnet to > >a remote system, escape back to Kermit's command mode > >and ty

Re: Commands just hang, ZoneAlarm

2006-02-03 Thread Alan Bowler
Corinna Vinschen wrote: On Feb 3 13:30, Alan Bowler wrote:>> http://cygwin.com/acronyms/#WJFFM No hang here. I'm not very good at digging through archives, but I did eventually find http://sourceware.org/ml/cygwin/2006-01/msg00424.html which discusses a hang, (but no fix) when ZoneAlarm

Re: Commands just hang, ZoneAlarm

2006-02-03 Thread Brett Serkez
> I'm not very good at digging through archives, but I did eventually > find http://sourceware.org/ml/cygwin/2006-01/msg00424.html which > discusses a hang, (but no fix) Right, never found a fix. I did however find that ZoneAlarm treats localhost and 127.0.0.1 differently, atleast in handlin

Re: Cygwin 1.5.19 breaks my app

2006-02-03 Thread Brian Dessent
"Jeff R. Allen" wrote: > I upgraded to Cygwin 1.5.19-4 and my application started dying while > initializing. As I started debugging it, I ran across the SEGV in > pthread_key_create issue that has already been discussed on this list. If you want to try weeding out the "false" SIGSEGVs from the r

Re: SSH Connection Still Active

2006-02-03 Thread René Berber
O. Olson wrote: > Hi, > I don’t know much about networking – so if there is > something obvious with this, let me know. > When I ssh from Cygwin to another machine, and then > close the Cygwin window without logging out, my > connection to the machine still remains active – by > this s

cvs is broken/cygwin-bug in mkdir()?

2006-02-03 Thread Sven Köhler
Hi, i'm trying to use cygwin's cvs in server-mode for another application I get the following error, but on a linux-system, everything is fine! E cannot mkdir /tmp/cvs-serv784/. error No such file or directory Please note, that the error is: "no such file or directory" So i tested mkdir on

Re: cvs is broken/cygwin-bug in mkdir()?

2006-02-03 Thread Brian Dessent
Sven Köhler wrote: > i'm trying to use cygwin's cvs in server-mode for another application > I get the following error, but on a linux-system, everything is fine! > > E cannot mkdir /tmp/cvs-serv784/. > error No such file or directory Already discussed:

Re: cvs is broken/cygwin-bug in mkdir()?

2006-02-03 Thread Sven Köhler
>> i'm trying to use cygwin's cvs in server-mode for another application >> I get the following error, but on a linux-system, everything is fine! >> >> E cannot mkdir /tmp/cvs-serv784/. >> error No such file or directory > > Already discussed: >

Re: Problems with cygwin cvs over ssh.

2006-02-03 Thread Sven Köhler
>> Right. I missed the "." in the original message. The change that >> prompted this behavior seems to be >> . I'm assuming the >> motivation for this patch was to duplicate Linux's behavior (which doesn't >> allow trailing "." in a path pas

Re: Problems with cygwin cvs over ssh.

2006-02-03 Thread Sven Köhler
> The funny thing is that the > directory in the message *is* created before the commands are even read, > and yet cvs still complains that it can't create it because of ENOENT. I think, that ENOENT is wrong! It should be EEXIST. Perhaps cvs would ignore EEXIST, but now complains about ENOENT. I

Re: cvs is broken/cygwin-bug in mkdir()?

2006-02-03 Thread Christopher Faylor
On Sat, Feb 04, 2006 at 05:11:08AM +0100, Sven K?hler wrote: >As i demonstrated, my Linux returns the error "file already exists" >instead of cygwin's "no such file or directory". So the problem is >perhaps gone, if cygwin becomes more Linux-like once again ;-) I just checked in a fix to make cygw

Re: cvs is broken/cygwin-bug in mkdir()?

2006-02-03 Thread Igor Peshansky
On Sat, 4 Feb 2006, Sven Köhler wrote: > i'm trying to use cygwin's cvs in server-mode for another application > I get the following error, but on a linux-system, everything is fine! > > E cannot mkdir /tmp/cvs-serv784/. > error No such file or directory As Brian said, this was already repor

Re: cvs is broken/cygwin-bug in mkdir()?

2006-02-03 Thread Igor Peshansky
On Fri, 3 Feb 2006, Christopher Faylor wrote: > On Sat, Feb 04, 2006 at 05:11:08AM +0100, Sven K?hler wrote: > >As i demonstrated, my Linux returns the error "file already exists" > >instead of cygwin's "no such file or directory". So the problem is > >perhaps gone, if cygwin becomes more Linux-li

Re: cvs is broken/cygwin-bug in mkdir()?

2006-02-03 Thread Christopher Faylor
On Fri, Feb 03, 2006 at 11:44:22PM -0500, Igor Peshansky wrote: >Yes. Looks like Cygwin is too hasty in assigning the error number: Linux >only returns ENOENT if the directory doesn't already exist, but Cygwin >will always return it for a trailing dot argument. The same with rmdir, >where it woul

Re: cvs is broken/cygwin-bug in mkdir()?

2006-02-03 Thread Charles Wilson
Igor Peshansky wrote: On Sat, 4 Feb 2006, Sven Köhler wrote: i'm trying to use cygwin's cvs in server-mode for another application I get the following error, but on a linux-system, everything is fine! E cannot mkdir /tmp/cvs-serv784/. error No such file or directory As Brian said, this