[OpenIndiana-discuss] vi backspace remapping weirdness

Reginald Beardsley pulaskite at yahoo.com
Sat Dec 10 01:54:12 UTC 2011


Having gotten comfortable w/ OI after using it for  9 months I recently upgraded from 148 to 151 and am configuring it to match my main system running Solaris 10 U9.  OI is on a nettop dedicated to Internet access w/ my other systems on an isolated LAN. I use a KVM to toggle between the two & a ZFS USB disk to move files.

I find myself in an argument w/ vi.  At first I thought vim was guilty, but both /usr/ucb/vi and traditional vi compiled from source are doing this.

.login, .cshrc & .exrc  and the xterm terminfo definition are the same as my Solaris 10 system.  It's the same Macally keyboard running through a KVM switch.  I'm using twm on the Solaris 10 box but gnome on the OI, just in case that's relevant.

stty is set w/ erase=^h

Everything works fine in the shell or web text window, but when I get in vi, the delete key (normal backspace location, Mac label, deletes to left) doesn't work when I'm in insert mode.  Instead I get ^? in the file.  If I type ^h it works as expected.  Outside of vi it's fine.

So how and why is OI remapping the key that produces ^h everywhere else to ^?

More importantly, how do I make it behave?  I'm quite baffled.

Thanks,
Reg




More information about the OpenIndiana-discuss mailing list