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

2003-05-27 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

RE: quoting windows pathnames

2003-05-27 Thread Gary R. Van Sickle
> The following warning is enough to discourage me: > > WARNING: Microsoft strongly recommends against renaming any system > folder. Catastrophic system failure or an unstable computer could > result if you rename system folders. What if you never changed the names and still have catastrophic syst

RE: Behavior of stat() changed from NT to Win2000/XP

2003-05-27 Thread Gary R. Van Sickle
[snip] > The mutt developers aren't particularly concerned with Cygwin or > Windows, so they don't regard this as an issue. I don't see why this is > a mutt problem. They assume that stat() works correctly. I'm not sure > who's responsible for the Cygwin build of mutt, or for including it in >

Re: getting cron to work -> status too large for sendmail?

2003-05-27 Thread Pierre A. Humblet
On Tue, May 27, 2003 at 04:08:34PM -0700, linda w (cyg) wrote: > > Perhaps one problem might be that in addition to the normal WinXP env vars that would > be defined for a user, I started cron from one of my cygwin shell windows, so it > would > have inherited all of the env vars from personal lo

Re: binmode() workaround; non ":raw" default- is this a bug or bydesign?

2003-05-27 Thread Igor Pechtchanski
On Tue, 27 May 2003, Tom Rodman wrote: > > > to review.. the problem (UNIX style lines converted to DOS): > --v-v--C-U-T---H-E-R-E-v-v-- > bash-2.05b$ printf "\r\n\n"|perl -pe '1;'|od -a > 000 cr nl cr nl > 004 > > work around: > --v-v--

Re: Question about "rexec"

2003-05-27 Thread Andrew DeFaria
Max Bowsher wrote: Andrew DeFaria wrote: Max Bowsher wrote: Andrew DeFaria wrote: All that this says is to insure that you have ntsec set. I have it set. chmod still doesn't work! BTW I'm on Windows XP and use NTFS. My home directory is on the server (/us is a mount of ///).

Re: ENOTSOCK errors with cygwin dll 1.3.21 and 1.3.22

2003-05-27 Thread Abraham Backus
Thomas and Corinna, Thanks for the rapid turn-around on this issue :) I've built from cvs today with your fixes and my problems have gone away. I had problems not only with inetd, but also when accessing cvs repositories via "pserver" paths. I really appreciate this and all the wonderful work e

RE: getting cron to work -> status too large for sendmail?

2003-05-27 Thread linda w \(cyg\)
I'll have to try the script -- since my first attempt really is a simple script. I wrote a simple 17 line script that take a filename argument, opens it, reads 1 line that it expects to be a number, increments the number and rewrites it to the file, and closes it. So my crontab looks like: # For

Re: Question about "rexec"

2003-05-27 Thread Max Bowsher
Andrew DeFaria wrote: > Max Bowsher wrote: >> Andrew DeFaria wrote: >>> All that this says is to insure that you have ntsec set. I have it set. >>> chmod still doesn't work! BTW I'm on Windows XP and use NTFS. My home >>> directory is on the server (/us is a mount of ///). >> >> Aha! Then have a lo

Re: Question about "rexec"

2003-05-27 Thread Andrew DeFaria
Max Bowsher wrote: Andrew DeFaria wrote: Larry Hall (RFK Partners, Inc.) wrote: Andrew DeFaria wrote: Bill C. Riemers wrote: You might also want to check the ownership of your home directory and .ssh directory, as that is the only thing I can think of that would cause th

Re: quoting windows pathnames

2003-05-27 Thread Andrew DeFaria
Bill C Riemers wrote: Silly question but why do you _have_ to use paths with spaces in them under Windows XP? It's possible to change e.g. the default programs directory from e.g. C:\Program Files\ to C:\Programs\, the same stands for the other standard directories. OK. You have me curious.

Re: Question about "rexec"

2003-05-27 Thread Andrew DeFaria
Igor Pechtchanski wrote: Or you could just look at the FAQ: Why doesn't chmod work? All that this says is to insure that you have ntsec set. I have it set. chmod still doesn't work! BTW I'm on Windows XP and use NTFS. My home directory is on the s

RE: getting cron to work -> status too large for sendmail?

2003-05-27 Thread Harig, Mark
cron does not use sendmail for mail delivery. It uses a small program call ssmtp. Before trying to get cron to send email, be sure that it is working properly without it. Try a simple cron job such as: * * * * * pwd >> /tmp/pwd.txt or * * * * * /usr/bin/date >> /tmp/date.txt or * * * * * /

binmode() workaround; non ":raw" default- is this a bug or by design?

2003-05-27 Thread Tom Rodman
to review.. the problem (UNIX style lines converted to DOS): --v-v--C-U-T---H-E-R-E-v-v-- bash-2.05b$ printf "\r\n\n"|perl -pe '1;'|od -a 000 cr nl cr nl 004 work around: --v-v--C-U-T---H-E-R-E-v-

Re: Cygwin symlinks with .lnk suffix

2003-05-27 Thread andrew brian clegg
On Fri, 23 May 2003, Igor Pechtchanski wrote: > IIRC, the new-style Cygwin symlinks are Windows shortcuts with the R/O > attribute set -- check if it's set on your shortcuts (note, this has > nothing to do with permissions -- you'll have to check in Explorer). If > the attribute is not set, find

Re: Cygwin GCC linking Python extensions issue

2003-05-27 Thread Jason Tishler
Dave, On Tue, May 27, 2003 at 10:45:22AM -0400, David Abrahams wrote: > Jason Tishler <[EMAIL PROTECTED]> writes: > >> boost_python.dll\gcc\debug-python\runtime-link-dynamic\boost_python.lib" > >> "c:\build\libs\ > >> > >> python\build\bin\boost_python.dll\gcc\debug-python\runtime-link-

getting cron to work -> status too large for sendmail?

2003-05-27 Thread linda w \(cyg\)
I was trying to get cron to work -- it looks like it is invoking something on a regular basis, however, it is also trying to send the 1 line of output of cron job to the owner. In the process it includes the entire environment (in this case of the user who started cron, me). It includes the envir

Your Message to Bonzi.com has an Attachment [T2003052700T4]

2003-05-27 Thread TechSupport
=== IMPORTANT! The message that you have sent to BONZI Software has a file attached to it. Due to the high level of virus messages we are currently receiving, your message has been discarded. Please reply to this message, make sure that there are no attachments to the message,

printf "\n"|perl -pe '1;'|od -a #perl 5.8 converts to *DOS* text :-

2003-05-27 Thread nicebounce
IMHO the perl v5.6.0 that came w/1.3.20 worked correctly. In the test case below perl 5.8.0 is converting UNIX text to DOS text - (this is breaking our old scripts). Comments please. -- thanks/regards, Tom # run below to get my address: perl -e 'print unpack("u", "\.\=\$\!T\http://cygwi

RE: crontab error

2003-05-27 Thread Harig, Mark
Please re-run the cron_diagnose.sh script to see if it can find any problems. > -Original Message- > From: Chuck Hamilton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 27, 2003 8:44 AM > To: [EMAIL PROTECTED] > Subject: Re: crontab error > > > I do have the utilities and I was able to c

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

2003-05-27 Thread Randall R Schulz
Peter, Make sure your scripts explicitly state /bin/bash as their shell. The default shell (i.e. /bin/sh) under Cygwin is ash, not BASH. It produces the diagnostic you mention when given that command. Randall Schulz At 00:56 2003-05-27, Peter Oosterlynck wrote: When using a line like "for (( i

Re: Cygwin GCC linking Python extensions issue

2003-05-27 Thread David Abrahams
Jason Tishler <[EMAIL PROTECTED]> writes: > Dave, > > On Fri, May 23, 2003 at 08:20:38AM -0400, David Abrahams wrote: >> Recently I've begun to see the following link errors when building >> some of the Boost.Python test suite extension modules using Cygwin gcc >> (version 2 or 3, doesn't matter)

Segmentation fault in cygwin_split_path()

2003-05-27 Thread Tricha Anjali
Hello,   I am running cygwin on a WinXP laptop. I have a C++ program that I am compiling using g++. Upon execution from the prompt, the program just exits without any output. In the code, I first check the argc variable and print an error if the count is not correct. However, the executable exits