Hi, in Kambiz' case, the error message is not complaining about an extra space, but about the '\' as first character on the line. 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@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@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@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@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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |