attached is a patch to address these issues with rlfe:
- trying to build rlfe on uClibc fails because it lacks sys/stropts.h
- pty.c uses close() but doesnt include
- rlfe.c uses OpenPTY() but doesnt include "extern.h"
- rlfe.c uses wait() but doesnt include
- rlfe/configure sets up LIBS but
> My only concern is whether this patch also affects {non-,}incremental
> searches in emacs mode. But it sure solves the display bugs of doing
> non-incremental searches in vi mode. Thanks for the patch.
I don't tend to use emacs mode. A few quick experiments
definitely show the prompt problem
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Mike Stroyan on 2/3/2006 12:16 PM:
> Description:
> The prompt is corrupted when using the vi Esc/ history search.
> This happens when the prompt contains non-printing characters
> marked by the \[ \] delimiters.
>
> Fix