bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] Problem with wrapped lines


From: Anand Chavali
Subject: [Bug-readline] Problem with wrapped lines
Date: Thu, 21 Jun 2007 09:49:37 -0400

Hi,

I'm seeing a problem with readline version 4.1 (included largely as-is
in the application I'm working on) running on an embedded system
running VxWorks. I've started to see this while attempting to turn on
line-wrapping.

Here's what happens once the line wraps around -

i. If I were to move back along the second line past the first column
using the left arrow key or C-b, instead of redisplaying the
multi-line text with the cursor position on the last column of the
first line, readline overwrites the second line (starting from the
second column) with the first line of the text.

ii. If I were to move back to the first line using C-a, it essentially
does the same thing, except that now it prints the first line on top
of the second, but starting the column after the point from where I
type C-a.

Also, in both cases, it only redisplays the first line not the second.
To get to the second I need to move forward past the wraparound point
(using the right arrow key or C-f) and even then it only prints the
character that the cursor has moved to.

I wasn't able to get auto-wrapping to work until I set term_up to be
non-null. It didn't seem to matter what I set it to and I did not know
what a good value would be, so I've set it to C-a for now. I'm
guessing that this might be the cause of the misbehavior I'm seeing,
but am not certain. If it is, could someone please suggest a good
value to use for term_up? And if it isn't, could someone please tell
me what I need to do to correct the problem I'm seeing?

Thanks,
Anand




reply via email to

[Prev in Thread] Current Thread [Next in Thread]