Re: behaviour of for (( exp1; exp2; exp3 )); do COMMANDS; done

2003-05-29 Thread Harald Maier
Sam Edge [EMAIL PROTECTED] writes: Harald Maier [EMAIL PROTECTED] wrote: (OT) Does anyone know if any of the common shells, when they see #!/bin/ at the front of a script, try a $PATH search for an executable if they can't find /bin/? This would seem like a good idea to me

Re: behaviour of for (( exp1; exp2; exp3 )); do COMMANDS; done

2003-05-28 Thread Harald Maier
Peter Oosterlynck [EMAIL PROTECTED] writes: When using a line like for (( i=1 ; i=5 ; i+=1 )); do echo $i; done in a bash script one expects to get a list of figures ranging from 1 to 5 right? I've never had problems with such constructs on my Linux machine but when doing this in a cygwin

Re: behaviour of for (( exp1; exp2; exp3 )); do COMMANDS; done

2003-05-28 Thread Harald Maier
Sam Edge [EMAIL PROTECTED] writes: Stuart Brady [EMAIL PROTECTED] wrote in [EMAIL PROTECTED] in gmane.os.cygwin on Tue, 27 May 2003 13:07:18 +0100: On Tue, May 27, 2003 at 12:42:21PM +0100, Sam Edge wrote: Make sure that if your script uses Bash-specific features, it starts with

perldoc prints control characters

2003-04-05 Thread Harald . Maier . BW
If I run the following command: $ perldoc Getopt::Long Then I get too printed the nasty control characters, e.g.: ESC[1mNAMEESC[0m Getopt::Long - Extended processing of command line options I am not sure if this is related to perl 5.8.0-2 I looked into my

Re: perldoc prints control characters

2003-04-05 Thread Harald . Maier . BW
Gerrit P. Haase [EMAIL PROTECTED] writes: In perl-5.8.0-2 perldoc is patched to always use the -t switch, your perldoc is not the perldoc from perl-5.8.0-2. Uups, you are right. It was a 4 year old perldoc from /usr/local/bin. I have cleaned up the files and now all works fine. Thanks for the

Re: gdb 2003-03-03-cvs gets always a segmentation fault

2003-03-29 Thread Harald . Maier . BW
[EMAIL PROTECTED] writes: Hello all, I installed the latest cygwin release and then I now start the debugger I am getting always a segmentation fault. Any hints? FYI. I did a reinstall for all packages that are labeled with 'keep' in the installation tool and now all works fine. Harald

Re: [h-e-w] Re: Possible bug in Emacs 21.3

2003-03-29 Thread Harald . Maier . BW
Hello David, I tried your patch below with emacs-21.3 and emacs cvs head and it works very fine with gcc 3.2 and the latest cygwin release. So hopefully the patch is soon included into cvs. Thanks for your fast reply. Harald David Ponce [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote:

gdb 2003-03-03-cvs gets always a segmentation fault

2003-03-28 Thread Harald . Maier . BW
Hello all, I installed the latest cygwin release and then I now start the debugger I am getting always a segmentation fault. Any hints? Harald GNU gdb 2003-03-03-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License,

Re: Possible bug in Emacs 21.3

2003-03-28 Thread Harald . Maier . BW
The following message is a courtesy copy of an article that has been posted to gnu.emacs.bug as well. Peter Milliken [EMAIL PROTECTED] writes: I have downloaded the source of 21.3 and built it on a PC running Win2000 and using the Cygwin distribution and following the INSTALL instructions in