Re: 'cp' utility bug when .exe file exist.

2010-06-10 Thread Andrey Repin
Greetings, Julio Costa! >>>And this is where my head got reeeally spinning... can anyone, please, >>>explain the reason to why this .exe magic exists, anyway? >> >> It's already been explained in this very thread. >> > I'm must be getting pretty dense. > The only explanation I already had seen wa

Re: 'cp' utility bug when .exe file exist.

2010-06-10 Thread Andrey Repin
Greetings, Julio Costa! >And this is where my head got reeeally spinning... can anyone, please, >explain the reason to why this .exe magic exists, anyway? >> >> As far as I understand it, the original reason for it was that Windows >> 9x always required it. Of course Cygwin 1.7 no longer s

Re: 'cp' utility bug when .exe file exist.

2010-06-10 Thread Andrey Repin
Greetings, Eric Blake! > Meanwhile, we can't get away from .lnk magic, but that produces orders > of magnitude less complaints on the list, so I'm not as worried about it. .lnk works just fine without extension. And easily distinguishable from first few bytes read. -- WBR, Andrey Repin (anrdae

setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread prakash babu
I have a web application which runs as SYSTEM user in windows. It executes the following command using Java Runtime.exec api's C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' The command executes fine but I get the following warning. cygwin warning: MS-DOS style path detec

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread Eric Blake
On 06/10/2010 05:55 AM, prakash babu wrote: > I have a web application which runs as SYSTEM user in windows. > It executes the following command using Java Runtime.exec api's > C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' > > The command executes fine but I get the followi

Re: EMACS key mapping problem

2010-06-10 Thread Ken Brown
On 6/10/2010 12:30 AM, Steven Woody wrote: On 9 June 2010 21:01, Ken Brown wrote: On 6/9/2010 5:11 AM, Steven Woody wrote: Hi, When I hit C-x C-c and intend to exit cygwin, but I get only an error message: "C-x C-g" is undefined. What's the problem? And, How can I exit from emacs? You're

Server 2008 permission denied on creating files of certain extensions.

2010-06-10 Thread Jason Pyeron
I can create almost any file, but when the extension is of the "executible" nature to windows I get a permission denied error. I tried to create a manifest file (like http://bugs.gobolinux.org/view.php?id=381) to have tar request admin access, but no luck. Any suggestions? bash-3.2$ tar xf /cygd

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread prakash babu
True, but what about existing applications. Since this warning comes in the error stream the command is considered as failed in the existing application. thanks, Prakash --- On Thu, 6/10/10, Eric Blake wrote: > From: Eric Blake > Subject: Re: setting CYGWIN=nodosfilewarning not working. > To:

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread Andy Koppe
On 10 June 2010 12:55, prakash babu wrote: > I have a web application which runs as SYSTEM user in windows. > It executes the following command using Java Runtime.exec api's > C:/cygwin/bin/sh.exe -c C:/cygwin/bin/mkdir.exe -p 'C:/cygwin/tmpdir' > > The command executes fine but I get the following

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread prakash babu
I tried setting it in the under the System Variables section but still I am getting this warning. Is there any other way to set the CYGWIN env variable. thanks, Prakash --- On Thu, 6/10/10, Andy Koppe wrote: > From: Andy Koppe > Subject: Re: setting CYGWIN=nodosfilewarning not working. > T

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-10 Thread Larry Hall (Cygwin)
On 6/10/2010 11:57 AM, prakash babu wrote: I tried setting it in the under the System Variables section but still I am getting this warning. Is there any other way to set the CYGWIN env variable. It's unclear if you're running this as a service or not. If you are, you need to restart the se

Re: mintty screen size problem

2010-06-10 Thread Steven Woody
On 10 June 2010 13:27, Andy Koppe wrote: > On 10 June 2010 06:07, Steven Woody wrote: >> I found some windows native command-line programs can not run in >> mintty, while they can in the old cygwin shell window. >> >> For example, there is a windows command line application, slrn,  (a >> nntp news

Re: EMACS key mapping problem

2010-06-10 Thread Steven Woody
On 10 June 2010 20:06, Ken Brown wrote: > On 6/10/2010 12:30 AM, Steven Woody wrote: >> >> On 9 June 2010 21:01, Ken Brown  wrote: >>> >>> On 6/9/2010 5:11 AM, Steven Woody wrote: Hi, When I hit C-x C-c and intend to exit cygwin, but I get only an error message: "C-x C-g"

Re: mintty screen size problem

2010-06-10 Thread Larry Hall (Cygwin)
On 6/10/2010 1:09 PM, Steven Woody wrote: On 10 June 2010 13:27, Andy Koppe wrote: The workaround is to invoke such programs through 'cygstart'. Alternatively, the 'conin' wrapper mentioned in that thread should work fairly well for Python. Thanks. 'cygstart' works, but I have to type t

Re: mintty screen size problem

2010-06-10 Thread Steven Woody
On 11 June 2010 01:18, Larry Hall (Cygwin) wrote: > On 6/10/2010 1:09 PM, Steven Woody wrote: >> >> On 10 June 2010 13:27, Andy Koppe  wrote: > > > >>> The workaround is to invoke such programs through 'cygstart'. >>> Alternatively, the 'conin' wrapper mentioned in that thread should >>> work fai

Re: mintty screen size problem

2010-06-10 Thread Larry Hall (Cygwin)
On 6/10/2010 1:21 PM, Steven Woody wrote: On 11 June 2010 01:18, Larry Hall (Cygwin) wrote: On 6/10/2010 1:09 PM, Steven Woody wrote: On 10 June 2010 13:27, Andy Koppewrote: The workaround is to invoke such programs through 'cygstart'. Alternatively, the 'conin' wrapper mentioned in

R: Cygwin Octave / Octave Forge image functions

2010-06-10 Thread Marco Atzeri
--- Gio 10/6/10, James Eric Pruitt ha scritto: > Whenever I use any of the image > functions in Octave, it begins to spew > out a bunch of exceptions. I have an X server running and > the DISPLAY > environment variable set but it doesn't make a difference. > Sample output > can be found at http

Re: 'cp' utility bug when <dest-name>.exe file exist.

2010-06-10 Thread Eric Backus
Eric Blake writes: > A first step would be teaching gcc to not append .exe. Many configure > scripts (certainly almost all scripts based on autoconf) determine > $(EXEEXT) based on gcc behavior, and will just do the right thing > throughout the rest of the build with $(EXEEXT) empty (as evidenced

Cygwin Octave / Octave Forge image functions

2010-06-10 Thread James Eric Pruitt
Whenever I use any of the image functions in Octave, it begins to spew out a bunch of exceptions. I have an X server running and the DISPLAY environment variable set but it doesn't make a difference. Sample output can be found at http://pastebin.com/m7SS1MwV but here is the stack dump and en ex

Re: 'cp' utility bug when <dest-name>.exe file exist.

2010-06-10 Thread David Antliff
On Fri, Jun 11, 2010 at 10:26, Eric Backus wrote: > As a side note, this same kind of reasoning is why I think Cygwin bash should > default the igncr option to on. I agree - using git with core.autocrlf=true (a controversial setting in itself, but one that you're stuck with if you choose to use it

Re: Cygwin Octave / Octave Forge image functions

2010-06-10 Thread James Eric Pruitt
On Thu, Jun 10, 2010 at 08:57:35PM +, Marco Atzeri wrote: > --- Gio 10/6/10, James Eric Pruitt ha scritto: > > > Whenever I use any of the image > > functions in Octave, it begins to spew > > out a bunch of exceptions. I have an X server running and > > the DISPLAY > > environment variable s

Re: mintty screen size problem

2010-06-10 Thread Steven Woody
On 11 June 2010 01:31, Larry Hall (Cygwin) wrote: > On 6/10/2010 1:21 PM, Steven Woody wrote: >> >> On 11 June 2010 01:18, Larry Hall (Cygwin) >>  wrote: >>> >>> On 6/10/2010 1:09 PM, Steven Woody wrote: On 10 June 2010 13:27, Andy Koppe    wrote: >>> >>> >>> > The workaround is to

Image fuction bug in Octave-3.2 in Vista x86

2010-06-10 Thread James Eric Pruitt
When using octave in Windows Vista with a fresh install of Cygwin 1.7.5, executing the image function causes octave to crash immediately and produce a dump. On the same machine, after being told by someone that the problem wasn't present when they ran Cygwin on their Windows XP system, I instal

Re: Image fuction bug in Octave-3.2 in Vista x86

2010-06-10 Thread James Eric Pruitt
The cygcheck output is now attached. On Thu, Jun 10, 2010 at 07:11:31PM -0500, James Eric Pruitt wrote: > When using octave in Windows Vista with a fresh install of Cygwin 1.7.5, > executing the image function causes octave to crash immediately and > produce a dump. On the same machine, after be

Re: mintty screen size problem

2010-06-10 Thread Larry Hall (Cygwin)
On 6/10/2010 8:06 PM, Steven Woody wrote: On 11 June 2010 01:31, Larry Hall (Cygwin) wrote: On 6/10/2010 1:21 PM, Steven Woody wrote: On 11 June 2010 01:18, Larry Hall (Cygwin) wrote: On 6/10/2010 1:09 PM, Steven Woody wrote: On 10 June 2010 13:27, Andy Koppe wrote: The workaroun

Re: mintty screen size problem

2010-06-10 Thread Reid Thompson
On 6/10/2010 8:06 PM, Steven Woody wrote: On 11 June 2010 01:31, Larry Hall (Cygwin) wrote: On 6/10/2010 1:21 PM, Steven Woody wrote: On 11 June 2010 01:18, Larry Hall (Cygwin) wrote: On 6/10/2010 1:09 PM, Steven Woody wrote: On 10 June 2010 13:27, Andy Koppe wrote: The wor

Re: Image fuction bug in Octave-3.2 in Vista x86

2010-06-10 Thread Marco Atzeri
--- Ven 11/6/10, James Eric Pruitt ha scritto: > The cygcheck output is now attached. > > On Thu, Jun 10, 2010 at 07:11:31PM -0500, James Eric Pruitt > wrote: > > When using octave in Windows Vista with a fresh > install of Cygwin 1.7.5, > > executing the image function causes octave to crash >