[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: del in vi
okay, i found this under man xterm:
backarrowKeyIsErase (class BackarrowKeyIsErase)
Tie the VTxxx backarrowKey and ptyInitialErase
resources together by setting the DECBKM state
according to whether the initial value of stty
erase is a backspace or delete character. The
default is ``false'', which disables this feature.
backarrowKey (class BackarrowKey)
Specifies whether the backarrow key transmits a
backspace or delete character. This corresponds
to the DECBKM control sequence. The default
(backspace) is ``true.'' Pressing the control key
toggles this behavior.
but i am not certain what to do with them :)
they arent flags to xterm, and i guess they would be used like set stty
stuff under csh? which i am only vaguely familiar with. anyone know the
rest of the puzzle?
On Wed, 13 Sep 2000, Jordan Bettis wrote:
> On Wed, 13 Sep 2000, Charles Menzes wrote:
>
> > i am running xterm in enlightenment. for some reason, when i run vi on a
> > file, the backspace key does not perform a regular delete function
> > (deleting the character to the left of the cursor). instead it deletes the
> > character to the right of the cursor.
> > from the command line, the key works as it should. is there a setting
> > within vi that needs to be set for this? or is this something specific to
> > my term settings?
>
> This is a common problem with Unix, the backspace and delete keys are
> sometimes swapped by the terminal. I don't know how to change xterm to
> use the proper sequence, but in gnome-terminal (what I use), there is a
> box "switch DEL/Backspace keys" option in the settings/preferences menu.
>
> IIRC, the problem was because System V and BSD used different sequences
> for backspace, the One True Backspace was never authoritivly stated so we
> got the current mess.
>
> How do you know you're using Unix?
>
> "Because the backspace key doesn't work" -seen on Slashdot
>
> Jordan Bettis.
> "Probably the best operating system in the world is the [operating system]
> made for the PDP-11 by Bell Laboratories." - Ted Nelson, October 1977
>
> -
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.
>
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.