all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ergus <spacibba@aol.com>
To: help-gnu-emacs@gnu.org,Javier <invalid@invalid.invalid>
Subject: Re: Best terminal emulator for emacs?
Date: Mon, 10 Sep 2018 11:33:22 +0200	[thread overview]
Message-ID: <04EA9F7A-CC4F-4B6C-AD1E-4B25E3F4D752@aol.com> (raw)
In-Reply-To: <pmm2kv$e8j$1@gioia.aioe.org>

Sorry for the delay. Thank you very much. I also wrote to the xterm maintainer but his recomendation was:

-----
You might be able to make it work by prefixing with "~Meta".
The xmodmap manual page explains how to assign a key (such as Alt to "Meta").
-----

So I am working with your recomendation until a better option or a fully compatible terminal emulator appears.



On 4 September 2018 15:51:27 CEST, Javier <invalid@invalid.invalid> wrote:
>Ergus <spacibba@aol.com> wrote:
>> I can use any terminal emulator (available in linux) but not emacs
>> in gui (it is a long story).
>
>Firewall at $JOB? slow network?  Sometimes even editing remote
>files with tramp is not an option.
>
>If the network is slow you may want to disable a few things in
>recent versions of emacs.  It becomes very annoying when copying text.
>
>(when (and (not (display-graphic-p))
>           (>= emacs-major-version 25))
>  (setq  select-enable-clipboard nil)
>  (setq  x-select-enable-clipboard-manager nil)
>  (setq  select-enable-primary t)
>  (setq  mouse-drag-copy-region t))
>
>> It will be very useful if anyone tells me what's the better terminal
>emulator
>
>XTerm, but it doesn't pass some some key combinations as escape
>sequences
>and you need to specify them explicitly in the translations resource.
>
>Somebody should tell the XTerm maintainer to pass more key
>combinations as escape sequences.  Either that or including a
>comprehensive sample of the 'xterm.vt100.translations' resource in the
>emacs documentation.
>
>Try this
>
>xterm -xrm \
>    'xterm.vt100.translations:     #override \n\
>    Ctrl ~Shift <Key>BackSpace: string(0x1b) string("C-BackSpace") \n \
>    Ctrl  Shift <Key>BackSpace: string(0x1b) string("C-S-BackSpace")' \
>  -e emacs -nw --execute='
> (progn (define-key function-key-map "\eC-BackSpace"   [C-backspace])
>      (define-key function-key-map "\eC-S-BackSpace" [C-S-backspace]))'
>
>C-h l (view lossage) will tell you if it works
>
> ESC C - B a c k S p a c e [backward-kill-word]
> ESC C - S - B a c k S p a c e [kill-whole-line]
>
>Paste the snippets in ~/.Xdefaults and ~/.emacs.  Remember to run
>'xrdb -merge ~/.Xdefaults'
>
>Be careful with the vt100.translations string.  It is like a
>programming language in itself.  The order of lines sometimes changes
>the result.  Have a look at 'man xterm' and
>/usr/share/emacs/*/lisp/term/xterm.el.gz


  parent reply	other threads:[~2018-09-10  9:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.347.1536025189.1284.help-gnu-emacs@gnu.org>
2018-09-04 13:51 ` Best terminal emulator for emacs? Javier
2018-09-04 14:18   ` Yuri Khan
2018-09-10  9:33   ` Ergus [this message]
2018-09-04  0:12 Ergus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=04EA9F7A-CC4F-4B6C-AD1E-4B25E3F4D752@aol.com \
    --to=spacibba@aol.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=invalid@invalid.invalid \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.