How does one erase characters in ex mode (':' command line) of (n)vi 1.79 or make 'Backspace' behave as in Vim?
'Backspace' and 'Delete' only move the cursor left, from where new keystrokes overwrite instead of preferably inserting. This is the same for insert mode, but I can use 'Esc' to clear everything after the cursor; 'Backspace' does erase at the shell command line.
I am using (n)vi in xterm in fvwm, each of which are included in a new OpenBSD 7.1 installation. Note that Vim and its vi command, i.e. :set compatible, are not the same implementation as (n)vi. Some places I have searched:
vibehaves when editing a line; Backspace moves the cursor to the left but does not delete characters and subsequently inserted characters overwrites the "deleted" characters. However,viusually removes the remaining deleted characters from the display once one presses Escape. I've ever seen this behaviour inexmode though.xterm -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo erase = ^?; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; time = -; werase = ^W;