aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/readline.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index 4afb22da6..f7d5d96f9 100644
--- a/chapter06/readline.xml
+++ b/chapter06/readline.xml
@@ -43,6 +43,13 @@
<screen><userinput>sed -i '/MV.*old/d' Makefile.in
sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
+ <para>Readline contains a bug in its handling of non-multibyte characters,
+ which can lead to incorrect display calculations and incorrect redisplay.
+ Fix this issue by applying the following patch from the upstream maintainer:
+ </para>
+
+<screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
+
<para>Prepare Readline for compilation:</para>
<screen><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>