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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
18 matches
Mail list logo