On 2008-05-10 00:03, Drew Sky wrote:
Hello,
I am having trouble using the command line history feature of mclient. After I run a query at the command line, I can't re-use the same query by pressing the up-arrow. From documentation, it seems like I should be able to do this. Is this a feature I should have compiled in, when building from source code?
When I press the up-arrow after a query I get
sql>^[[A
I've tried adding the --history and --interactive options but it doesn't help.
I've also tried changing the terminal setting to other modes (I'm using linux) but this doesn't help either.
Can anyone help me out?
Did you compile this yourself on Linux/Unix? In that case, the feature depends on the presence of the readline library. If you don't have that, or configure didn't find it, the feature will not be present. On Windows, it is the command window that supplies the feature. -- Sjoerd Mullender