[Top][All Lists]

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

Re: problem using backspace / inserting characters in pre-filled multili

From: Thomas Dickey
Subject: Re: problem using backspace / inserting characters in pre-filled multiline fields
Date: Sun, 4 Sep 2005 11:31:26 -0400 (EDT)

On Sun, 4 Sep 2005, Frank van Vugt wrote:

When this happens, using backspace on say the second row will only delete
characters up untill the first column of the second row, i.e. the cursor
will *not* wrap to the end of the first row. Also, inserting characters on
the first row simply won't work anymore.

Is this known behaviour?

That last part doesn't sound like something I've seen.  I'm looking into
it now.

ncurses-5.4-20050903.patch.gz solves the backspace part of the problem,
allthough deleting characters on the end of say the second row won't bring
words from the beginning of the third row back to the second as soon as there
is enough space, but that may be a bit too much for the existing logic in the
code, I haven't checked.

yes - I'm not that familiar with that slice of the code.  I compared to
Solaris and noticed that it would not automatically wrap text to the next
line (given the same options), and compared against ncurses 5.2 to see
whether the difference was due to one of my own changes, and decided that it was not. But since it wasn't doing the expected thing for backspacing
over wrapped text, I modified it to do this.

Let me clarify the insert part of the problem a bit more. It's not the first
row per se, it's all rows that end with a character of a word that 'normally'
would have been wrapped. These lines don't accept any (regular) characters
anywhere (they do accept backspace now).

I think I understand. At the moment I'm mostly concerned with ironing out isolated bugs for the 5.5 release, but this is something to investigate
and improved.

Thomas E. Dickey

reply via email to

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