Re: xmgrace fails to start

2006-07-18 Thread Charles L. Werner
I checked for symlinks, and also executed xmgrace in /etc/share/grace/bin home directory with the same result. Volker Quetschke determined that the problem lies with the X-Server This error does not arise using the previous version xorg-X11-* 6.8.2.0-1. This discussion should continue on the cyg

CreateFileMapping problem but Win32 error is 0

2006-07-18 Thread Andrew DeFaria
I am helping a client install a new server and we use a process that essentially does an rsh make. The make process is fairly complicated. The new server is a Windows 2003 Server. There is no RDP involved - just an rsh. I'm getting errors like: 3 [main] bash 14596 C:\cygwin\bin\bash.exe:

When ssh'd in, cannot run MS compiler /Zi debug option.

2006-07-18 Thread Mark Charney
I suspect I'm missing some "rights". This is an issue for me on multiple machines running Windows Server 2003 x64 or for 32b WinXP. When I try to compile using the debug-option (/Zi) to the Microsoft Visual Studio Pro 2005 compiler: cl /Zi hello.cpp it only works from within cygwin if I

msync failure due to rounding up length (with test case and suggested fix)

2006-07-18 Thread Neal Norwitz
See winsup/cygwin/mmap.cc line 1355 in current CVS (msync function): len = roundup2 (len, pagesize); I verified my suspicion that roundup2() is causing Python's test suite to fail. When I stepped in the debugger and reset the len to its original value after calling roundup2() the test passed.

Re: Two different cygwin environments

2006-07-18 Thread Christopher Faylor
On Tue, Jul 18, 2006 at 01:42:55PM -0400, Andrei Stebakov wrote: >Igor Peshansky <[EMAIL PROTECTED]> writes: >>On Tue, 18 Jul 2006, Andrei Stebakov wrote: >>>I am using the current cygwin installed by cygwin.exe. Also on the >>>same machine I need to use an older versin of Cygwin so I wonder what'

Re: Perl failure

2006-07-18 Thread Larry Hall (Cygwin)
Bruce Dobrin wrote: Hi, I stripped down the code to a small testable bit. The problem seems to occur when I reach 256 forks on a cygwin1.5.18 or 19 but not on my cygwin1.5.5. win2k system. The original code give the forked process time to finish, but it still looks like it eats it after abou

Re: window command in bash

2006-07-18 Thread Andrew DeFaria
Igor Peshansky wrote: Exactly. Case in point: UNC paths. Both "\\machine\share" and"\machine\share" will refer to the string '\machine\share'. To really reference a UNC path, you'll need to say "machine\\share". So why not double the backslashes anyway and save yourself the confusion? Perso

RE: Perl failure

2006-07-18 Thread Bruce Dobrin
Hi, I stripped down the code to a small testable bit. The problem seems to occur when I reach 256 forks on a cygwin1.5.18 or 19 but not on my cygwin1.5.5. win2k system. The original code give the forked process time to finish, but it still looks like it eats it after about 256 iterations ( it

Metapost doesn't recognise beginfig

2006-07-18 Thread Iain Alexander
I have tetex 3.0.0-3 with cygwin 1.5.20 on XP/SP2, and I'm trying to use Metapost, but it doesn't recognise beginfig, which is the first non- comment, non-blank thing in the file: This is MetaPost, Version 0.641 (Web2C 7.5.4) (mem=plain 2006.7.16) 16 JUL 2006 01:55 **tmpl5x3 (tmpl5x3.mp >> begi

Re: window command in bash

2006-07-18 Thread Igor Peshansky
On Tue, 18 Jul 2006, mwoehlke wrote: > Buchbinder, Barry (NIH/NIAID) [E] wrote: > > Igor Peshansky wrote: > > > On Tue, 18 Jul 2006, Buchbinder, Barry (NIH/NIAID) [E] wrote: > > > > Did you quote the path or escape the backslashes to protect the > > > > backslashes from the shell interpreting them

Re: window command in bash

2006-07-18 Thread mwoehlke
Buchbinder, Barry (NIH/NIAID) [E] wrote: Igor Peshansky wrote: On Tue, 18 Jul 2006, Buchbinder, Barry (NIH/NIAID) [E] wrote: Did you quote the path or escape the backslashes to protect the backslashes from the shell interpreting them as escape characters? E.g., AgBackup.exe /notext 'c:\

Re: exe handling

2006-07-18 Thread Corinna Vinschen
On Jul 18 18:10, Oliver Walsh wrote: > Hi, > > Sorry if this has been already been discussed, the only reference I > could find was a "In scripts suddenly must use perl.exe rather than > perl" thread. > > http://cygwin.com/cygwin-ug-net/using-specialnames.html#id4729857 states > the following: >

RE: xmgrace fails to start

2006-07-18 Thread Dave Korn
On 18 July 2006 18:34, Larry Hall (Cygwin) wrote: > Charles L. Werner wrote: >> In addition, I ran strace with xmgrace, >> and got the following message: >> >> Process 3996, exception 4005 at 7C81EB33 >> >> and an error in a box 16 bit MS-DOS Subsystem: >> >> /usr/share/grace/bin >> The NTV

RE: window command in bash

2006-07-18 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Igor Peshansky wrote: > On Tue, 18 Jul 2006, Buchbinder, Barry (NIH/NIAID) [E] wrote: > >> McGraw, Robert P. wrote: >>> I have a window command that I want to execute in a bash script. >>> >>> In my .bat file the command is >>> >>> AgBackup.exe /notext c:\Alligate\agbackupfiles >>> >>> I tr

Re: Two different cygwin environments

2006-07-18 Thread Andrei Stebakov
"Larry Hall (Cygwin)" <[EMAIL PROTECTED]> writes: > On 07/18/2006, Andrei Stebakov wrote: > > I am using the current cygwin installed by cygwin.exe. > > If you actually installed with 'cygwin.exe', then this is not a supported > installation. You'd be better off removing this and reinstalling us

Re: Two different cygwin environments

2006-07-18 Thread Larry Hall (Cygwin)
Andrei Stebakov wrote: Igor Peshansky <[EMAIL PROTECTED]> writes: On Tue, 18 Jul 2006, Andrei Stebakov wrote: I am using the current cygwin installed by cygwin.exe. Also on the same machine I need to use an older versin of Cygwin so I wonder what's the best way to have two cygwin environments

Re: Two different cygwin environments

2006-07-18 Thread Andrei Stebakov
Igor Peshansky <[EMAIL PROTECTED]> writes: > On Tue, 18 Jul 2006, Andrei Stebakov wrote: > > > I am using the current cygwin installed by cygwin.exe. > > Also on the same machine I need to use an older versin of Cygwin so I > > wonder what's the best way to have two cygwin environments on the sam

Re: xmgrace fails to start

2006-07-18 Thread Larry Hall (Cygwin)
Charles L. Werner wrote: In addition, I ran strace with xmgrace, and got the following message: Process 3996, exception 4005 at 7C81EB33 and an error in a box 16 bit MS-DOS Subsystem: /usr/share/grace/bin The NTVDM CPU has encountered an illegal instruction CS:0674 IP:01c7 OP:fe95 b8 ff ff

Re: Two different cygwin environments

2006-07-18 Thread Larry Hall (Cygwin)
On 07/18/2006, Andrei Stebakov wrote: I am using the current cygwin installed by cygwin.exe. If you actually installed with 'cygwin.exe', then this is not a supported installation. You'd be better off removing this and reinstalling using 'setup.exe' at cygwin.com. As Igor noted, you should us

Re: Two different cygwin environments

2006-07-18 Thread Igor Peshansky
On Tue, 18 Jul 2006, Andrei Stebakov wrote: > I am using the current cygwin installed by cygwin.exe. > Also on the same machine I need to use an older versin of Cygwin so I > wonder what's the best way to have two cygwin environments on the same > machine, under the same user so they don't collide

Loading cygwin libraries in Ruby from CMD?

2006-07-18 Thread Jay Levitt
This may not be a cygwin issue at all, but it never hurts to ask... I'm using the Ruby library RMagick (http://rmagick.rubyforge.org) with ruby 1.8.4, which I've successfully built under Cygwin. When I launch IRB (the interactive ruby interpreter) from bash, and type "require 'RMagick'", it loads

exe handling

2006-07-18 Thread Oliver Walsh
Hi, Sorry if this has been already been discussed, the only reference I could find was a "In scripts suddenly must use perl.exe rather than perl" thread. http://cygwin.com/cygwin-ug-net/using-specialnames.html#id4729857 states the following: "If a shell script myprog and a program myprog.exe coex

Re: Suggestions for cygcheck

2006-07-18 Thread Igor Peshansky
On Tue, 18 Jul 2006, Bengt-Arne Fjellner wrote: > Hi > I would like to suggest that cygcheck file should know about symlinks > i.e. > $ ls -la `which xmgrace` > lrwxrwxrwx 1 Administratör Användare 32 Jul 18 16:37 /usr/bin/xmgrace -> > /usr/share/grace/bin/xmgrace.exe* > > $ cygcheck xmgrace # no

RE: window command in bash

2006-07-18 Thread Igor Peshansky
On Tue, 18 Jul 2006, Buchbinder, Barry (NIH/NIAID) [E] wrote: > McGraw, Robert P. wrote: > > I have a window command that I want to execute in a bash script. > > > > In my .bat file the command is > > > > AgBackup.exe /notext c:\Alligate\agbackupfiles > > > > I tried to execute this command in

Re: Compilation with cygwin

2006-07-18 Thread Igor Peshansky
On Tue, 18 Jul 2006, Guenther Sohler wrote: > [snip] > How can I find out, which dll's are required for a EXE File ? "cygcheck EXE_File". HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZ

Two different cygwin environments

2006-07-18 Thread Andrei Stebakov
Hi I am using the current cygwin installed by cygwin.exe. Also on the same machine I need to use an older versin of Cygwin so I wonder what's the best way to have two cygwin environments on the same machine, under the same user so they don't collide. Any suggestions are greatly appreciated! A

Re: Bad Link in Cygwin Mirrors Page--changed but why rsync dropped?

2006-07-18 Thread L Anderson
L Anderson wrote: On the Cygwin mirrors page "http://cygwin.com/mirrors.html";, under "North America: Palo Alto", the link locations are as follows: Now: "locations were as follows:" ftp://mirrors.kernel.org/sources.redhat.com/cygwin/ http://mirrors.kernel.org/sources.redhat.com/c

Re: cygwin 1.5.20 and stalling cygstart

2006-07-18 Thread Corinna Vinschen
On Jul 18 15:58, Demmer, Thomas wrote: > I can confirm Krzystof's behavior. On a DOS cmd (no bash!) line this stalls > cygstart. > After a while it actually eats up 100% CPU. I have never tried something > like that > before, invoking cygstart from a cmd window so I cannot tell if this is new. >

Suggestions for cygcheck

2006-07-18 Thread Bengt-Arne Fjellner
Hi I would like to suggest that cygcheck file should know about symlinks i.e. $ ls -la `which xmgrace` lrwxrwxrwx 1 Administratör Användare 32 Jul 18 16:37 /usr/bin/xmgrace -> /usr/share/grace/bin/xmgrace.exe* $ cygcheck xmgrace # now gives Found: C:\cygwin\bin\xmgrace.exe C:/cygwin/bin/xmgrace.

Re: dselect - formally Re: Running as root

2006-07-18 Thread Christopher Faylor
On Tue, Jul 18, 2006 at 03:49:13PM +0100, Max Bowsher wrote: >Christopher Faylor wrote: >>On Tue, Jul 18, 2006 at 12:19:58AM +0100, Max Bowsher wrote: >>>Christopher Faylor wrote: On Mon, Jul 17, 2006 at 09:49:02PM +1000, Stephen Grant Brown wrote: > >I am unable to use dselect for the insp

Re: xmgrace fails to start

2006-07-18 Thread Charles L. Werner
In addition, I ran strace with xmgrace, and got the following message: Process 3996, exception 4005 at 7C81EB33 and an error in a box 16 bit MS-DOS Subsystem: /usr/share/grace/bin The NTVDM CPU has encountered an illegal instruction CS:0674 IP:01c7 OP:fe95 b8 ff ff My computer is a 3 GHz

Re: dselect - formally Re: Running as root

2006-07-18 Thread Max Bowsher
Christopher Faylor wrote: > On Tue, Jul 18, 2006 at 12:19:58AM +0100, Max Bowsher wrote: >> Christopher Faylor wrote: >>> On Mon, Jul 17, 2006 at 09:49:02PM +1000, Stephen Grant Brown wrote: I am unable to use dselect for the inspection of packages in the Debian distribution. >>> Ok. U

Re: cygwin 1.5.20 and stalling cygstart

2006-07-18 Thread Demmer, Thomas
>On Jul 18 03:46, Krzysztof Duleba wrote: >> Corinna Vinschen wrote: >> >> >>WJFFM. I don't see any cygstart processes after running foo or after >> >>calling the perl script directly on the cmd-line. >> > >> >Same here. >> >> Even simpler: >> >> perl -e 'exec "cygstart notepad"' >> >> in Wind

Re: window command in bash

2006-07-18 Thread Shaffer, Kenneth
>In a shell script what is the proper way to pass parameters to a window >program? Parameters are passed normally but special characters have to be "quoted". The backslashes (\) are interpreted by the shell, so quote each of them by entering \\ - - - - - Appended by Scientific Atlanta, a

RE: window command in bash

2006-07-18 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
McGraw, Robert P. wrote: > I have a window command that I want to execute in a bash script. > > In my .bat file the command is > > AgBackup.exe /notext c:\Alligate\agbackupfiles > > I tried to execute this command in a bash window and the command > works but is does not seem to recognize t

window command in bash

2006-07-18 Thread McGraw, Robert P.
I have a window command that I want to execute in a bash script. In my .bat file the command is AgBackup.exe /notext c:\Alligate\agbackupfiles I tried to executye this command in a bash window and the command works but is does not seem to recognize the parameters. The "c:\alligate"

Re: cygwin 1.5.20 and stalling cygstart

2006-07-18 Thread Corinna Vinschen
On Jul 18 03:46, Krzysztof Duleba wrote: > Corinna Vinschen wrote: > > >>WJFFM. I don't see any cygstart processes after running foo or after > >>calling the perl script directly on the cmd-line. > > > >Same here. > > Even simpler: > > perl -e 'exec "cygstart notepad"' > > in Windows command l

Re: Compilation with cygwin

2006-07-18 Thread Corinna Vinschen
On Jul 18 12:36, Guenther Sohler wrote: > Hallo Larry, Hint: This is a mailing list, not a private discussion... http://cygwin.com/acronyms/#PPIOSPE > > Any program compiled with Cygwin can be invoked directly outside of bash. > > Some may give better results than others, depending on how you se

Re: cygwin 1.5.20 and stalling cygstart

2006-07-18 Thread Krzysztof Duleba
Corinna Vinschen wrote: WJFFM. I don't see any cygstart processes after running foo or after calling the perl script directly on the cmd-line. Same here. Even simpler: perl -e 'exec "cygstart notepad"' in Windows command line. I'll try to debug it a little bit tomorrow, for now I'm downgr

Re: cygwin 1.5.20 and stalling cygstart

2006-07-18 Thread Corinna Vinschen
On Jul 18 12:32, Markus Sch?nhaber wrote: > Krzysztof Duleba wrote: > > I've just upgraded to 1.5.20 to get gvim 7 running and one of my programs > > doesn't work anymore. > > > > I attach simple test case: if you compile foo.cpp and start it from a > > cygwin shell, it should run OK. However, if y

Re: Compilation with cygwin

2006-07-18 Thread Guenther Sohler
Hallo Larry, > Any program compiled with Cygwin can be invoked directly outside of bash. > Some may give better results than others, depending on how you set up your I started cygwin compiled EXE Files from the Windows desktop and they did not run, because some DLL's were not found Does Windows

Re: cygwin 1.5.20 and stalling cygstart

2006-07-18 Thread Markus Schönhaber
Krzysztof Duleba wrote: > I've just upgraded to 1.5.20 to get gvim 7 running and one of my programs > doesn't work anymore. > > I attach simple test case: if you compile foo.cpp and start it from a > cygwin shell, it should run OK. However, if you start it from a windows > shell / windows explorer

Re: cygwin 1.5.20 and stalling cygstart

2006-07-18 Thread Krzysztof Duleba
Krzysztof Duleba wrote: I've just upgraded to 1.5.20 to get gvim 7 running and one of my programs doesn't work anymore. I attach simple test case: if you compile foo.cpp and start it from a cygwin shell, it should run OK. However, if you start it from a windows shell / windows explorer / what

Re: mkpasswd access denied error

2006-07-18 Thread Corinna Vinschen
On Jul 17 15:09, Shaffer, Kenneth wrote: > I tried mkpasswd for the first time in a long time, and now am getting > an access denied error (mkpasswd (264): [5] Access is denied.) after 50 > successful passwd entries. Nothing Cygwin can do anythoung about. The access denied error came directly fro

cygwin 1.5.20 and stalling cygstart

2006-07-18 Thread Krzysztof Duleba
I've just upgraded to 1.5.20 to get gvim 7 running and one of my programs doesn't work anymore. I attach simple test case: if you compile foo.cpp and start it from a cygwin shell, it should run OK. However, if you start it from a windows shell / windows explorer / whatnot, you should see stall

xmgrace fails to start

2006-07-18 Thread Charles L. Werner
H Hi all, Recently I attempted to run the xmgrace application (installed from the xmgrace cygwin package) and it fails to start. After typing the command and after a 1 or 2 second delay, it simply returns with no statement or anything. I went to the location where it is installed: /usr/share/

YOUR INHERITANCE

2006-07-18 Thread GEOFFREY BELL
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/