Hello,
Does anybody know how I should use stty or any other command in order to
be able to use the backspace key in emacs for backward deleting? It is
interpreted as ^h and I cannot get used to it.
Thank you,
Rafal
Does anybody know how I should use stty or any other command in order to
be able to use the backspace key in emacs for backward deleting? It is
interpreted as ^h and I cannot get used to it.
Thank you,
Rafal
Ummm...Quote:> Hello,
> Does anybody know how I should use stty or any other command in order to
> be able to use the backspace key in emacs for backward deleting? It is
> interpreted as ^h and I cannot get used to it.
> Thank you,
> Rafal
stty erase ^h
--
Well, that's my $0.02 worth
Matt
> > Hello,
> > Does anybody know how I should use stty or any other command in order to
> > be able to use the backspace key in emacs for backward deleting? It is
> > interpreted as ^h and I cannot get used to it.
> > Thank you,
> > Rafal
> Ummm...
> stty erase ^h
> --
> Well, that's my $0.02 worth
> Matt
I've just tried it... in theory, there's a Lisp variable called
`help-char' that by default has the value of 8. However, simply
redefining that variable to another value, like putting
(setq help-char 4)
into your .emacs doesn't do the trick. Seems you also need to remap
the help-map keybinding map. As i wrote, it's easier to get used to
use DEL for rubout everywhere.
--
cheers, J"org / 73 de DL8DTL
Never trust an operating system you don't have sources for. ;-)
> Does anybody know how I should use stty or any other command in order to
> be able to use the backspace key in emacs for backward deleting? It is
> interpreted as ^h and I cannot get used to it.
> Thank you,
> Rafal
--
Monday, I posted a question relating to the following:
I'm trying to use stty to set the values of a terminal that I then
want to open with an application I've written.
I "stty blablabla < /dev/tty00" and when I then look at it with
"stty -a < /dev/tty00", it's values are as they were before my first
stty.
Several people have told me that this is the way it's supposed
to work. As I now understand it, the stty opens the port and sets
it's values, but closes the port, undoing the changes, when it
exits.
I've looked at the man page for stty, and I just don't get it.
Is there a way to set a port's values, then open that port in
an app while preserving those values, and set additional values
with tcsetattr?
I've been contracted to do a small project. I would like the
user to change the com port values without setting entries for
tcsetattr, and then recompiling. My client wants this program to
be portable between Solaris to DOS, and I want to minimize the
volume of code in conditional compile clauses.
Thanks
Larry
4. Help - Spurious Interrupt 8259a IRQ 7 errors (lots of them)!!
10. stty questions
11. Stty questions for serial port modem