[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mingw-cross-env-list] [PATCH] Fix readline runtime behavior
From: |
Martin Lambers |
Subject: |
[Mingw-cross-env-list] [PATCH] Fix readline runtime behavior |
Date: |
Wed, 21 Jan 2015 21:08:41 +0100 |
Hi everyone,
an application using readline currently experiences runtime
problems. For example, backspace does not work. This is because
pdcurses, which readline currently uses to get information about a
terminal, does not really implement tgetent() and friends; they are only
stubs. Google "pdcurses readline backspace" for more information.
First I tried using ncurses instead, but then the application crashes.
I did not try to debug.
I simply added libtermcap and made readline use that. Yes, it is
ancient, but it works fine...
Patch attached.
Regards,
Martin
0001-Add-package-termcap-and-make-readline-use-it-instead.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Mingw-cross-env-list] [PATCH] Fix readline runtime behavior,
Martin Lambers <=