* "dumb" terminal of daemon intefering with backspace/del keys
@ 2011-02-14 6:09 Giorgos Keramidas
2011-02-14 8:57 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Giorgos Keramidas @ 2011-02-14 6:09 UTC (permalink / raw)
To: emacs-devel
Hi all,
I am trying to run an Emacs daemon process in the background, but it
breaks backspace / DEL key handling in amusing ways. I start by
launching the daemon:
gkeramidas:~$ echo $TERM
xterm-256color
gkeramidas:~$ utf-emacs --daemon
("/opt/emacs/bin/emacs")
Ido mode disabled
Loading vc...
Loading vc...done
Starting Emacs daemon.
But then in new text frames created by the daemon process TERM is set to
the "dumb" terminal type.
gkeramidas:~$ emacsclient -e '(getenv "TERM")'
"dumb"
This means that instead of `DEL' my laptop's backspace key generates
`C-d' in new text frames. So instead of typing backspace to invoke
`delete-backward-char', I now get `delete-char' from the keyboard's
backspace key.
Is there any way to reconfigure the terminal type to "xterm-256color"
when new text frames are created? More importantly, if this is not
possible, is there a way to avoid the dump vs. xterm differences when
using daemon mode?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "dumb" terminal of daemon intefering with backspace/del keys
2011-02-14 6:09 "dumb" terminal of daemon intefering with backspace/del keys Giorgos Keramidas
@ 2011-02-14 8:57 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2011-02-14 8:57 UTC (permalink / raw)
To: Giorgos Keramidas; +Cc: emacs-devel
Giorgos Keramidas <keramida@ceid.upatras.gr> writes:
> But then in new text frames created by the daemon process TERM is set to
> the "dumb" terminal type.
>
> gkeramidas:~$ emacsclient -e '(getenv "TERM")'
> "dumb"
This is correct. Emacs does not provide a terminal more capable than a
dumb terminal, unless you use M-x term or M-x terminal-emulator.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-14 8:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-14 6:09 "dumb" terminal of daemon intefering with backspace/del keys Giorgos Keramidas
2011-02-14 8:57 ` Andreas Schwab
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.