xboard-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XBoard-devel] Connecting to ICS through gateway broken?


From: John Cheetham
Subject: Re: [XBoard-devel] Connecting to ICS through gateway broken?
Date: Mon, 13 Jun 2011 12:27:44 +0100 (BST)

> >> Interestingly, the current command line parsing
> rejects "" for some
> >> reason:
> >>
> >>
> >> $ xboard -gateway localhost -ics -icshost
> freechess.org -remoteUser ""
> >> xboard: No value provided for argument
> -remoteUser
> >>
> >>
> >> That's a bug too -- "" is an empty string; it's
> not "no value".
> > This is not something we can help. It is the shell
> that does this. Empty
> > strings in the settings file work perfectly. So the
> internal parser seems
> > OK.
> Are you sure? I would think that if you have an argument
> ""
> then the shell would pass the empty string as the
> corresponding argument
> to main.
> 
> Michel
> 

I could be wrong but is this one of those times when you need to use the 
backslash as in:

xboard -gateway localhost -ics -icshost freechess.org -remoteUser \"\"

I know there have been issues before with special characters in the shell. 'man 
bash' will probably explain more.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]