Re: FC4: backspace does not work in vi

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

 



On Sat, Aug 13, 2005 at 05:08:48PM -0500, akonstam@xxxxxxxxxxx wrote:

>>  On Wed, Jun 15, 2005 at 10:49:06PM +0200, Alexander Volovics wrote:
>>  > On Wed, Jun 15, 2005 at 03:48:38PM +0200, Alexander Dalloz wrote:
>>  > 
>>  > > Am Mi, den 15.06.2005 schrieb Alexander Volovics um 13:25:
>>  >  
>>  > > > What happened to 'backspace' in vi.
>>  > > > This works as it should in 'gnome-terminal' but backspace
>>  > > > in vi in an xterm gives ''.
>>  >  
>>  > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155538
>>  > 
>>  > Thanks for the reference. Using the last suggestion, adding
>>  > '*ttyModes: erase ^?' to XTerm, fixed backspace when using vi(m)
>>  > in an xterm. 
>>  > 
>>  > But it does not work when using vi under mutt in an xterm!
>>  > There backspace still produces '^?'.
>>  > 
>>  > Alexander
>>  That is strange because it changes the action of backspace both in
>>  normal vi and in mutt for me.

Is there any possibility you have an "stty" command to set the erase
character, in a .bash_profile or similar startup file somewhere?
For a long time I did this, setting the erase character to control-H,
and intermittently had the symptom the OP describes.  I took the line
out after reading relevant bits of a HOWTO on keyboard and console
issues, and things seem to be better.

-- blm


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux