Backspace key not working in RCS
Backspace key not working in RCS
am 31.01.2008 18:52:32 von g4173c
Greetings:
For some reason my backspace key doesn't work when I'm checking a file
into RCS? I have
stty erase '^H'
in my .login file and it works fine in the shell (tcsh), but when I do
a "ci -u " and type in a comment I can't use the backspace key
and CTRL-H doesn't work either. I'm working on RH5... Any ideas?
Thanks
Tom
Re: Backspace key not working in RCS
am 01.02.2008 13:17:56 von g4173c
On Jan 31, 12:52 pm, T wrote:
> Greetings:
>
> For some reason my backspace key doesn't work when I'm checking a file
> into RCS? I have
>
> stty erase '^H'
>
> in my .login file and it works fine in the shell (tcsh), but when I do
> a "ci -u " and type in a comment I can't use the backspace key
> and CTRL-H doesn't work either. I'm working on RH5... Any ideas?
>
> Thanks
> Tom
This also doesn't work in ssh ....
Re: Backspace key not working in RCS
am 01.02.2008 13:31:57 von Joachim Schmitz
T wrote:
> On Jan 31, 12:52 pm, T wrote:
>> Greetings:
>>
>> For some reason my backspace key doesn't work when I'm checking a
>> file into RCS? I have
>>
>> stty erase '^H'
>>
>> in my .login file and it works fine in the shell (tcsh), but when I
>> do a "ci -u " and type in a comment I can't use the backspace
>> key and CTRL-H doesn't work either. I'm working on RH5... Any ideas?
>>
>> Thanks
>> Tom
>
> This also doesn't work in ssh ....
Then most probably your emulation isn't sending ^H when you press the
backspace key, quite a few send ^? instead
Try (interactively):
stty erase
check whether it works now, if so check stty -a to see what erase has been
set to. Put that into your .login file
Bye, Jojo
Re: Backspace key not working in RCS
am 01.02.2008 19:12:15 von g4173c
On Feb 1, 7:31 am, "Joachim Schmitz"
wrote:
> T wrote:
> > On Jan 31, 12:52 pm, T wrote:
> >> Greetings:
>
> >> For some reason my backspace key doesn't work when I'm checking a
> >> file into RCS? I have
>
> >> stty erase '^H'
>
> >> in my .login file and it works fine in the shell (tcsh), but when I
> >> do a "ci -u " and type in a comment I can't use the backspace
> >> key and CTRL-H doesn't work either. I'm working on RH5... Any ideas?
>
> >> Thanks
> >> Tom
>
> > This also doesn't work in ssh ....
>
> Then most probably your emulation isn't sending ^H when you press the
> backspace key, quite a few send ^? instead
>
> Try (interactively):
> stty erase
>
> check whether it works now, if so check stty -a to see what erase has been
> set to. Put that into your .login file
>
> Bye, Jojo
After much cursing, I've found the problem. It's the gnome terminal. I
switch to use xterms
and everything worked fine. Read my .login and the backspace key was
correct.
To fix this in the gnome terminal go to: "Edit->Current Profile..." go
to the Compatibility tab and
set the "Backspace key generates:" to ASCII DEL. (at least this one
worked for me). The default is
Control-H.
Thanks for the help!
-T