[Mulgara-dev] TqlSession changes
Brian Sletten
brian at bosatsu.net
Tue Nov 4 00:33:18 UTC 2008
Hi, Alex, thanks for checking this out. I will look into the problems
you are having, but I wanted to address a few points.
> 1. In production, I never use the default "server1" server name. In
> addition to
> specifying a hostname for querying graphs for auto-completion, it
> would be nice
> to override the default server name and RMI registry port.
This is why I am going to be focusing on a new shell that allows you
to connect to servers like:
connect <rmi://localhost/server1>;
At that point, we will query the models for that server. That should
solve your problem more conveniently than having to override
individual values.
You can connect to a different server at any time.
I will go ahead and add these to the TqlSession shell too so you can
benefit from it sooner than later.
> 2. No messages are actually flushed to the console until a query is
> successfully
> executed. For instance, I start the shell and type "help;" and hit
> enter -
> nothing happens. I type in a query and hit enter, and then the help
> message is
> displayed, followed by the query results. The same thing happens
> when there is
> an error parsing or executing a command - the error message is not
> displayed
> until a query actually completes.
I'll see if I can fix this in the short-term, but I will certainly
make the new shell work like this.
> 3. I can get into a weird state where I can't exit the shell with
> the "quit"
> command. The most reliable way to reproduce this is to open a new
> shell, type
> in a query with a syntax error and hit enter. Entering "quit;" at
> the next
> command prompt does not do anything. There seems to be something
> screwy going
> on with the command splitting or something like that.
I think right now CTRL-D is the only thing that shuts it down, but I
will make sure quit works as well.
> All in all though, the Swing-less command shell is a much-anticipated
> improvement. Thanks!
Sure. I think people will like it. I've waited years for this
capability!
I plan to add typical shell "!" commands (last select, last load, last
connect, etc.), history management, etc.
If anyone else thinks of desired features, let me know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20081103/b9cd475a/attachment.htm>
More information about the Mulgara-dev
mailing list