[Monetdb-developers] clients on windows 32...

Martin Kersten Martin.Kersten at cwi.nl
Sat Oct 13 09:09:59 CEST 2007


Stefan Manegold wrote:
> Hi,
>
> in Kambiz' case, the error message is not complaining about an extra space,
> but about the '\' as first character on the line.
>   
No, the error indicates that '\' is sent to the server, where the MAL parser
does not recognize it as a legal start. '\' as first characters are already
trapped in the basic readClient() function, before the parser
takes control.
That's why I am suspicious if there is a leading blanc character.
> Hence, the usual questions:
>
> Kambiz,
>
> which version of MonetDB are you using, and how did you install it --- if I
> recall correctly from previous mails, you did install using the
> monetdb_install.sh script, right, and hence use the super source tarball?
> But which version?
>
> Further, a simple 
> 	mclient -l mal --help
> (with a running mserver5) will reveal whether readline support (and hence
> \h) is indeed enabled in your build of MonetDB.
>
> Finally, do other \* commands work?
>
> Stefan
>
>
> On Sat, Oct 13, 2007 at 08:21:01AM +0200, Martin Kersten wrote:
>   
>> darabi at web.de wrote:
>>     
>>> Hello,
>>>
>>>   
>>>       
>>>>> Why the option
>>>>> \h      - show the readline history
>>>>>
>>>>> mclient.exe -lsql --help
>>>>>
>>>>> Is not available on windows? Is an design feature or a bug?
>>>>>       
>>>>>           
>>>> There is no readline on Windows, nor a need for it.
>>>>     
>>>>         
>>> is \h supposed to work on Linux (Ubuntu feisty)?
>>>
>>> I get:
>>>
>>> $ mclient -l mal -d demo -H
>>> mal>\h
>>> MAPI  = monetdb at localhost:50000
>>> QUERY = \h
>>> ERROR = !SyntaxException:parseError:\h
>>>         !SyntaxException:parseError:^<identifier> expected
>>>
>>> However, readline functionality is present: Ctrl-p, Ctrl-n, Ctrl-a, Ctrl-e
>>> all work correctly.
>>>
>>>
>>>   
>>>       
>> Problem NOTconfirmed on Fedora. It works with both empty/non-empty 
>> history file.
>> However, '\' should be the first character of the line, otherwise you 
>> indeed get
>> the error being mentioned. Please check. If it fails then a deeper 
>> analysis of the
>> Ubuntu version is needed.
>>
>> mk at gio::~> mclient -l mal -d demo -H
>> mal>\h
>> mal>io.print(1);
>> [ 1 ]
>> mal>\h
>> 1 \h
>> 2 io.print(1);
>> mal>\h
>> 1 \h
>> 2 io.print(1);
>> 3 \h
>> mal> \h
>> MAPI  = monetdb at localhost:50000
>> QUERY =  \h
>> ERROR = !SyntaxException:parseError: \h
>>         !SyntaxException:parseError:^<identifier> expected
>> mal>
>>
>>     
>>> Kambiz
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>> _______________________________________________
>>> Monetdb-developers mailing list
>>> Monetdb-developers at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>>>   
>>>       
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Monetdb-developers mailing list
>> Monetdb-developers at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>>
>>
>>     
>
>   





More information about the developers-list mailing list