[Lunar-commits] <moonbase> readline: Fixes several prompt and bash related issues

Stefan Wold ratler at lunar-linux.org
Mon Oct 26 07:26:34 CET 2009


commit 8f043015ac6b41e3b2acf214a38b71de5d5db58d
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Mon Oct 26 07:26:34 2009 +0100

    readline: Fixes several prompt and bash related issues
    
    Offical patches that fix these issues:
    * FIX: If a SIGWINCH arrives while bash is performing redisplay, multi-line prompts
      are displayed incorrectly due to the display code being called recursively.
    * FIX: When not in a locale supporting multibyte characters, readline will occasionally
      not erase characters between the cursor position and the end of the line
      when killing text backwards.
    * FIX: If the prompt length exactly matches the screen width, and the prompt ends
      with invisible characters, readline positions the cursor incorrectly.
    * FIX: There are occasional cursor positioning errors when using readline's
      horizontal scroll mode.
    
    Patch:
---
 libs/readline/BUILD   |    4 ++++
 libs/readline/DETAILS |   18 +++++++++++++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/libs/readline/BUILD b/libs/readline/BUILD
index c08b33d..bbcfeab 100644
--- a/libs/readline/BUILD
+++ b/libs/readline/BUILD
@@ -1,4 +1,8 @@
 (
+  patch_it $SOURCE2 0 &&
+  patch_it $SOURCE3 0 &&
+  patch_it $SOURCE4 0 &&
+  patch_it $SOURCE5 0 &&
 
   # Real and working fix for readline 5 to 6 upgrade
   # Especially workaround issue when you would like to lin again readline 6 after lining readline 6 already
diff --git a/libs/readline/DETAILS b/libs/readline/DETAILS
index ace9df4..86e96b7 100644
--- a/libs/readline/DETAILS
+++ b/libs/readline/DETAILS
@@ -1,13 +1,29 @@
           MODULE=readline
          VERSION=6.0
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=readline60-001
+         SOURCE3=readline60-002
+         SOURCE4=readline60-003
+         SOURCE5=readline60-004
    SOURCE_URL[0]=$GNU_URL/$MODULE
    SOURCE_URL[1]=ftp://ftp.cwru.edu/pub/bash
    SOURCE_URL[2]=ftp://ftp.gnu.org/pub/gnu/$MODULE
+  SOURCE2_URL[0]=$GNU_URL/$MODULE/readline-6.0-patches
+  SOURCE2_URL[1]=ftp://ftp.cwru.edu/pub/bash/readline-6.0-patches
+  SOURCE3_URL[0]=$GNU_URL/$MODULE/readline-6.0-patches
+  SOURCE3_URL[1]=ftp://ftp.cwru.edu/pub/bash/readline-6.0-patches
+  SOURCE4_URL[0]=$GNU_URL/$MODULE/readline-6.0-patches
+  SOURCE4_URL[1]=ftp://ftp.cwru.edu/pub/bash/readline-6.0-patches
+  SOURCE5_URL[0]=$GNU_URL/$MODULE/readline-6.0-patches
+  SOURCE5_URL[1]=ftp://ftp.cwru.edu/pub/bash/readline-6.0-patches
       SOURCE_VFY=sha1:1e511b091514ef631c539552316787c75ace5262
+     SOURCE2_VFY=sha1:32bba5b3ecf00d461c0a365505501f76ff7a96a5
+     SOURCE3_VFY=sha1:8e6f714e087ef9579814055cba2f9142b0b31b33
+     SOURCE4_VFY=sha1:f1ffdd3ad847272ce37de17494bca1a895ad1a02
+     SOURCE5_VFY=sha1:4fb45252521e063776bef3aecd874a524fc9c4f8
         WEB_SITE=http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
          ENTERED=20010922
-         UPDATED=20090923
+         UPDATED=20091026
            SHORT="Lets users edit command lines as they are typed in"
 
 cat << EOF


More information about the Lunar-commits mailing list