Thread View: gnu.emacs.help
2 messages
2 total messages
Started by Jozsef Banati
Fri, 22 Jan 1993 15:07
Demacs questions
Author: Jozsef Banati
Date: Fri, 22 Jan 1993 15:07
Date: Fri, 22 Jan 1993 15:07
21 lines
1491 bytes
1491 bytes
Hi,
Could someone help me please to solve the following problems in
Demacs? I use it on a 386 PC.
(1) How to stop beeping? Based on the Emacs-FAQ, I tried to insert this
line into termcap file " :vb=:" and set variable "visible-bell" t
without any effect.
(2) How can I bind "delete-backward-char" to BackSpace (BackArrow?) key?
Now Ctrl-BackSpace calls this function. I think, normally "help" is
assigned to the BackSpace key in Demacs, but bobcat swaps it.
(3) Is there any "better" dired than v.4.53 (if I remember well) for
Demacs and how to install it? This was included in Demacs distribution
package.
Let me note that I have no experinece with lisp programming...
Thank you very much for your time. --Jozsef--
---------------------------------------------------------------------------
E-Mail: Banati@sisu.lut.fi Lappeenranta University of Technology
Finland
---------------------------------------------------------------------------
Re: Demacs questions
Author: Kevin Gallagher
Date: Mon, 25 Jan 1993 03:42
Date: Mon, 25 Jan 1993 03:42
33 lines
2161 bytes
2161 bytes
In article <BANATI.93Jan22100739@kobra.cc.lut.fi> banati@lut.fi (Jozsef Banati) writes:
> Could someone help me please to solve the following problems in
> Demacs? I use it on a 386 PC.
> [stuff deleted]
>(2) How can I bind "delete-backward-char" to BackSpace (BackArrow?) key?
> Now Ctrl-BackSpace calls this function. I think, normally "help" is
> assigned to the BackSpace key in Demacs, but bobcat swaps it.
On a PC, the Backspace key and the Left Arrow (BackArrow) keys do NOT generate
the same characters. There are independent of each other.
After loading bobcat.el, the Backspace key still generates a C-h and the
CTRL-Backspace key combination still generates a DEL character, as before.
The file bobcat.el tell Demacs to INTERPRET a C-h character AS IF a DEL
character were entered and to INTERPRET a DEL character AS IF a C-h were
entered. So, after bobcat.el is loaded, pressing the Backspace key will
invoke delete-backward-char. Pressing CTRL-Backspace will invoke help.
Now, if you really want to bind delete-backward-char to the left arrow key, it
can be done, but I can't imagine WHY you would want to do this! Nevertheless,
this should work:
(defun my-key-bindings ()
(define-key global-map "\C-@K" 'delete-backward-char))
(setq term-setup-hook 'my-key-bindings)
in your .emacs file.
--
----------------------------------------------------------------------------
Kevin Gallagher kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads