bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

readline rl_callback problems


From: Adam Luter
Subject: readline rl_callback problems
Date: Sun, 4 May 2003 13:00:20 -0500
User-agent: Mutt/1.3.28i

The attached program does not work.  If the select call ever times out,
you cannot type any more info.  I'm certain it's something wrong with
me; but I can't find any hint in the docs as to what I'm doing wrong.

Also, the commented out section is not necessary to generate the
problem, but I was wondering if it was also an acceptable approach.  The
idea is to clear the line, display the stuff you want to, then tell
readline to clean itself up.  Is there a better way to do this (i.e.
have output display while the user is typing a command)?

Lastly, if you do manage to exit the program (via ctrl-d) before the
timeout, you get two copies of the prompt.  Is there a way to avoid
this?

Thanks verily,
  Adam Luter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]