Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jan 2002 02:57:25 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        rene@xs4all.nl
Cc:        questions@FreeBSD.ORG, djed@chilli.net.au, anne@ibb.net
Subject:   Re: console 'spcial keys' interpretation. WAS: re: screen package interpreting backspace as ~
Message-ID:  <3C36DC15.7030906@owt.com>
References:  <20020105112226.L15007@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help


rene@xs4all.nl wrote:

>>----- Original Message -----
>>From: <rene@xs4all.nl>
>>To: <questions@FreeBSD.ORG>
>>Sent: Wednesday, September 05, 2001 5:59 PM
>>Subject: screen package interpreting backspace as ~
>>
>>
>>
>>>Hi. I'm running screen version 3.09.08 (FAU) 1-Sep-00, and would like to
>>>teach it to interpret the backspace key as being backspace, instead of
>>>'~'
>>>


Try stty erase '^h'


Kent


> 
> I'm using:
> $ bash --version
> GNU bash, version 2.05.0(1)-release (i386--freebsd4.4)
> 
> I've looked at several possible solutions to this; none work so far.
> 
> 1=
> ==
> 
> On Thu, Sep 06, 2001 at 12:16:56PM +0200, Christoph Sold wrote:
> 
>>stty erase <Ctl>-V <Backspace>
>>
> 
> let's try:
> BASH:
>  $ stty erase <Ctl>-V <Backspace>
> bash: syntax error near unexpected token `<Backspace>'
> 
> SCREEN:
>  $ stty erase <Ctl>-V <Backspace
> bash: Ctl: No such file or directory
> 
> 2=
> ==
> 
> So that tip I can't get to work... :(
> Searched google.com for some time, got dazed by the complexity of unix
> terminals and finally found
> http://www.ibb.net/~anne/keyboard/keyboard.html
> 
> But those tips listed there do not work 100% correct for Screen.
> instead, Screen now interprets <backspace> as <delete>, which might be
> considered 'better', but I'm still not happy! ;-)
> 
> I think this must be because somehow my bash config files aren't being read
> in when screen is started; at least my aliases are not available....
> 
> somehow, it does seem to use /etc/inputrc though (could be because the parent
> Bash process used it).. 
> <delete> (stty erase2) is now interpreted correctly, and <backspace> (stty 
> erase) has become <delete>.
> 
> Anne says that 
>   $ bind "\C-?": backward-delete-char
> should fix this type of problem on the fly, but alas; screen stays stubborn.
> 
> I could use some more tips... ;-)
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> .
> 
> 


-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://users.owt.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C36DC15.7030906>