Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Using Crafty on WindowsXP

Author: F. Huber

Date: 12:16:30 07/06/02

Go up one level in this thread


On July 06, 2002 at 12:57:44, Daniel Clausen wrote:

>On July 06, 2002 at 12:07:53, F. Huber wrote:
>
>>On July 06, 2002 at 10:41:37, Daniel Clausen wrote:
>>
>>>On July 05, 2002 at 23:16:34, Robert Hyatt wrote:
>>>
>>>[snip]
>>>
>>>>It is impossible.  There is a logpath variable you can set, but unfortunately,
>>>>microsoft chose to make a brain-dead decision to allow spaces (blanks) in
>>>>filenames.  This breaks my parsing in crafty and I refuse to fix something that
>>>>is so basically flawed...
>>>
>>>??? What is so bad about allowing blanks in filenames? I know an OS family which
>>>allows any character except the slash and '\0' to be part of a filename and it's
>>> a good thing.
>>>
>>>A confused Sargon
>>
>>It´s clear, that you are not a programmer!
>
>Please don't let my company know. Otherwise I might lose my job. ;)
>
>
>>Think about the following:
>>How should a parsing routine (for a command line string) detect, if a blank
>>would be a separator between 2 arguments OR a character within a filename?
>>(Of course quoting each string would be a solution for that problem!)
>
>I'm well aware of this "problem" and you already mentioned the solution to it.
>Of course when Crafty get its arguments on on big line and everything is
>unquoted, there's nothing he can do. But it's not the space in the filename to
>blame then, it's the caller to blame, that he didn't quote the stuff properly.
>
>M$ did a lot of brain-dead decisions in the past (and they no doubt will in the
>future. Palladium anyone? :) but allowing spaces in filenames doesn't belong to
>them. Every OS _I_ know allows that. (Mac, all Unix systems, Windows) The fact
>that many programmers ignore that and for example write shell-scripts under Unix
>which break when working on files containing spaces doesn't automatically mean
>having spaces in filenames is a bad thing. (typically 'advanced' people don't do
>that, but many 'normal' people do that. and I can't/won't blame them for that)
>
>Maybe I misunderstood Bob or quoted him completely out of context though.
>
>Sargon

Hi Daniel,

sorry, excuse my words - they were absolutely not intended to be unfriendly!

But your (maybe too short) answer to Bob´s message actually sounded to me,
as if you didn´t understand what (and why) he really wanted to say with it.
So I only tried to explain - I hope, I didn´t offend you.

As for the problem with your company, I think the chance is not very big,
that they read these postings - and I would NEVER inform them :-))

Best regards to Switzerland from your Austrian neighbour,
Franz.




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.