Backspace key not working in RCS
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 <file>" 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
On Jan 31, 12:52 pm, T <g41... [at] motorola.com> 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 <file>" 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
T wrote:
> On Jan 31, 12:52 pm, T <g41... [at] motorola.com> 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 <file>" 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 <backspacekey>
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
On Feb 1, 7:31 am, "Joachim Schmitz" <nospam.j... [at] schmitz-digital.de>
wrote:
> T wrote:
> > On Jan 31, 12:52 pm, T <g41... [at] motorola.com> 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 <file>" 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 <backspacekey>
>
> 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