[OpenIndiana-discuss] vi backspace remapping weirdness

Reginald Beardsley pulaskite at yahoo.com
Sat Dec 10 02:01:23 UTC 2011


Never mind.  I just realized it's the gnome-terminal playing w/ my mind :-(

--- On Fri, 12/9/11, Reginald Beardsley <pulaskite at yahoo.com> wrote:

> From: Reginald Beardsley <pulaskite at yahoo.com>
> Subject: [OpenIndiana-discuss] vi backspace remapping weirdness
> To: openindiana-discuss at openindiana.org
> Date: Friday, December 9, 2011, 7:54 PM
> 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
> 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 



More information about the OpenIndiana-discuss mailing list