Ken Moffat wrote:
On Thu, Mar 19, 2015 at 09:44:01PM -0500, Bruce Dubbs wrote:
Ken Moffat wrote:
I feel like a newbie, please be gentle :)

LOL.

I've now got kde running on this machine, and mostly configured.
I'm hoping to use it here.  Previously I had tried kde in qemu and
persuaded myself that it might be usable.  ISTR that I managed to
configure the keyboard in konsole so that the backaspace key worked
correctly.  But that was with the versions in January or February,
not the versions in BLFS-7.7.

Now, using backspace in vim merges the next line onto the end of the
current line, although using :u seems to undo it.  But I cannot find
the setting to configure it - 'Settings' at first gave me some
options _without_ the useful option to change backspace, but with a
weird option to do something like 'do not ask again', but now I
cannot even get that.

Don't you configure the keyboard in the console before you enter Xorg?  Do
the keys work for vim in that environment?  The keys codes are controlled by
loadkeys.

Yes, I was only asking about konsole.  It is mostly correct, it's
just using backapace when I'm on the last visible character on a
line which is broken.

By the way, in vim, you can just press 'u' in normal mode to undo.  No need
to go to ex mode with :undo (or :u).
Yes, but when I key backaspace at EOL it deletes the EOL instead of
backspacing

I do note that in konsole there is a Settings-> Configure Current Profile ->
Input panel that does allow changing keycode combinations.  Backspace should
be 0x7f (DEL) there.

I think my reply crossed with yours, but I'm still finding things
slightly odd.  OTOH, I'm probably using konsole more than I did when
I tested kde in qemu - I think that I was mostly using rxvt unicode
there, but here I have not started that, trying to unlearn the
things that my fingers default to.  I guess I might get used to it.

It seems to be more than just fingers. I seem to remember needing at times to swap the del key and backspace key.

On my system the proper sequence is:

With the lines

abcde
12345
vwxyz

If the cursor is on 5

BS Normal: cursor backs up to 4
BS Insert: 4 is erased and the 5 moves left one character.  Cursor still on 5.
DEL Normal: 5 is is erased and cursor backs up to the 4
DEL Insert: 5 is erased and cursor is now on a blank space (actually EOL)

If the cursor is to the right of 5 (only in insert mode):

Backspace deletes 5 and cursor moves left 1.
Delete removes the EOL so we get

abcde
12345vwxyz

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to