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

Re: backspace key under X in vim



Stuart Marshall hat gesagt: // Stuart Marshall wrote:

> Hi,
> 
> There have been previous discussions on this topic but I never quite
> understood them.  As near as I can tell, an "out of the box" hamm/frozen
> system has the backspace key configured differently than it was in
> Debian 1.3.

You can read about this in Debian-Policy under
http://www.debian.org/doc/debian-policy/ch3.html#s3.8
Chapter 3.8 Keyboard configuration

I quote: 
" [...] all programs in the Debian distribution have to be configured 
to comply with the following
   guidelines.

   Here is a list that contains certain keys and their interpretation:

   <--
          delete the character to the left of the cursor
     
   Delete
          delete the character to the right of the cursor "

> The particular example that concerns me most is under the application
> "vim".  When I am editing a file and in insert mode, the backspace
> key deletes the character under the cursor instead of the character to
> the left of the cursor.  This is extremely annoying.  I have "fixed"
> the problem locally by placing the line "keycode 0x16 =  Delete" in my
> /etc/X11/Xmodmap file but the problem persists when logged in remotely
> on a Solaris machine running a standard X11R6.3 xterm.  I don't know
> whether to blame vim, X, Debian, or the readline lib setup, but I just
> want the backspace key to do what it has always done (until now).

If your vim-version does not work as policy demands, it is buggy and 
you [c|sh]ould write a bug report.

> So I have two requests.  Can someone explain how Debian thinks it
> should be.  And more important to me, can anybody tell me how to make
> the backspace key delete the character to the left of the cursor (both
> locally and remotely).

Maybe the vim-command :fixdel could help you.
-- 
   	              		<a href="http://www.einblick.de/";>
  Frank Barknecht		Das Koelner Stadt- und Unimagazin
  >-------------<		</a>


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: