Does ntpq have a command line history mechanism?

Matthew Selsky Matthew.Selsky at
Sat Dec 23 06:45:47 UTC 2017

On Fri, Dec 22, 2017 at 06:42:00AM -0500, Eric S. Raymond via devel wrote:
> Hal Murray via devel <devel at>:
> > 
> > I was expecting one, but I get things like this:
> > ntpq> ^[[A^[[A^[[B
> > ***Command `' ambiguous
> > ntpq> 
> > 
> > That was up-arrow, up-arrow, down-arrow
> > 
> > Is there some package I need to install?
> Up arrow and down arrow should work already.  I am shocked to find that
> they do not.
> This is a serious regression.  Who removed the import of readline, and why?

I removed it.  See:

The Cmd module should be importing readline for us, when available, since 2001. See:

@Hal, can you double-check that the readline python module is importable on your system?  You might need libedit or GNU readline installed.

Would it help to add an informational check for this python module in waf's configure?


More information about the devel mailing list