Re: Cygwin-1.7.7: mv appends .exe to directory if matching .exe exists

2011-01-04 Thread David Mastronarde
On Tue, 4 Jan 2011, Eric Blake wrote: On 01/04/2011 09:27 AM, David Mastronarde wrote: When there is a directory and an executable with the same name, mv adds .exe when renaming the directory: % mkdir test2 % cd test2 % mkdir package-3.1.1 % touch package-3.1.1.exe % mv package-3.1.1

tcsh 6.15.00 loses DOS line ending crossing 32768 byte boundary

2009-03-03 Thread David Mastronarde
When a tcsh script has DOS line endings and a line ending falls in bytes 32767 and 32768, the line ending is lost. I discovered this with a script passing shell input to a program using the construct, and have reproduced the problem with a script (bigscript) that passes 4 lines of input to

tcsh 6.15.00: errors running scripts with DOS line endings

2009-03-03 Thread David Mastronarde
For some scripts having DOS line endings, particularly long ones or ones with while loops, tcsh jumps to the wrong place occasionally. I reported this problem 4 years ago and it was fixed for the test script that I provided then, but the problem has persisted with more complex scripts. I

tcsh executing .com files under Cygwin DLL 1.5.21

2006-10-03 Thread David Mastronarde
Error: No program name given[B3DTOSHI] ~ 40 % [B3DTOSHI] ~ 41 % bash bash-3.1$ diskcomp bash: diskcomp: command not found Is this the way you want tcsh to behave or is it a side-effect of some other changes? This is under Windows XP. David Mastronarde -- Unsubscribe info: http://cygwin.com

Re: downgrading make version

2006-09-20 Thread David Mastronarde
I tried this version and it solved two problems that I had with dependencies being incorrectly interpreted as target patterns. But then I got another problem. In my Makefile I have: (CP) = \cp install: $(PROGS) $(CP) $(PROGS) $(INSTBINDIR) And I get from make install: \cp nda.exe

Re: sed 4.1.5 adds extra CR with input file path in Windows format

2006-06-27 Thread David Mastronarde
On Sun, 25 Jun 2006, Dave wrote: David Mastronarde wrote: After upgrading sed from 4.1.4 to 4.1.5, I found that line endings were being converted from CRLF to CRCRLF when the input file was specified with a windows file path: % sed -e 's/g5a/setname/g' 'c:\cygwin\home\mast/sedtestin

Re: sed 4.1.5 adds extra CR with input file path in Windows format

2006-06-27 Thread David Mastronarde
On Tue, 27 Jun 2006, Dave Kilroy wrote: On 6/27/06, David Mastronarde wrote: On Sun, 25 Jun 2006, Dave wrote: David Mastronarde wrote: After upgrading sed from 4.1.4 to 4.1.5, I found that line endings were being converted from CRLF to CRCRLF when the input file was specified

sed 4.1.5 adds extra CR with input file path in Windows format

2006-06-24 Thread David Mastronarde
e . s t \r \r \n 071 Converting the path to cygwin format eliminated the problem. Thanks. David Mastronarde Cygwin Configuration Diagnostics Current System Time: Sat Jun 24 14:19:33 2006 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: .\ C:\cygwin

Re: tar fails with some combinations of line ending and binmode setting

2006-02-20 Thread David Mastronarde
On Mon, 20 Feb 2006, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to David Mastronarde on 2/18/2006 10:55 PM: With CYGWIN set to binmode, tar fails on the archive of DOS files created under nobinmode. With CYGWIN set to nobinmode, tar fails on the archives

tar fails with some combinations of line ending and binmode setting

2006-02-18 Thread David Mastronarde
to untar under Linux and OSX also. All the other archives are OK by this test. Thanks. David Mastronarde Cygwin Configuration Diagnostics Current System Time: Sat Feb 18 16:55:56 2006 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: .\ C:\cygwin\usr\local\bin

tar fails with some combinations of line ending and binmode setting

2006-02-18 Thread David Mastronarde
to untar under Linux and OSX also. All the other archives are OK by this test. Thanks. David Mastronarde#!/bin/csh -f # Make a file cat EOF ! test1 A few lines of words with returns at the ends EOF # Make copies with dos and unix line endings dos2unix test1 \cp test1 unix1 \cp

Re: Problem with echo in tcsh 6.13.00-2 in Cygwin 1.5.10 (fwd)

2004-07-16 Thread David Mastronarde
On Fri, 16 Jul 2004, David Mastronarde wrote: On Mon, 12 Jul 2004, David Mastronarde wrote: The latest version of tcsh has a problem with the built-in echo. When echo is used to write to a file from within a script, and then the script runs a program that attempts to open the file

Problem with echo in tcsh 6.13.00-2 in Cygwin 1.5.10 (fwd)

2004-07-12 Thread David Mastronarde
with permission denied. The problem occurs only with tcsh 6.13, not tcsh 6.12 (see two output files). I am running Windows XP SP1. Thanks. David Mastronarde echobug.tar.gz Description: GNU Zip compressed data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Can run.exe be packaged separately from X?

2004-06-10 Thread David Mastronarde
programs use Qt). Could the run program be moved into another package so that it installs in /bin instead of /usr/X11R6/bin? Alternatively, could the dependencies be changed so that X-startup-scripts can be selected by itself without invoking the rest of X? David Mastronarde Boulder Laboratory

Re: Can run.exe be packaged separately from X?

2004-06-10 Thread David Mastronarde
On Thu, 10 Jun 2004, Volker Quetschke wrote: Hi! I recently discovered the great advantages of rxvt and then found that the run program is useful for running it from an icon. Maybe I miss something, but you don't need run to start rxvt from an icon. This is what I did: Create a

RE: Can run.exe be packaged separately from X?

2004-06-10 Thread David Mastronarde
the properties of your shortcut. On the 'Shortcut' tab look at the entry in the 'Run:' field. It should say 'Normal window' but probably says 'Minimized'. -Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Mastronarde Sent: Thursday

RE: 1.5.9: tcsh 6.12.00 parses scripts wrong with DOS line endings

2004-04-17 Thread David Mastronarde
On Sat, 10 Apr 2004, Ross Boulet wrote: -Original Message- From: cygwin-owner On Behalf Of David Mastronarde When csh scripts have DOS line endings, tcsh 6.12.00 sometimes parses them incorrectly. This seems to happen with scripts that have while loops, once

1.5.9: tcsh 6.12.00 parses scripts wrong with DOS line endings

2004-04-09 Thread David Mastronarde
, it jumps back up to the middle of a line before the loop: = unsigned int If the variable setting section of the script is made smaller, such as by removing the first 13 lines, the problem goes away. This problem has been present for the past year at least. David Mastronarde Boulder Laboratory for 3-D