Re: Cygwin Setup 99% (fwd)

2003-10-22 Thread Andy Rushton
The solution I found to setup hanging was to use the Windows Task Manager to kill the cygpath process (not the setup process) that causes the hang. This enables setup to complete the rest of the install. The reason nothing quite works for you is that setup runs post-install scripts at the end a

Cygwin/bash: need environment variables >32K

2003-10-22 Thread Klein Andre ICM N AS PD B 3
I need to set a very long environment variable CLASSPATH within Cygwin bash. But there seems to be an upper limit of 32K for environment variables!?!? Is there any way to increase this upper limit? I have attached 2 small files for demonstrating the problem. Start run.sh and the invocation of the

md5.sum errors on mirrors

2003-10-22 Thread Klaus-Peter . Kuppinger
I`ve build a local mirror of cygwin and testet the files against the md5.sum-Files in each directory. md5 from ./setup.bz2 ! ./md5.sum md5 from ./setup.exe ! ./md5.sum md5 from ./setup.exe.old ! ./md5.sum md5 from ./setup.ini stimmt nicht mit Angabe aus ./md5.sum uberein md5 from ./release/gette

block size in /proc/partitions bug?

2003-10-22 Thread Christian Damkjer George
Hi I am working on a tool which reads raw from a disk via cygwin's /dev/sdX interface, which works fine. But I need to determine the size of the disk preferably in sectors. I can not find a get ata identity functionality in cygwin, but I can live without it if I could get the disk size elsewhe

Re: Cygwin/bash: need environment variables >32K

2003-10-22 Thread Corinna Vinschen
On Wed, Oct 22, 2003 at 11:30:54AM +0200, Klein Andre ICM N AS PD B 3 wrote: > I need to set a very long environment variable CLASSPATH within Cygwin bash. > But there seems to be an upper limit of 32K for environment variables!?!? > > Is there any way to increase this upper limit? > > I have att

Re: Slight gcc -mno-cygwin inconsistency

2003-10-22 Thread Gerrit P. Haase
Thomas wrote: > Hi all, > no idea if this really belongs here or on the MinGW list: > gcc searches > #include <...> search starts here: > /usr/local/include > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include > /usr/include > /usr/include/w32api > whereas gcc -mno-cygwin searches in > #include

RE: Slight gcc -mno-cygwin inconsistency

2003-10-22 Thread Demmer, Thomas
Well, so far everything I installed was consistent in terms of header files between cygwin and mingw, so, yes until now I do want mingw to search in /usr/include. But I see your point and maybe I was just lucky (I do not want the linker to search in /usr/local/lib, though). Thanks, Ciao Tom --

RE: Cygwin/bash: need environment variables >32K

2003-10-22 Thread Klein Andre ICM N AS PD B 3
Thanks for your answer! I've tried to make the example more simple (s. attachments). It sets a long environment variable and simply invokes the cygwin rm executable afterwards... I open a DOS box and invoke the example with >bash run.sh Following problems arise in my environment: (a) environment

re: little help with dll

2003-10-22 Thread marvin
hi- first... thanks Gerrit for the help. i think i am making more progress. i never built my own dll as an export library. it is fun to try. i have a question about this code below. the way i have it set up is fox.dll is the name of the dll i want to create. fox.dll.a is (good question) i gu

Re: little help with dll

2003-10-22 Thread Gerrit P. Haase
marvin wrote: > hi- > first... thanks Gerrit for the help. i think i am > making more progress. i never built my own dll as an > export library. it is fun to try. You'll need it only if you want to link executables or other modules against the first module. > i have a question about this cod

Re: Slight gcc -mno-cygwin inconsistency

2003-10-22 Thread Gerrit P. Haase
Thomas schrieb: > Well, > so far everything I installed was consistent in terms of > header files between cygwin and mingw, so, yes until now I > do want mingw to search in /usr/include. But I see your > point and maybe I was just lucky (I do not want the linker > to search in /usr/local/lib, th

RE: Slight gcc -mno-cygwin inconsistency

2003-10-22 Thread Demmer, Thomas
Why? I am not talking about system specific stuff, but local user additions. Take for example libgsl, the GNU Scientific Library. I install the headers in /usr/local/include/gsl, the cygwin library in /usr/local/lib, and the mingw lib in /usr/local/lib/mingw. gcc -o foo prog_that_uses_gsl.c -L/

Re: ProFTPD 1.2.9rc2: please fix the readme file

2003-10-22 Thread Jason Tishler
Bruno, Would you like to become the Cygwin ProFTPD maintainer? Just like me know... :,) On Tue, Oct 21, 2003 at 10:18:54PM +0200, Grossniklaus Bruno wrote: > Problems > > proftpd-1.2.9rc2p-1/README.cygwin and > proftpd-1.2.9rc2p-1/CYGWIN-PATCHES/README > are not in sync. Unfortunately,

Re: ProFTPD 1.2.9rc2: Hang using ftp localhost

2003-10-22 Thread Jason Tishler
Bruno, On Tue, Oct 21, 2003 at 10:22:42PM +0200, Grossniklaus Bruno wrote: > The problem is the timing. Since the hang does less show while stderr > goes to the term, I doubt that it is possible to reproduce while > proftpd is running in gdb. > > How can I debug this problem? Attach gdb to the P

Re: Slight gcc -mno-cygwin inconsistency

2003-10-22 Thread Gerrit P. Haase
Thomas schrieb: > Why? > I am not talking about system specific stuff, but > local user additions. To add Cygwin specific header && library files there are the paths /usr/local/include && /usr/local/lib, to add MinGW specific files there are the paths /usr/local/include/mingw && /usr/local/lib/mi

Re: ProFTPD 1.2.9rc2: Hang using ftp localhost

2003-10-22 Thread Grossniklaus Bruno
Hello Jason >> How can I debug this problem? >Attach gdb to the ProFTPD server *after* it is hung. OK. I'll try ... Regards Bruno -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/d

Re: ProFTPD 1.2.9rc2: please fix the readme file

2003-10-22 Thread Grossniklaus Bruno
Hello Jason >Would you like to become the Cygwin ProFTPD maintainer? Just like me >know... :,) Thanks for your great work Jason. Unfortunately my free time is currently quite spare... >> Problems >> >> proftpd-1.2.9rc2p-1/README.cygwin and >> proftpd-1.2.9rc2p-1/CYGWIN-PATCHES/README

Re: pwd option to return windows path

2003-10-22 Thread Christopher Faylor
On Tue, Oct 21, 2003 at 09:31:23PM -0700, Edward Peschko wrote: >I never said that the msys tools are 'great'. It just seems to be the >standard that people have adhered to for the win32 side of things. My >point is that talking about merging the two is impossible without >considering how mingw w

Re: OLOCA: YANALATEYHSMBSI pronounciation

2003-10-22 Thread Igor Pechtchanski
Please don't send personal email with Cygwin questions and suggestions. All Cygwin-related correspondence should go to the main Cygwin list at . More below. On Wed, 22 Oct 2003, La Monte H.P. Yarroll wrote: > In http://cygwin.com/acronyms/#YANALATEYHSMBSI you wrote: > > "Don't try to pronounce it

RE: Cygwin/bash: need environment variables >32K

2003-10-22 Thread Buchbinder, Barry (NIH/NIAID)
It may be a command line problem. I constructed, in a directory with a lot of files, a 90k environmental variable by doing $ T=`echo *` Then $ echo $T and $ echo $T | wc showed that bash environmental variables can be that large and that the command line can handle them. $ cp $T target_dir

Re: block size in /proc/partitions bug?

2003-10-22 Thread Christopher Faylor
On Wed, Oct 22, 2003 at 11:54:59AM +0200, Christian Damkjer George wrote: >Hi > >I am working on a tool which reads raw from a disk via cygwin's /dev/sdX >interface, which works fine. But I need to determine the size of the >disk preferably in sectors. I can not find a get ata identity >function

Re: ProFTPD 1.2.9rc2: please fix the readme file

2003-10-22 Thread Jason Tishler
Bruno, On Wed, Oct 22, 2003 at 03:46:44PM +0200, Grossniklaus Bruno wrote: > >Would you like to become the Cygwin ProFTPD maintainer? Just like me > >know... :,) > > Thanks for your great work Jason. You are welcome. > Unfortunately my free time is currently quite spare... Likewise. > >Unfor

re: little dll help

2003-10-22 Thread marvin
Thanks Gerrit! It is working now :-) I started out a couple of days ago reading about tcl/tk in another couple of newsgroups. I then found about swig and liked it because i took some introductory c++ in college and didnt want to lose C++ totally in any project i might work on. Now i can export s

/proc/partitions question

2003-10-22 Thread erik . cumps
Sorry, lost the previous mail so can't continue the thread. I took a look at the sources as cgf suggested and have the following question: in fhandler_proc.cc revision 1.36, in function format_proc_partitions() : after getting the drive geometry with 'IOCTL_DISK_GET_DRIVE_GEOMETRY' the size of t

Re: OpenGL and Cygwin

2003-10-22 Thread Andre Bleau
suresh at research dot att dot com wrote: As per Andre's suggestion, i compiled and ran the attached program. Below are the outputs under different system settings: All programs run from tcsh inside cygwin. My LD_LIBRARY_PATH also had my current dir, because I had the nvidia glut32.dll and glut32.

[ANNOUNCEMENT] Updated Cygwin Package: fetchmail-6.2.5-1

2003-10-22 Thread Jason Tishler
New News: === I have updated the version of fetchmail to 6.2.5-1. The tarballs should be available on a Cygwin mirror near you shortly. Old News: === Fetchmail is a remote mail retrieval and forwarding utility intended for use over on-demand TCP/IP links, like SLIP or PPP connections. F

Michael Kelly is on leave.

2003-10-22 Thread Jeanine Bright
I will be out of the office starting 20/10/2003 and will not return until 03/11/2003. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygw

[ANNOUNCEMENT] Updated Cygwin Package: proftpd-1.2.9rc3-1

2003-10-22 Thread Jason Tishler
New News: === I have updated the version of ProFTPD to 1.2.9rc3-1. The tarballs should be available on a Cygwin mirror near you shortly. Old News: === ProFTPD is an enhanced FTP server with a focus toward simplicity, security, and ease of configuration. It features a very Apache-like co

cygwin dll makes gnu tar think that directories have been renamed?

2003-10-22 Thread George Carrette
The test-gnu-tar-inc.sh file tests the --listed-incremental backup and restore features of gnu tar. These features worked well in a previous version of CYGWIN. Shame on me for not being able to tell you which one, but it was one available in August 2003 but before September 2003, when I upgraded a

RE: pwd option to return windows path

2003-10-22 Thread Vince Hoffman
> > P.S. Speaking of special treatment, how come Cygwin is the only free > software project whose maintainers say "PTC" instead of "PGA"? How > naive all those other maintainers must be! I remember it used to be PGA until the day CFG coined PTC on a particualy mean day. (I could hear the yelp

Re: pwd option to return windows path

2003-10-22 Thread Shankar Unni
Edward Peschko wrote: >> This is your second warning on this subject, btw. > > Chris, > what are your warnings? The warning is that further mail from you may be automatically kill-filed by most readers of this list, once they get the impression that you have absolutely no idea whatsoever of the

Calling bash shell from W2K batch script

2003-10-22 Thread Jared Ingersoll
Hi, I was wondering if someone could provide the syntax for calling a cygwin shell script from the Windows 2000 cmd prompt. I'm trying to do something like this: d:\>start c:\cygwin\bin\bash -c "./script1.sh" But it doesn't seem to be working quite right, some pipes and such don't work and I can

Re: Calling bash shell from W2K batch script

2003-10-22 Thread Christopher Faylor
On Wed, Oct 22, 2003 at 12:19:13PM -0400, Jared Ingersoll wrote: >Hi, > >I was wondering if someone could provide the syntax for calling a cygwin >shell script from the Windows 2000 cmd prompt. I'm trying to do something >like this: > >d:\>start c:\cygwin\bin\bash -c "./script1.sh" > >But it doesn'

Re: Calling bash shell from W2K batch script

2003-10-22 Thread Igor Pechtchanski
On Wed, 22 Oct 2003, Jared Ingersoll wrote: > Hi, > > I was wondering if someone could provide the syntax for calling a cygwin > shell script from the Windows 2000 cmd prompt. I'm trying to do something > like this: > > d:\>start c:\cygwin\bin\bash -c "./script1.sh" > > But it doesn't seem to be w

Re: OLOCA: YANALATEYHSMBSI pronounciation

2003-10-22 Thread La Monte H.P. Yarroll
Igor Pechtchanski wrote: Please don't send personal email with Cygwin questions and suggestions. All Cygwin-related correspondence should go to the main Cygwin list at . Noted. I suggest you change the note at the bottom of http://cygwin.com/acronyms/ soliciting Cygwin comments via personal e

Re: OLOCA: YANALATEYHSMBSI pronounciation

2003-10-22 Thread Igor Pechtchanski
On Wed, 22 Oct 2003, La Monte H.P. Yarroll wrote: > Igor Pechtchanski wrote: > > >Please don't send personal email with Cygwin questions and suggestions. > >All Cygwin-related correspondence should go to the main Cygwin list at > >. > > Noted. I suggest you change the note at the bottom of > http

Re: cygwin dll makes gnu tar think that directories have been renamed?

2003-10-22 Thread Christopher Faylor
On Wed, Oct 22, 2003 at 11:43:16AM -0400, George Carrette wrote: >The test-gnu-tar-inc.sh file tests the --listed-incremental backup and >restore features of gnu tar. > >These features worked well in a previous version of CYGWIN. Shame on >me for not being able to tell you which one, but it was on

Can't link to libws2_32.a

2003-10-22 Thread Takeshi Honda
Hi, (B (BI have a problem to compile my socket program. (BI want to use winsock2.h, but when I compiled my program, (BI got the following errors. (B (B%gcc -lwsock32 -lws2_32 main.cpp (Bmain.cpp: undefined reference to [EMAIL PROTECTED]' (Bmain.cpp: undefined reference to [EMAIL PROTECTED]'

Re: Calling bash shell from W2K batch script

2003-10-22 Thread Andrew DeFaria
Jared Ingersoll wrote: Hi, I was wondering if someone could provide the syntax for calling a cygwin shell script from the Windows 2000 cmd prompt. I'm trying to do something like this: d:\>start c:\cygwin\bin\bash -c "./script1.sh" But it doesn't seem to be working quite right, some pipes and s

Re: Can't link to libws2_32.a

2003-10-22 Thread Brian Ford
On Thu, 23 Oct 2003, Takeshi Honda wrote: > I want to use winsock2.h, but when I compiled my program, > I got the following errors. > > %gcc -lwsock32 -lws2_32 main.cpp > First off, libraries go after C/C++ files, so: gcc main.cpp -lwsock32 -lws2_32 Secondly, why are you trying to use winsock in

SSH into XP: mapped network drives disappeared!

2003-10-22 Thread Alexis Huxley
The short version - How do I stop XP from hiding my mapped network drives from me, when I make a slogin to XP using Cygwin+SSH? The long version Hi :-) I've hunted a lot on the web and mailing list archives, so I know a lot of people have had this same problem,

[bug] tar (1.13.25-3) -g --recursive always archieve files in subdirectories

2003-10-22 Thread Ilya Pobelov
Hello! I am making incremental backup of my data using script, containing following line: tar -g $ARCHNAME.list -X $ARCHNAME.exclude --recursive -c $DIRECTORY | bzip2 -9 > $BACKUPDIR/$ARCHNAME-$BACKUPTIME.tar.bz2 to archieve my data. This expected to create incremental archieves, and it works

Re: SSH into XP: mapped network drives disappeared!

2003-10-22 Thread Larry Hall
At 02:31 PM 10/22/2003, Alexis Huxley you wrote: >One of the Cygwin components installed was SSH. I configured the server as >explained at http://tech.erdelynet.com/cygwin-sshd.html. Ah, common problem. You've queried the wrong list. See . BTW, this works fine t

Re: SSH into XP: mapped network drives disappeared!

2003-10-22 Thread Larry Hall
At 02:55 PM 10/22/2003, Larry Hall you wrote >At 02:31 PM 10/22/2003, Alexis Huxley you wrote: > > > > >>One of the Cygwin components installed was SSH. I configured the server as >>explained at http://tech.erdelynet.com/cygwin-sshd.html. > > > >Ah, common problem. You've queried the wrong list.

Re: Serious problem with win32 pthreads crashing and c++ class

2003-10-22 Thread Thomas Pfaff
Arash Partow wrote: The prototype initially creates 700 threads all of which are contained in a vector (threadList), each thread does some "simple" string processing (basically tokenize a string) and then exists. On completion of the thread, the thread sets its own state in the thread-class to dead

Re: Perl page fault - old news ??

2003-10-22 Thread John
Hallo Gerrit, (Whats the spelling of "vie geits" (what's up)?) Thanks for the reply. Cygwin is amazing and fun. Yes - W98 is a umm flakey (I am being nice). XP is way better (duh). Anyway, I'll try the updated version. - Original Message - From: "Gerrit P. Haase" <[EMAIL PROTECT

RE: cygwin performance

2003-10-22 Thread Hannu E K Nevalainen
> From: Linda W. > Sent: Wednesday, October 22, 2003 12:49 AM > >>Perhaps it is unavoidable, but I see things like find doing 2 > >>'opens' /file when it is searching for files...can't it just do a > >>'stat' of some nature? does it need to do an open, let alone 2? I believe that the major culp

RE: Cygwin Setup 99% (fwd)

2003-10-22 Thread Hannu E K Nevalainen
> From: Rao, Shrisha > Sent: Tuesday, October 21, 2003 8:12 PM Igor: > > It was shown to be a bash bug (pipes left open on spawn, see > > ). A new > bash-2.05b-16 > > should be on some mirrors already. Rao: > It is, and I downloaded and installe

Re: pwd option to return windows path

2003-10-22 Thread Patrick J. LoPresti
Christopher Faylor <[EMAIL PROTECTED]> writes: > On Tue, Oct 21, 2003 at 09:31:23PM -0700, Edward Peschko wrote: > > >maybe then having your 'finger on the button' isn't the right response? > >Maybe tolerance is in order? maybe letting people voice their opinions > >without a verbal smackdown? A

RE: OT: Using sed - guru help wanted.

2003-10-22 Thread Hannu E K Nevalainen
> From: erik dot cumps at icos in belgium > Sent: Tuesday, October 21, 2003 11:36 AM Hmm... email-address visible; you ought to conceal it a bit more. Otherwise you'll eventually end up receiving spam. It has started over here :-7 > Hi guys, > > sorry if this thread was dead but couldn't resist

Re: cygwin performance

2003-10-22 Thread Christopher Faylor
On Wed, Oct 22, 2003 at 09:40:10PM +0200, Hannu E K Nevalainen wrote: >> From: Linda W. >> Sent: Wednesday, October 22, 2003 12:49 AM > >> >>Perhaps it is unavoidable, but I see things like find doing 2 >> >>'opens' /file when it is searching for files...can't it just do a >> >>'stat' of some natur

RE: Cygwin Setup 99% (fwd)

2003-10-22 Thread Rao, Shrisha
On October 22, 2003, Hannu E K Nevalainen wrote: > Rao: > > It is, and I downloaded and installed it, but the problems continue > > (kill -9 ... and latex still hang). > > Might it be that there was /etc/postinstall/*sh scripts that didn't get > executed - or maybe something went wrong? > > I'

Re: cygwin performance

2003-10-22 Thread Pierre A. Humblet
Christopher Faylor wrote: > > On Wed, Oct 22, 2003 at 09:40:10PM +0200, Hannu E K Nevalainen wrote: > >> From: Linda W. > >> Sent: Wednesday, October 22, 2003 12:49 AM > > > >> >>Perhaps it is unavoidable, but I see things like find doing 2 > >> >>'opens' /file when it is searching for files...can

Problem w/ cron

2003-10-22 Thread Jeremy A Redburn
Hi there, I am having permissions trouble with the latest cron on Cygwin. I am running WindowsXP and have an ssh identity file owned by me: -rw---1 Administ None 672 Oct 22 16:15 identity The problem is that I do not seem to have read access to this file when running a command u

Re: SSH into XP: mapped network drives disappeared!

2003-10-22 Thread Andrew DeFaria
Alexis Huxley wrote: The short version - How do I stop XP from hiding my mapped network drives from me, when I make a slogin to XP using Cygwin+SSH? Short answer: Use UNC paths instead of mapped drives. The long version Hi :-) I've hunted a lot on the web and mai

Re: SSH into XP: mapped network drives disappeared!

2003-10-22 Thread Corinna Vinschen
On Wed, Oct 22, 2003 at 01:43:10PM -0700, Andrew DeFaria wrote: > Alexis Huxley wrote: > >I modified my $HOME in /etc/passwd to be /cygdrive/y, which the XP PC has > >mapped to my home directory in the storage server. My ~/.profile > >sufficiently OS-independent, that this works under Cygwin/XP a

Re: cygwin performance

2003-10-22 Thread Christopher Faylor
On Wed, Oct 22, 2003 at 04:41:42PM -0400, Pierre A. Humblet wrote: >>Although, hmm. I just tried this and bash still executed a file that >>should be non-executable. I'll have to see why. > >bash walks down the PATH looking for anything that matches the name. >It remembers the first match but kee

CreateFileMapping bug

2003-10-22 Thread Guilherme Salgado
Hi, I need cygwin to run tinderbox3 on a win2k box, but i can't find any binary release/snapshot of cygwin without the CreateFileMapping bug. I need it to be binary because i don't have a compiler on this machine. There's any place i can find this? Thanks, Guilherme Salgado -- Unsubscribe info

Re: Cygwin/rsync Hang Problem Testing Results

2003-10-22 Thread Mark Thornton
Paul Thompson wrote: People of cygwin & rsync, I recently attempted to get cygwin and rsync working to solve a backup/mirroring need in my computer life. Well, as you might guess, I ran into a little but of trouble. Strangely enough, rsync seemed to be regularly hanging when I attempted to do

RE: Cygwin Setup 99% (fwd)

2003-10-22 Thread Hannu E K Nevalainen
> From: Andy Rushton > Sent: Wednesday, October 22, 2003 11:11 AM > I presume that killing this process will still cause something to > misbehave because some part of the install has failed - but I haven't > found what that problem might be yet. The problem _has_ been found, it was bash misbehavi

Re: CreateFileMapping bug

2003-10-22 Thread Brian Ford
On Wed, 22 Oct 2003, Guilherme Salgado wrote: > I need cygwin to run tinderbox3 on a win2k box, but i can't find any > binary release/snapshot of cygwin without the CreateFileMapping bug. > I need it to be binary because i don't have a compiler on this machine. > > There's any place i can find thi

rxvt mouse pointer selection: how do you get "/" recognized as word boundary?

2003-10-22 Thread Tom Rodman
Consider the path: /tmp/xxx/yyy/zzz Within rxvt I want to doubleclick on "xxx" with the result that only "xxx" is highlighted. Unfortunately the complete path highlights. Interestingly enough it works with "\", ie: \tmp\xxx\yyy\zzz Is there a switch to fix this? __ thanks/regards, Tom Ro

Re: cygwin performance

2003-10-22 Thread Linda W.
Pierre A. Humblet wrote: Christopher Faylor wrote: On Wed, Oct 22, 2003 at 09:40:10PM +0200, Hannu E K Nevalainen wrote: From: Linda W. Sent: Wednesday, October 22, 2003 12:49 AM Perhaps it is unavoidable, but I see things like find doing 2 'opens' /file when it is searching for

Re: cygwin dll makes gnu tar think that directories have been renamed?

2003-10-22 Thread George Carrette
Sorry about that test script, it tests all sorts of incremental backup features. Here is one that just tests the base "Directory has been renamed" issue. rm -f /tmp/new.list tar --listed-incremental=/tmp/new.list --create --file=file1.tar /etc cp /tmp/new.list /tmp/new.list-old tar --listed-increm

Re: Problem w/ cron

2003-10-22 Thread Brian Ford
On Wed, 22 Oct 2003, Jeremy A Redburn wrote: > I am having permissions trouble with the latest cron on Cygwin. I am > running WindowsXP and have an ssh identity file owned by me: > > -rw---1 Administ None 672 Oct 22 16:15 identity > > The problem is that I do not seem to have read

Re: CreateFileMapping bug

2003-10-22 Thread Pierre A. Humblet
Guilherme Salgado wrote: > > Hi, > > I need cygwin to run tinderbox3 on a win2k box, but i can't find any > binary release/snapshot of cygwin without the CreateFileMapping bug. > I need it to be binary because i don't have a compiler on this machine. All reported problems with CreateFileMapping

Re: cygwin performance

2003-10-22 Thread Linda W.
Christopher Faylor wrote: On Tue, Oct 21, 2003 at 11:42:21AM -0700, Linda W. wrote: Has anyone done any testing on performance of cygwin utils over their native win counterparts? Cygwin is slower. Cygwin is known to be slower. And, if you give it a few minutes of thought it is obvious

Re: Problem w/ cron

2003-10-22 Thread Pierre A. Humblet
Jeremy A Redburn wrote: > > Hi there, > > I am having permissions trouble with the latest cron on Cygwin. I am > running WindowsXP and have an ssh identity file owned by me: > > -rw---1 Administ None 672 Oct 22 16:15 identity It's not clear if the owner is Administrator or Admi

C in cygwin under WinNT and XP

2003-10-22 Thread Francisco Iacobelli
Hi. I have a program in C that reads a config file. I "make" the program under cygwin in two machines: one NT box and one XP. both cygwin installations are the same. Unmodified (i.e. have not meddled with different versions of applications). on NT the program runs great. On XP the program hangs whe

[ANNOUNCEMENT] Updated Cygwin Package: mutt-1.4.1-1

2003-10-22 Thread Gary R. Van Sickle
WARNING: THIS VERSION, LIKE ALL PREVIOUS VERSIONS, WILL OVERWRITE /etc/Muttrc and /etc/mime.types. IF YOU'VE MADE CHANGES TO EITHER FILE, THEY WILL BE LOST. If you haven't made any changes to these files, never mind. In any case, your ~/Muttrc and ~/mime.types, if any, will not be touched. Mutt

RE: Cygwin Setup 99% (fwd)

2003-10-22 Thread Hannu E K Nevalainen
> From: Rao, Shrisha > Sent: Wednesday, October 22, 2003 10:25 PM > To: Hannu E K Nevalainen Please, don't send it to me personally - I do read the list. > But you're right; the > postinstall hangs at /etc/postinstall/base-files-mketc.sh, > .../texmf**.sh, and so on. (I've seen postings about

Re: SSH into XP: mapped network drives disappeared!

2003-10-22 Thread Larry Hall
At 04:43 PM 10/22/2003, Andrew DeFaria you wrote: >Alexis Huxley wrote: > >> >>'net use' before the 'slogin' shows the Y: drive, and obviously I can cd to >>/cygdrive/y. 'net use' after 'slogin' shows Y: is there but "not available", and >>attempting to cd to /cygdrive/y obviously fa

Limit to length of command line arguments? (was Cygwin/bash: need environment variables >32K)

2003-10-22 Thread Buchbinder, Barry (NIH/NIAID)
While doing some other work, I've come to the impression that this is not a fileutils problem. In a directory with ~1700 htm files whose names take 37k, $ zip archive_name *.htm bash: /bin/zip: Invalid argument but $ echo * | tr ' ' '\n' | zip t.zip -@ worked fine. I did it again using sh. $

RE: cygwin performance

2003-10-22 Thread guenter strubinsky
Thank you for the perl tip, Linda. I would have never dreamed (ergo never tried) that the big-butt (PG rated term) perl engine would run faster than a chain of miniature programs. Well, back to the good ol' perl manuals. with kind regards günter strubinsky <[EMAIL PROTECTED]> p.s. when I was a

Re: SSH into XP: mapped network drives disappeared!

2003-10-22 Thread Andrew DeFaria
Corinna Vinschen wrote: On Wed, Oct 22, 2003 at 01:43:10PM -0700, Andrew DeFaria wrote: Alexis Huxley wrote: I modified my $HOME in /etc/passwd to be /cygdrive/y, which the XP PC has mapped to my home directory in the storage server. My ~/.profile sufficiently OS-independent, that this wor

Re: rxvt mouse pointer selection: how do you get "/" recognized as word boundary?

2003-10-22 Thread Andrew DeFaria
Tom Rodman wrote: Consider the path: /tmp/xxx/yyy/zzz Within rxvt I want to doubleclick on "xxx" with the result that only "xxx" is highlighted. Unfortunately the complete path highlights. Interestingly enough it works with "\", ie: \tmp\xxx\yyy\zzz Is there a switch to fix this? man rxvt

Re: SSH into XP: mapped network drives disappeared!

2003-10-22 Thread Andrew DeFaria
Larry Hall wrote: At 04:43 PM 10/22/2003, Andrew DeFaria you wrote: 'net use' before the 'slogin' shows the Y: drive, and obviously I can cd to /cygdrive/y. 'net use' after 'slogin' shows Y: is there but "not available", and attempting to cd to /cygdrive/y obviously fails. I've read, and inde

Re: Serious problem with win32 pthreads crashing and c++ class

2003-10-22 Thread Arash Partow
Hi Ross, I'm using the Cygwin tool-chain and use the cygwin G++ (3.3.1 cygming special) to compile, hence ending up with the unix emulation layer. I don't use mingw32 cause of my porting requirements to *nixs. I've made the attr variable global within the class in its private section, however the

Re: Serious problem with win32 pthreads crashing and c++ class

2003-10-22 Thread Arash Partow
Hi Thomas, You don't know how much of a relief it is for me to hear that its not my fault (or not entirely anywayz ;)). I'm planning on updating the test-case code so that it will capture a ctrl+c and terminate all remaining threads in a graceful manner, and also setup the option to enter a comman

Re: Serious problem with win32 pthreads crashing and c++ class

2003-10-22 Thread Arash Partow
Hi Ross, What you've just said now really baffeles me cause, the pthread-win32 page is being hosted by red-hat which makes cygwin: http://sources.redhat.com/pthreads-win32/ or is this address just a mirror from somewhere else? In any case I've obtained the cygwin version of gcc and other tool chai

select() doesn't respond

2003-10-22 Thread Takeshi Honda
I got linux packet monitoring program, (Band succeeded to build. (B (BBut when I tried to run, select() doens't respond and (Bprogram stops. (B (BI use cygwin 1.5.5-1. (B (BWhat can I do for this? (BPlease let me know. (B (BThe source code is as follows. (B (B#include (B#include (B

Re: Serious problem with win32 pthreads crashing and c++ class

2003-10-22 Thread Larry Hall
At 10:02 PM 10/22/2003, Arash Partow you wrote: >Hi Ross, > >What you've just said now really baffeles me cause, the pthread-win32 page >is being hosted by red-hat which makes cygwin: >http://sources.redhat.com/pthreads-win32/ or is this address just a mirror >from somewhere else? Red Hat hosts

Re: select() doesn't respond

2003-10-22 Thread Brian Dessent
Takeshi Honda wrote: >if ((sock=socket(AF_INET,SOCK_RAW,IPPROTO_TCP))==-1){ > printf("Can not create RAW socket.\n"); > return -1; > } > > FD_ZERO(&read_fd); > FD_SET(sock,&read_fd); > select(FD_SETSIZE,&read_fd,NULL,NULL,NULL); // program > stop here You create a socket but

RE: Cygwin Setup 99% (fwd)

2003-10-22 Thread Igor Pechtchanski
On Thu, 23 Oct 2003, Hannu E K Nevalainen wrote: > Start and run setup until it hangs, then attempt to launch a bash shell: > [snip] > Now enter > [snip] > $ tail -150 /var/log/setup.log >/setup-log-tail.txt > [snip] > Now, bring forth the windows Task manager and kill setup.exe > [snip] Hannu,

RE: Limit to length of command line arguments? (was Cygwin/bash: need environment variables >32K)

2003-10-22 Thread Jörg Schaible
Hi Barry, Buchbinder, Barry (NIH/NIAID) wrote on Thursday, October 23, 2003 12:43 AM: > While doing some other work, I've come to the impression that > this is not a fileutils problem. In a directory with ~1700 > htm files whose names take 37k, > $ ls * > bash: /bin/ls.exe: Invalid argument >