Re: mintty ^H/^? bug

2009-06-02 Thread Andy Koppe
> I think there's a minor bug in the way mintty handles the ^H/^? option for > the Backspace key.  Suppose you have mintty set up so that Backspace sends > ^H (the default).  You then use the options menu to change this so that > Backspace sends ^?.  Then stty -a still shows erase = ^H, and some >

UAC .manifest files

2009-06-02 Thread Yaakov (Cygwin/X)
I'm up and running again, this time with Windows 7 RC x64 (at least for now), so I'm getting my first intro to the joys of UAC, which is fortunately more sane in Win7 than it is in Vista. I now realize that there are a number of packages, in both the distro and Ports, which still need .manifes

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Ken Brown
On 6/2/2009 8:34 PM, wynfi...@gmail.com wrote: emacs can use gtk+, so libXaw7 is not necessary. I agree that emacs can be built to use gtk+ instead of Xaw. The workaround you described would then allow that version to be used in cygwin. But the current cygwin emacs-X11 package was compiled

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread wynfield
emacs can use gtk+, so libXaw7 is not necessary. Only one of the two, gtk+ or libXaw7 are required. I use gtk+ for example. Using gtk+ does require a simple work around to use it however, such as # put the following line in your ~/.xinitrc file export G_SLICE=always-malloc exec emacs & or from

Re: [1.7] pthread_mutex_lock/pthread_mutex_unlock strange blocking problem

2009-06-02 Thread Dave Korn
Corinna Vinschen wrote: > On Jun 2 16:11, Thomas Stalder wrote: >> Hello, >> >> Sometimes pthread_mutex_lock ou pthread_mutex_unlock block. > > Isn't that basically the same problem Dave sent the patch to fix the > hangs in pthread_create? > Nope, the problem reproduces for me even with the c

mintty ^H/^? bug

2009-06-02 Thread Ken Brown
I think there's a minor bug in the way mintty handles the ^H/^? option for the Backspace key. Suppose you have mintty set up so that Backspace sends ^H (the default). You then use the options menu to change this so that Backspace sends ^?. Then stty -a still shows erase = ^H, and some applic

Re: [1.7] pthread_mutex_lock/pthread_mutex_unlock strange blocking problem

2009-06-02 Thread Corinna Vinschen
On Jun 2 16:11, Thomas Stalder wrote: > Hello, > > Sometimes pthread_mutex_lock ou pthread_mutex_unlock block. Isn't that basically the same problem Dave sent the patch to fix the hangs in pthread_create? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cyg

Re: 1.7.0-48: [BUG] Passing characters above 128 from bash command line

2009-06-02 Thread Corinna Vinschen
On May 29 17:21, Edward Lam wrote: > > Alexey Borzenkov wrote: > > No, the bug is not that it gets wrong number of arguments. In fact, > > Windows has no concept of arguments, only C runtime does, which parses > > the command line. If command line is truncated, then C runtime will > > have missing

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-02 Thread Christopher Faylor
On Tue, Jun 02, 2009 at 01:17:24PM -0400, Larry Hall (Cygwin) wrote: >Marc Girod wrote: >> >> Dave Korn-6 wrote: >>> You need to install the related libgmp-devel package >>> >> Thanks. Now, sorry, but how do I do that? >> I can see the path to this package with: >> >> cygcheck -p libgmp-devel >

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-02 Thread Larry Hall (Cygwin)
Marc Girod wrote: Dave Korn-6 wrote: You need to install the related libgmp-devel package Thanks. Now, sorry, but how do I do that? I can see the path to this package with: cygcheck -p libgmp-devel probably this one: libgmp-devel/libgmp-devel-4.2.4-1 Development library for GMP arb

squid 2.6 STABLE17-1: installing as a service

2009-06-02 Thread 7aboir
Hello, I just installed a fresh version of cygwin (1.6) with the squid 2.6 stable 17-1 package. I was previously running a ld version of squid (2.4 , hexa patched to make it work...). Apart some small changes, no problem to install it and make it work. I however when I looked into the /usr/sh

Re: 1.5.25: RSH issue with Cygwin/Win2008

2009-06-02 Thread Christopher Faylor
On Tue, Jun 02, 2009 at 05:51:09PM +0200, Corinna Vinschen wrote: >On Jun 2 11:46, Gokula Rangarajan wrote: >> Team, >> [...] > >I replied to your OP not even 2 hours ago. Maybe his OP isn't working. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: h

Re: How to change the file mode to link?

2009-06-02 Thread Corinna Vinschen
On Jun 2 09:46, Peng Yu wrote: > Hi, > > I create a link in windows. But cygwin does not show it as a link. I > am wondering if there is a command to correct it in cygwin? No. Shortcuts created with Windows contain more and different information than Cygwin symlinks. If you need a symlink, cre

Re: 1.5.25: RSH issue with Cygwin/Win2008

2009-06-02 Thread Corinna Vinschen
On Jun 2 11:46, Gokula Rangarajan wrote: > Team, > [...] I replied to your OP not even 2 hours ago. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.c

RE: Unable to convert postscript to usable form, using either ps2pdf or gs

2009-06-02 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Matthias Andree > Sent: Tuesday, June 02, 2009 12:40 AM > To: David Karr; cygwin@cygwin.com > Subject: Re: Unable to convert postscript to usable form, using either > ps2pdf or gs > > Am 01

Re: urxvt-X terminfo and Bash readline

2009-06-02 Thread Dan Moulding
> After rebooting, I was unable to > reproduce the problem. > > Perhaps you just need to reboot too? You are right, Phil. After rebooting, I am no longer able to reproduce the problem either. Weird. I suppose this may be more of a problem in the readline library, where it gets confused about which

How to change the file mode to link?

2009-06-02 Thread Peng Yu
Hi, I create a link in windows. But cygwin does not show it as a link. I am wondering if there is a command to correct it in cygwin? -rwx--+ 1 Administrators None 1.2K Jun 1 11:42 some_file.lnk* Regards, Peng -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem report

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-02 Thread Marc Girod
Dave Korn-6 wrote: > > You need to install the related libgmp-devel package > Thanks. Now, sorry, but how do I do that? I can see the path to this package with: cygcheck -p libgmp-devel probably this one: libgmp-devel/libgmp-devel-4.2.4-1 Development library for GMP arbitrary precisi

[1.7] pthread_mutex_lock/pthread_mutex_unlock strange blocking problem

2009-06-02 Thread Thomas Stalder
Hello, Sometimes pthread_mutex_lock ou pthread_mutex_unlock block. In order to reproduce the problem, I have made a test application (test.c) who always block $ gcc test.c -o test $ ./test thread id=1 after pthread_create 1 after pthread_create 2 thread id=2 thread id=3 after pthread_create 3 af

Re: 1.5.25: RSH issue with Cygwin/Win2008

2009-06-02 Thread Corinna Vinschen
On May 31 22:31, Gokula Rangarajan wrote: > Team, > > I am running windows Server Enterprise 2008, 64 bit. I have installed the > latest version of Cygwin in the windows 2008 server. I have a bunch of > RHEL5.x servers that needs to controlled from Windows 2008 server using RSH. > While I am a

RE: urxvt-X terminfo and Bash readline

2009-06-02 Thread Phil Betts
Dan Moulding wrote: > The other odd thing I noticed is that for some reason in Bash the > readline functionality "horizontal-scroll-mode" defaults to "on" when > running inside urxvt-X. Normally this should default to "off" (as per > the Bash man page). When running Bash in an xterm window, it is s

Re: [1.7] pthread_create block

2009-06-02 Thread Thomas Stalder
Hello, I have tried the patch and my test application seem now working well. Many thanks -- Thomas 2009/6/2 Dave Korn : > Thomas Stalder wrote: > >> Sometimes pthread_create block and never return. >> >> I have made a simple program (test.c) to reproduce the problem. >> >>> gcc test.c -lpthrea

Re: [1.7] Surprising exe magic?

2009-06-02 Thread Corinna Vinschen
On May 24 20:49, Dave Korn wrote: > ad...@ubik /tmp/exemagic > $ mv hello.x hello.test.x > > ad...@ubik /tmp/exemagic > $ ls -la > total 125 > drwxr-xr-x 1 DKAdmin None 0 May 24 20:36 . > drwxrwxrwt 1 DKAdmin None 90112 May 24 20:36 .. > -rwxr-xr-x 1 DKAdmin None 34326 May 24 20:36 hello.test.

Re: file execute access with noacl mount with Cygwin-1.7.0 20090518 snapshot

2009-06-02 Thread Corinna Vinschen
On May 20 20:59, Karl M wrote: > > Hi All... > > I just tried executing a file on my desktop as /c/Users/me/Desktop/file.exe > in Vista Business SP1. > > The file would not tab complete in bash and an ls -al showed no execute > access. > > Do I need to add the exec or cygexec explicitly, o

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Marc Girod
Ken Brown-6 wrote: > > You need to have 'tty' in your CYGWIN environment variable in order to > prevent this from happening. > Thanks. Indeed. That's where I saw it (in http://cygwin.com/1.7/cygwin-ug-net/using-cygwinenv.html) But well, I don't need it myself since I run emacs in X mode. BTW,

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Ken Brown
On 6/2/2009 7:51 AM, Ken Brown wrote: Chuck, the ancient-but-still-current emacs requires libncurses7; the latter requires terminfo, but I think it should require terminfo0 instead. And, to head off the next question, I think the ancient-but-still-current version of emacs-X11 needs libXaw7 (h

Re: xfce 3.8.18

2009-06-02 Thread miemiec
I could make it working with the new cygwin 1.7 release. I used the sources from http://ftp.uni-magdeburg.de/aftp/projects/hpux/X11/WM/xfce-3.8.18/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-02 Thread Dave Korn
Marc Girod wrote: > Trying to install the perl CPAN package Math::GMP (as a requisite for > Net::SSH::Perl). > I am on cygwin 1.7, and do have: > > 2009> cygcheck -c libgmp3 > Cygwin Package Information > Package VersionStatus > libgmp3 4.3.1-1OK > 2009> c

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Ken Brown
On 6/2/2009 7:18 AM, Ken Brown wrote: On 6/2/2009 5:30 AM, Marc Girod wrote: I can also start a Cygwin window, and run GNU emacs there (with a -nw option). It starts, although doesn't work well. The keyboard bindings are weird for a start (e.g. C-x C-c gives in fact C-x C-g, which forces you to

Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?

2009-06-02 Thread Marc Girod
Trying to install the perl CPAN package Math::GMP (as a requisite for Net::SSH::Perl). I am on cygwin 1.7, and do have: 2009> cygcheck -c libgmp3 Cygwin Package Information Package VersionStatus libgmp3 4.3.1-1OK 2009> cygcheck -l libgmp3 /usr/bin/cyggmp-

Re: what package for man 3 printf?

2009-06-02 Thread Dave Korn
Andy Koppe wrote: >>> We unfortunately don't have a package of man pages for our C library >>> functions. >> Actually the cygwin-doc package does have man pages for much of the C >> standard library. > > D'oh, that's what Dave said in the next sentence. For some reason, "info libc" gets you to

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Ken Brown
On 6/2/2009 5:30 AM, Marc Girod wrote: I can also start a Cygwin window, and run GNU emacs there (with a -nw option). It starts, although doesn't work well. The keyboard bindings are weird for a start (e.g. C-x C-c gives in fact C-x C-g, which forces you to exit with M-x kill-emacs). I'm sure thi

Re: what package for man 3 printf?

2009-06-02 Thread Andy Koppe
>>  We unfortunately don't have a package of man pages for our C library >> functions. > > Actually the cygwin-doc package does have man pages for much of the C > standard library. D'oh, that's what Dave said in the next sentence. Sorry, Andy -- Unsubscribe info: http://cygwin.com/ml/#unsub

Re: what package for man 3 printf?

2009-06-02 Thread Andy Koppe
>> I couldn't figure this out. What package to install to get >> man 3 printf ? Search http://cygwin.com/packages for "printf.3". >  We unfortunately don't have a package of man pages for our C library > functions. Actually the cygwin-doc package does have man pages for much of the C standard li

Re: [1.7] pthread_create block

2009-06-02 Thread Dave Korn
Thomas Stalder wrote: > Sometimes pthread_create block and never return. > > I have made a simple program (test.c) to reproduce the problem. > >> gcc test.c -lpthread -o test >> ./test > thread id=1 > thread id=2 > thread id=3 > thread id=4 > > thread id=3736 > > > Sometimes pthread_c

Re: what package for man 3 printf?

2009-06-02 Thread Dave Korn
Ian Kelling wrote: > I couldn't figure this out. What package to install to get > man 3 printf ? We unfortunately don't have a package of man pages for our C library functions. Sorry about that; your best bet is online references. We have all the standard C library functions, but Cygwin uses n

Re: Binding OpenGL and gcc

2009-06-02 Thread Dave Korn
René Berber wrote: > Christina McQuirk wrote: > >> How cAsE sEnSiTiVe are the .dll names? All these files are there (I >> checked each one), but sometimes not ALLCAPS or all-lower as output >> below >> >> [YOUR-7E1386FF39:~] >> cygcheck ./run.exe >> .\run.exe >> C:\cygwin\bin\cygwin1.dll >>C

Re: How to run GNU Emacs from Windows icon

2009-06-02 Thread Marc Girod
David Karr wrote: > > However, when I try to do something similar for GNU Emacs, it fails > immediately. Do you want to run GNU emacs in terminal mode? I run it in X mode with: @echo off C: chdir C:\cygwin2\bin bash --login -c "/usr/bin/startx /usr/bin/emacs -g 80x40+88+69 -- /usr/bin/X :0 -m

Re: Binding OpenGL and gcc

2009-06-02 Thread Dave Korn
Christina McQuirk wrote: > So I found this: > > [YOUR-7E1386FF39:~] >> cygcheck -p ./run.exe Wrong option. "cygcheck -p " is the equivalent of searching for in the list of cygwin distro packages (http://cygwin.com/packages). > What is the Obsolete package about, and would *start cosole prog

[1.7] pthread_create block

2009-06-02 Thread Thomas Stalder
Hello, Sometimes pthread_create block and never return. I have made a simple program (test.c) to reproduce the problem. > gcc test.c -lpthread -o test > ./test thread id=1 thread id=2 thread id=3 thread id=4 thread id=3736 Sometimes pthread_create block after creating arround 10 threa

what package for man 3 printf?

2009-06-02 Thread Ian Kelling
I couldn't figure this out. What package to install to get man 3 printf ? - Ian Kelling -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwi

Problem [1.7]: setup-2.ini on the mirrors

2009-06-02 Thread Fergus
Something odd has happened to setup-2.ini on [some/all?] mirrors. While for each entry in setup.ini for [1.5], the sequence goes @name sdesc ldesc category requires version install source [prev] version install source recently the sequence for each entry in setup-2.ini for [1.7] goes @name sde

permissions questions

2009-06-02 Thread Ian Kelling
I get permission denied when trying to launch this windows program UOAOS.exe from cygwin and I don't know why. Other programs with the same permissions launch fine. The filesystem is mounted without noacl. $ getfacl.exe UOAOS.exe # file: UOAOS.exe # owner: ian # group: None user::rwx group::rw

Re: Unable to convert postscript to usable form, using either ps2pdf or gs

2009-06-02 Thread Matthias Andree
Am 01.06.2009, 23:33 Uhr, schrieb David Karr : I have a generated postscript file (from trueprint) that I need to get into a usable form on Windows, so I can view it and print it. I've tried both "ps2pdf" and "gs", with no success so far. I first tried using "ps2pdf". This fails with: --

Re: Binding OpenGL and gcc

2009-06-02 Thread Christina McQuirk
[YOUR-7E1386FF39:~] >> ./run; echo $? 57 [YOUR-7E1386FF39:~] >> net helpmsg 57 ネットワーク アダプタのハードウェア エラーが発生しました。 (In Japan, researching on Japanese computer but translates to: A network adapter hardware error occurred) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem r

Re: Building "trueprint" fails with missing ref to _libintl_gettext

2009-06-02 Thread Matthias Andree
Am 01.06.2009, 22:48 Uhr, schrieb David Karr : -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of David Karr Sent: Monday, June 01, 2009 1:26 PM To: cygwin@cygwin.com Subject: Building "trueprint" fails with missing ref to _libintl_gettext I'm

Re: Binding OpenGL and gcc

2009-06-02 Thread Christina McQuirk
So I found this: [YOUR-7E1386FF39:~] >> cygcheck -p ./run.exe Found 6 matches for ./run.exe. X-startup-scripts/X-startup-scripts-1.0.10-4    Obsolete package run/run-1.1.10-1        start console programs with hidden console run/run-1.1.6-1 start console programs with hidden console run/run-1.1.7-

Re: Binding OpenGL and gcc

2009-06-02 Thread René Berber
Christina McQuirk wrote: > How cAsE sEnSiTiVe are the .dll names? All these files are there (I > checked each one), but sometimes not ALLCAPS or all-lower as output > below > > [YOUR-7E1386FF39:~] >> cygcheck ./run.exe > .\run.exe > C:\cygwin\bin\cygwin1.dll >C:\WINDOWS\system32\ADVAPI32.DL