Re: gamin-0.1.7

2006-02-15 Thread Lapo Luchini
Dave wrote: if (strcmp(fsname, FAT) == 0) Had to change this to a strncmp(, , 3), but otherwise works perfectly. Seeing this and the messages about string vulnerabilities that are floating around, I thought I'd have a closer look at the function. I didn't mean that I was forced to use strncmp

Re: RFC: [PATCH] Retry replacing in-use files in setup

2006-02-15 Thread Igor Peshansky
On Wed, 15 Feb 2006, Lapo Luchini wrote: Igor Peshansky wrote: I'd like some comments from people on both the behavior and my assumptions. I like the idea. I guess/hope this also solves the bug that also if the command line option to waiting for files (i.e. NOT putting them on the

[GTG] Re: [ITP] libgtkhtml2

2006-02-15 Thread Dr. Volker Zell
Yaakov S writes: Dr. Volker Zell wrote: [snip] collect2: ld returned 1 exit status make[2]: *** [simple.exe] Error 1 make[2]: Leaving directory `/usr/src/libgtkhtml-2.6.3/.build/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory

Please upload: xpdf-3.01-2

2006-02-15 Thread Dr. Volker Zell
cut here #!/bin/bash mkdir xpdf cd xpdf #wget http://mitglied.lycos.de/vzell/cygwin/release/xpdf/setup.hint wget http://mitglied.lycos.de/vzell/cygwin/release/xpdf/xpdf-3.01-2-src.tar.bz2 wget

Re: RFC: [PATCH] Retry replacing in-use files in setup

2006-02-15 Thread Lapo Luchini
Igor Peshansky wrote: On Wed, 15 Feb 2006, Lapo Luchini wrote: Igor Peshansky wrote: I'd like some comments from people on both the behavior and my assumptions. I like the idea. I guess/hope this also solves the bug that also if the command line option to waiting for

Re: RFC: [PATCH] Retry replacing in-use files in setup

2006-02-15 Thread Igor Peshansky
On Wed, 15 Feb 2006, Lapo Luchini wrote: Igor Peshansky wrote: On Wed, 15 Feb 2006, Lapo Luchini wrote: Igor Peshansky wrote: I'd like some comments from people on both the behavior and my assumptions. I like the idea. I guess/hope this also solves the bug that also if the

Please upload: xemacs-21.4.19-1/xemacs-tags-21.4.19-1/xemacs-emacs-common-21.4.19-1

2006-02-15 Thread Dr. Volker Zell
cut here #!/bin/bash mkdir -p xemacs/xemacs-emacs-common xemacs/xemacs-tags cd xemacs wget http://mitglied.lycos.de/vzell/cygwin/release/xemacs/setup.hint wget

Please Upload: ghostscript-8.50-1

2006-02-15 Thread James R. Phillips
Cygwin Uploaders: This is the first ghostscript release from a new maintainer (James R. Phillips). Files for uploading are located at: ftp://antiskid.homelinux.net/pub/cygwin/release/ghostscript/ghostscript-8.50-1-src.tar.bz2

Please upload: WordNet-2.1-1

2006-02-15 Thread Dr. Volker Zell
cut here #!/bin/bash mkdir -p WordNet cd WordNet # wget http://mitglied.lycos.de/vzell/cygwin/release/WordNet/setup.hint wget http://mitglied.lycos.de/vzell/cygwin/release/WordNet/WordNet-2.1-1-aa wget

Re: [ITP] pycrypto-2.0.1-1 -- Cryptographic algorithms and protocols for Python

2006-02-15 Thread Yaakov S (Cygwin Ports)
Jari Aalto wrote: I changed the package name to more canonocal python-package. Says who? Most python modules use a simple py prefix upstream, and I don't see why we can't do the same. Yaakov

Re: gamin-0.1.7

2006-02-15 Thread Yaakov S (Cygwin Ports)
Lapo Luchini wrote: OK, gamin-0.1.7 now *works* both on FreeBSD and CygWin. I modified your package to use the new FreeBSD patchset, plus the not_fat() thing you suggested above. I'm curious, I don't see that any of the defined(__CYGWIN__) checks next to the defined(__FreeBSD__) checks in

Re: Xwin Freeze with Win98SE and -clipboard in eclipse

2006-02-15 Thread Dominique Brazziel
How do you get -clipboard to work in Win98SE? I get these messages when starting Xwin -multiwindow -clipboard: winClipboardProc - DISPLAY=127.0.0.1:0.0 winProcEstablishConnection - winInitClipboard returned. winClipboardProc - XOpenDisplay () returned and successfully opened the display.

Problem Starting X-Windows

2006-02-15 Thread dean
Hi, I need some help starting X-Windows under Cygwin :( After successfully download and install Cygwin, I tried to use a startx command to start the X-Windows. The following start to scrolling in my DOS win32 prompt (attached in the end). I can see a X icon showing up on my toolbars indicating

Re: Xm/Xt auto-import linking issues

2006-02-15 Thread Marc Vaillant
I'm trying to build xmbase-grok (http://www.bitrot.de/grok.html). It successfully compiles but crashes when I click most buttons. Could you give the test version of lesstif a try and report back please? Thanks for your help Brian. I tried lesstif

winsup/cygwin exec.cc

2006-02-15 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2006-02-15 22:10:56 Modified files: cygwin : exec.cc Log message: minor comment restructuring Patches:

winsup/cygwin spawn.cc

2006-02-15 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2006-02-15 22:11:13 Modified files: cygwin : spawn.cc Log message: minor comment restructuring Patches:

Re: [Patch] regtool: Add load/unload commands and --binary option

2006-02-15 Thread Corinna Vinschen
On Feb 13 20:43, Christian Franke wrote: you wrote: your assignment has finally arrived and is signed. Do you have a new version of your regtool patch available, after this discussion took place? No, sorry. Hope to find some time in about a week. I'm still not sure how to handle binary

Re: [PATCH] Minor fix for regtool

2006-02-15 Thread Corinna Vinschen
On Feb 13 13:45, Igor Peshansky wrote: * regtool.cc (usage): Clarify help for -K. Applied. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat

RE: Perl creates html-file, view from cmd.exe = Access is denied

2006-02-15 Thread Dave Korn
On 14 February 2006 23:12, Igor Peshansky wrote: On Tue, 14 Feb 2006, Lennart Borgman wrote: I use cygwin perl to create some html files from cygwin sh. When I then later from cmd.exe (or cygwin sh) try to open one of these files from the command line with temp.html I get the

Re: Perl creates html-file, view from cmd.exe = Access is denied

2006-02-15 Thread Lennart Borgman
Dave Korn wrote: Or you can chmod +x it. That's longer lasting! ;-) Plus it could even be done as part of the perl script, and then the problem would just /never/ arise again and wouldn't need to remember to use 'start' or 'cygstart' to launch it. Thanks Dave, but what would chmod +x be

Re: Paths and Cygwin

2006-02-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Igor Peshansky on 2/9/2006 8:51 AM: Input: ./mkdirhier.sh /home/jgriffin/test/level1/level2 out.txt [snip] Here's the output: prefix: / mkdir: cannot create directory `//home': No such file or directory None of the above is

Re: Perl creates html-file, view from cmd.exe = Access is denied

2006-02-15 Thread Igor Peshansky
On Wed, 15 Feb 2006, Lennart Borgman wrote: Dave Korn wrote: Or you can chmod +x it. That's longer lasting! ;-) For Dave: achieve the same effect...no matter what the permissions are -- you can't, for example, launch a .html file from a bash shell at all. cygstart will always work.

Re: How Can I Use the FtpCommand Function with Cygwin?

2006-02-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tischler, Ron on 2/14/2006 10:35 AM: Thanks for your reply, but the makefiles that I'm using do use .lib files, and things are following PC rather than unix conventions, and I am already getting wininet.lib, because other stuff that is

Re: Fwd: locale setting doesn't work with the default translation encoded in utf-8

2006-02-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Zhenghui Zhou on 2/13/2006 10:30 PM: I use windows xp(sp2), and the language of none unicode program setting is Simple Chinese. I found that the LC MESSAGES cann't be shown in right way under console when setting the locale to

Re: portability notes

2006-02-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to skaller on 2/14/2006 12:31 AM: We have done some things in a possibly non-optimal way, someone may wish to comment on a better way to do these things? CVS log entry for our systems says: * added WSAID_CONNECTEX and LPFN_CONNECTEX

RE: How Can I Use the FtpCommand Function with Cygwin?

2006-02-15 Thread Dave Korn
On 15 February 2006 14:10, Eric Blake wrote: According to Tischler, Ron on 2/14/2006 10:35 AM: Thanks for your reply, but the makefiles that I'm using do use .lib files, and things are following PC rather than unix conventions, conventions and not Windows functions. If you want to use

Re: Perl creates html-file, view from cmd.exe = Access is denied

2006-02-15 Thread Igor Peshansky
http://cygwin.com/acronyms/#PPIOSPE. Redirected to the list. On Wed, 15 Feb 2006, Lennart Borgman wrote: Igor Peshansky wrote: Thanks Dave, but what would chmod +x be in perl? Is there an easy way to do it? (Hope this is not too much OT, it is clearly useful here.) perldoc -f

Re: Perl creates html-file, view from cmd.exe = Access is denied

2006-02-15 Thread Lennart Borgman
Igor Peshansky wrote: perldoc -f chmod. Igor Yes, but it does not know the +x syntax. Not that particular syntax (hey, you can always 'system(chmod +x $f)'), but it does allow Fcntl constants (e.g., 'chmod S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH $f' -- still from the above

Re: Cygrunsrv vs. Windows Update

2006-02-15 Thread Eric Blake
Forwarding to list: http://cygwin.com/acronyms/#PPIOSPE -- Original message -- From: SIG - Pédagogie Hello Eric, I saw your message on the Cygwin mailing-list regarding to the Windows Update problem, somehow i'm glad there're other people having this, it

missing getaddrinfo

2006-02-15 Thread Eric Blake
Currently, cygwin does not provide getaddrinfo, even though SUSv3 specifies it in sys/socket.h/netdb.h. CVS Coreutils has been using gnulib to provide a replacement definition, but recently gnulib was updated to work on mingw, reusing the winsock headers/libraries to provide getaddrinfo. As a

Re: portability notes

2006-02-15 Thread skaller
On Wed, 2006-02-15 at 07:22 -0700, Eric Blake wrote: CVS log entry for our systems says: * added WSAID_CONNECTEX and LPFN_CONNECTEX definitions for ming (nocygwin) target There is no such thing as ming - it is mingw or mingw32. Furthermore, cygwin only provides -mno-cygwin as a

chere suggestion

2006-02-15 Thread Cary Jamison
I was just wondering how you get programs added to the Windows Explorer 'Open with...' menu, and thought this might be a good addition to chere. I would like to add xemacs, gvim, notepad, etc., to this menu. I know, PTC and all that, but if someone out there knows how to do it, I'm sure they

How can I detect cygwin windows closing

2006-02-15 Thread Wilfried Fauvel
Hi, I have made a console apps, and I would like to know if it's possible to detect when the user click on the 'X' of the term window ? I am catching SIGINT, SIGTERM and SIGKILL signals, but it does not seen to be enough. Thanks. Accédez au courrier électronique de La Poste : www.laposte.net ;

Re: How can I detect cygwin windows closing

2006-02-15 Thread Igor Peshansky
On Wed, 15 Feb 2006, Wilfried Fauvel wrote: Hi, I have made a console apps, and I would like to know if it's possible to detect when the user click on the 'X' of the term window? I am catching SIGINT, SIGTERM and SIGKILL signals, but it does not seen to be enough. SIGHUP. Igor P.S.

Re: How can I detect cygwin windows closing

2006-02-15 Thread Samuel Thibault
Hi, Wilfried Fauvel, le Wed 15 Feb 2006 18:18:49 +0100, a écrit : I have made a console apps, and I would like to know if it's possible to detect when the user click on the 'X' of the term window ? I am catching SIGINT, SIGTERM and SIGKILL signals, but it does not seen to be enough. See

Re: How can I detect cygwin windows closing

2006-02-15 Thread Samuel Thibault
Igor Peshansky, le Wed 15 Feb 2006 12:21:42 -0500, a écrit : P.S. AFAIK, SIGKILL cannot be caught. POSIX says so indeed. Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

RE: portability notes

2006-02-15 Thread Dave Korn
On 15 February 2006 16:48, skaller wrote: On Wed, 2006-02-15 at 07:22 -0700, Eric Blake wrote: There is no such thing as ming - it is mingw or mingw32. Furthermore, cygwin only provides -mno-cygwin as a convenience, but it is NOT SUPPORTED on this list. Ask the mingw list instead. I

RE: chere suggestion

2006-02-15 Thread Dave Korn
On 15 February 2006 17:05, Cary Jamison wrote: I was just wondering how you get programs added to the Windows Explorer 'Open with...' menu, and thought this might be a good addition to chere. I would like to add xemacs, gvim, notepad, etc., to this menu. This is nothing to do with cygwin.

Pbm with ar.h when compiling make-3.80 for mingw

2006-02-15 Thread Xavier Marichal
Hi! To make a long story short, I want to re-build make-3.80 for mingw/msys usage because I encounter some problems with the mingw distribution... After downloading the sources fro gnu, I launched ./configure. Then, in-line with the recommendations of

RE: Pbm with ar.h when compiling make-3.80 for mingw

2006-02-15 Thread Dave Korn
On 15 February 2006 18:42, Xavier Marichal wrote: Hi! To make a long story short, I want to re-build make-3.80 for mingw/msys usage because I encounter some problems with the mingw distribution... WTF does the mingw version of make have to with cygwin? After downloading the sources fro

cygwin 1.5.19: intel core duo stack copy_write function failed

2006-02-15 Thread 晓光 孙
Hi All, I got a intel core duo 1.66 laptop with 2GB memory. I installed cygwin, and tried to compile firefox using msvc. but I got error message which was something about stack and the only remember it has copy_write function name inside. I tried to reinstall it couple times, but it still didn't

Re: missing getaddrinfo

2006-02-15 Thread Christopher Faylor
On Wed, Feb 15, 2006 at 04:40:21PM +, Eric Blake wrote: Currently, cygwin does not provide getaddrinfo, even though SUSv3 specifies it in sys/socket.h/netdb.h. CVS Coreutils has been using gnulib to provide a replacement definition, but recently gnulib was updated to work on mingw, reusing

RE: Pbm with ar.h when compiling make-3.80 for mingw

2006-02-15 Thread Dave Korn
On 15 February 2006 19:08, Xavier Marichal wrote: Basically, I want to compile make using Cygwin, but in a way that is independent from Cygwin (hence the -mno-cygwin). I'm sorry if I offended someone... It's not an offence, but the thing is that if you use -mno-cygwin, you aren't using

Re: Pbm with ar.h when compiling make-3.80 for mingw

2006-02-15 Thread Martin
--- Xavier Marichal [EMAIL PROTECTED] wrote: Hi! To make a long story short, I want to re-build make-3.80 for mingw/msys usage because I encounter some problems with the mingw distribution... After downloading the sources fro gnu, I launched ./configure. Then, in-line with the

Re: Pbm with ar.h when compiling make-3.80 for mingw

2006-02-15 Thread Xavier Marichal
OK, thanks. I was not aware that -mno-cygwin was causing MinGW to be used instead of Cygwin... I'll get back to MinGW there, although I did not get much help there previsously (which is why I was trying to move to using Cygwin). Many thanks for the explanation I'll make one last try with the

RE: Pbm with ar.h when compiling make-3.80 for mingw

2006-02-15 Thread Dave Korn
On 15 February 2006 19:43, Martin wrote: Am I missing something? Yes, you're missing the point, which is that all this stuff has nothing to do with cygwin. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info:

Problem with Tcl/tk release 20060202-1

2006-02-15 Thread Dave Meyer
I encountered the problem described in the Exec and parent environment email thread concerning the passing of environmental variables in tcl shells. I downloaded the experimental tcl/tk library version 20060202-1 (per http://sourceware.org/ml/cygwin/2006-02/msg00090.html) as evident by the

Re: chere suggestion

2006-02-15 Thread Dave
Dave Korn wrote: On 15 February 2006 17:05, Cary Jamison wrote: I was just wondering how you get programs added to the Windows Explorer 'Open with...' menu, and thought this might be a good addition to chere. I would like to add xemacs, gvim, notepad, etc., to this menu. This is nothing

Re: Problem with Tcl/tk release 20060202-1

2006-02-15 Thread Christopher Faylor
On Wed, Feb 15, 2006 at 12:53:11PM -0700, Dave Meyer wrote: If there is any information needed from me to further understand this issue, please let me know. Thanks. The information requested by http://cygwin.com/problems.html would be your first step in reporting a problem like this. cgf --

Re: Problem with Tcl/tk release 20060202-1

2006-02-15 Thread Eric Blake
My questions are - Has anyone else experienced this? - Should I have downloaded more than just the TCL/TK library experimental release? Yes. Reread: http://cygwin.com/ml/cygwin/2006-02/msg00090.html You need a snapshot: http://cygwin.com/faq/faq-nochunks.html#faq.setup.snapshots -- Eric

mod_perl 2.0.2 + Apache 2.0.55 on Cygwin Win2k3

2006-02-15 Thread Jason J. Czerak
I have an application that is based on Apache::ASP. Apache::ASP requires Apache2::porting and Apache2::compat to be in the startup.pl. Everything is working very well. I some how got mod_perl to build and running with out a segfault. This is good. The issue is when startup.pl is called, either

Re: chere suggestion

2006-02-15 Thread Cary Jamison
Dave wrote: Dave Korn wrote: On 15 February 2006 17:05, Cary Jamison wrote: I was just wondering how you get programs added to the Windows Explorer 'Open with...' menu, and thought this might be a good addition to chere. I would like to add xemacs, gvim, notepad, etc., to this menu.

Re: cygheap base mismatch detected

2006-02-15 Thread Jens Dill
Dave Korn dave.korn at artimi.com writes: Original Message From: Andreas Heckel Sent: 07 April 2005 11:13 Since I read that the error has something do with putting the cygwin1.dll in a certain memory space, I am wondering, if my prog is allocating too much memory (big

Re: cygheap base mismatch detected

2006-02-15 Thread Christopher Faylor
On Wed, Feb 15, 2006 at 10:22:30PM +, Jens Dill wrote: What you write makes it appear that CygWin simply will not support large executables that reference the CygWin DLL and are also launched from a CygWin shell. I can't believe that nobody has found a better workaround than: (a) not using

Re: chere suggestion

2006-02-15 Thread Igor Peshansky
On Wed, 15 Feb 2006, Cary Jamison wrote: Dave wrote: Dave Korn wrote: On 15 February 2006 17:05, Cary Jamison wrote: I was just wondering how you get programs added to the Windows Explorer 'Open with...' menu, and thought this might be a good addition to chere. I would like to add

Permissions problem - odd setup

2006-02-15 Thread Andrew DeFaria
I have a somewhat odd setup here and am having a permissions problem with my userid and authentication. In general I'm trying to have one home directory that is shared between Windows and Linux. On Windows I use Cygwin. Normally this involves mounting my Windows oriented home directory and

Q: nfsd: Unable to seteuid(-2)

2006-02-15 Thread Claudius Schnörr
Hello, I just started nfsd and get this error when auto-mounting some filesystem from the server: nfsd[1524] 02/16/106 00:52 auth_clnt.c 352 : Unable to seteuid(-2): Invalid argument The config files on the client (clswork): /etc/exports: /dokus/Claudius

Re: chere suggestion

2006-02-15 Thread Cary Jamison
Igor Peshansky wrote: FWIW, I use the Send To menu with the following shortcut for vi: C:\cygwin\bin\run.exe /bin/rxvt.exe -display :0 -T vim -vb -sr -j -fn 00 -bg black -cr white -fg LightSteelBlue1 -bh-lucidatypewriter-medium-r-normal-sans-0-0-14-14-m-0-iso88 59-2 -e /usr/bin/vim (I used to

Solaris 'getcwd' fails for Cygwin NFS

2006-02-15 Thread Sashi Lazar
Hello, I am using the Cygwin NFS server (2.3-4) on a Windows XP box to export a directory (tree). My Solaris 2.8 box successfully mounts this path, but 'getcwd(3C)' returns an errno (Invalid argument). Other commands, such as make executed in the mounted path also fail. Has anyone else seen

Re: missing getaddrinfo

2006-02-15 Thread Yaakov S (Cygwin Ports)
Eric Blake wrote: Currently, cygwin does not provide getaddrinfo, even though SUSv3 specifies it in sys/socket.h/netdb.h. CVS Coreutils has been using gnulib to provide a replacement definition, but recently gnulib was updated to work on mingw, reusing the winsock headers/libraries to provide

Re: _kbhit

2006-02-15 Thread Arend-Jan Westhoff
At 18:58 2006-02-10 -0500, Michiel de Hoon wrote: On Sun, Feb 05, 2006 at 01:17:33PM -0500, Michiel De Hoon wrote: For one of my software projects, I need the _kbhit function to check the console for keyboard input. While this function is present in msvcrt.dll, it is missing from cygwin1.dll,

RE: portability notes

2006-02-15 Thread skaller
On Wed, 2006-02-15 at 17:41 +, Dave Korn wrote: On 15 February 2006 16:48, skaller wrote: [] Why are you asking this on the Cygwin list? Because I expect it is subscribed to by people who are dealing with portability issues on a regular basis, especially those who are using Cygwin as a

cygwin scp -r fails

2006-02-15 Thread Greg Tokarski
Hi. I just installed the latest cygwin on my winXP laptop, and I am having an issue using scp -r. I have tried it to multiple Linux and Solaris boxes, so I am quite sure it's not on the receiving server side. I am not sure if this is a bug or my problem; here's what I do: scp -rv 2006*

RE: _kbhit

2006-02-15 Thread Gary R. Van Sickle
I cannot confirm your assertion that msvcrt.dll and cygwin1.dll cannot be used together. If I compile the attached (almost C) file that dynamically links to msvcrt.dll using Cygwin: gcc -o kbhit.exe kbhit.cpp it compiles, links and works (on CMD and bash on CMD but not on rxvt;

Re: cygheap base mismatch detected

2006-02-15 Thread Dill, Jens (END-CHI)
Christopher Faylor wrote: On Wed, Feb 15, 2006 at 10:22:30PM +, Jens Dill wrote: What you write makes it appear that CygWin simply will not support large executables that reference the CygWin DLL and are also launched from a CygWin shell. I can't believe that nobody has found a better