Alexander Becher <[EMAIL PROTECTED]> wrote: > Short version: bash-2.05b/lib/readline/display.c:update_line:1353 > calculates _rl_last_c_pos incorrectly if multibyte support is enabled > and there are invisible characters in the line that include zero-width > characters.
There's a similar problem with bash 3.0 - see http://groups-beta.google.com/group/muc.lists.netbsd.users/browse_thread/thread/74cc6170139c4a9d/a8ea4643fdd0e00d?q=netbsd+termcap+bash&rnum=1&hl=en#a8ea4643fdd0e00d I spent enough time analyzing it to see that it's in the same general area. The logic in display.c seems to assume that all of the invisible characters are in one chunk. > I would have loved to include a fix, but that part of readline's code > is incomprehensible to me (for the moment, at least). ;-) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash