I've resolved the issue by updating my xterm .Xdefaults file with:

   XTerm*ttyModes:         erase ^?
   XTerm*VT100.Translations: \
           #override <Key>BackSpace: string(0x7f) \n\
                  <Key>Delete:    string(0x1b) string("[3~")



as explained here: http://www.hypexr.org/linux_ruboff.php

Tony Bargnesi

On Sun, Jun 3, 2012 at 8:57 AM, Anthony Bargnesi <abargn...@gmail.com>wrote:

> Hi Jean-Baptiste,
>
> Thanks for responding.  I have tried issuing the reset command after karaf
> exits, but the backspace problem persists.
>
> I did find something interesting with the reset command though.  If I run
> "reset -r"
> of a new terminal to view the terminal type it reports:
>
> Terminal type is xterm-256color.
> Erase is backspace.
>
> Then if I run "reset -r" after karaf shuts down I only receive:
>
> Terminal type is xterm-256color.
>
>
> It seems like the backspace key has been remapped by Karaf.
>
> Thanks!
> Tony Bargnesi
>
> On Sat, Jun 2, 2012 at 1:43 AM, Jean-Baptiste Onofré <j...@nanthrax.net>wrote:
>
>> Hi Anthony,
>>
>> Could you try:
>>
>> $ reset
>>
>> after Karaf shutdown.
>>
>> Does it solve your issue ?
>>
>> Regards
>> JB
>>
>>
>> On 06/01/2012 05:10 PM, Anthony Bargnesi wrote:
>>
>>> Hello,
>>>
>>> I am having an issue with my backspace key mapping after a karaf
>>> shutdown.  The backspace key appears to be mapped differently as a "^H"
>>> is displayed instead.  The process I've used to reproduce the issue is:
>>>
>>> -- BACKSPACE works correctly before karaf is run --
>>> [tony@starship ~]$ karaf
>>>         __ __                           ____
>>>        / //_/____ __________ _/ __/
>>>       / ,<  / __ `/ ___/ __ `/ /_
>>>      / /| |/ /_/ / /  / /_/ / __/
>>>     /_/ |_|\__,_/_/   \__,_/_/
>>>
>>>   Apache Karaf (2.2.7)
>>>
>>> Hit '<tab>' for a list of available commands
>>> and '[cmd] --help' for help on a specific command.
>>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>>>
>>> karaf@root> list
>>> START LEVEL 100 , List Threshold: 50
>>>    ID   State         Blueprint      Level  Name
>>> karaf@root> osgi:shutdown
>>> Confirm: shutdown instance root (yes/no):
>>> yes
>>> karaf@root>
>>> [tony@starship ~]$ ls -lh^H^H   -- two presses of backspace
>>> -- BACKSPACE works incorrectly after karaf shuts down --
>>>
>>> Has anyone seen this behavior or are aware of this issue?
>>>
>>> I am running karaf on Arch Linux using xterm.
>>>
>>> Thanks!
>>> Tony Bargnesi
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbono...@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>

Reply via email to