From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Re: Best terminal emulator for emacs? Date: Mon, 10 Sep 2018 11:33:22 +0200 Message-ID: <04EA9F7A-CC4F-4B6C-AD1E-4B25E3F4D752@aol.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536572011 24230 195.159.176.226 (10 Sep 2018 09:33:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2018 09:33:31 +0000 (UTC) User-Agent: K-9 Mail for Android To: help-gnu-emacs@gnu.org,Javier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 10 11:33:27 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzIZR-0006Ee-Kt for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Sep 2018 11:33:25 +0200 Original-Received: from localhost ([::1]:50565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzIbX-0006Qb-Qd for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Sep 2018 05:35:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzIaP-0006Q6-5K for help-gnu-emacs@gnu.org; Mon, 10 Sep 2018 05:34:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzIZV-0000X4-H6 for help-gnu-emacs@gnu.org; Mon, 10 Sep 2018 05:33:32 -0400 Original-Received: from sonic302-20.consmr.mail.ir2.yahoo.com ([87.248.110.83]:43452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzIZV-0000VR-32 for help-gnu-emacs@gnu.org; Mon, 10 Sep 2018 05:33:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1536572007; bh=IkM3EqgyhqsEBAKVDRjReA8sVmcgXSp89yg60pcLZdU=; h=Date:In-Reply-To:References:Subject:To:From:From:Subject; b=TXks/cPagChgtB9+qyHjce0hACwMvZGgb/zPVMtXuKgbaY5UrqL3L+6Emyrcork7lW2UKQH9EgXEr5YodK+IhT22d4xVjLzQxWiAoQ9DnAzZeoMgfSxOcjhjULShzfRMpFs3bjmHB1xf2DyHNnwIXdhaxyO+x3uYaNmhcoWBegYakex2sjLtjHrdHspL4Bl23YfzUUW2qYaz9xj3OLz+L0GOPGzP1tolHLLf2VMj6X3PdRl4XnJQ+JqZJ/AlUTVEunrnsEOvtjgNmPgVDKa9ojXEuxwQdnz3rGOXQ6uNSeGutySxuXmM27zkmC9AAQrXrnsrUwTX8WawAJyBuDOpAQ== X-YMail-OSG: tMu2V7cVM1k_F1GZhzKlCfCWOzPG.GP5PVMXzHuhWhR69bBJc0cctLrHjWRhxye vOkKyPe0.27YdX_VbRtRNylBS9gzXGRAfRkw_f_mF3DafXgkQI0qG10pIjDU7tjZfQT2dBWZVme8 ih03iUH8SYxYWp.0S7sekS98UC0DKUADXLhauvsIRWVgOkPgrU1rpySQKZQH2am6pagtlfopi8SG M9ZLanxSp7D2jTgit7xZZ9rcBn7ww32BlCNdCaWuVaadRJoa.J3g8MrQ9NHDofVvtRbnFy7gfHxu pnkwoe1OVPOWUEcrCDI.wSbnQrOeGXbDJ5bRbM0Lz6LzcXj74AY4lfM_WF49RkzcPv2qT6drvAhG PqiAGl.fKxglALeq2V9_I5GdLowMLiHaKrNSlHTjGTKJyLzykTTzlt9q4pKt27NOh6xLstkmhC3w HFfv01G1A97jfSUgNxPX0L4W.QqofUsPMJ_p91WiHHDYin4WFZn7uLzoJ4sCtjes.I7aADdlN9t3 3wqRWlM5JqVge5cQFwE8NbBOKxOvdzOnCQmzOUTyPnbILY5oXFzyBF3JVEStQlRgJLnjQ5VP3Fea 9USxKUWzP6he8nS.UGAVPIMX1p7jQ7NOseOnRSNAdeLERYXOsBdWK3sAyQ.4BYOb_w_6IqiV2SsJ Q0IYAhQEc9N1LvQlSM3mCFh0ubjn0dVqropVKlHQnChDU4fqZKNYhQEST1oaIt7PAe3vna2qdePO _uqjzEop3ZrpHY5VTJtkdw8a.Y8nsSEe3KOIiv9lrjJguTcaVUbDrr7EIaJe7KmGeltebQktgYdj TO0H7WhVYxAjIUfvcJTViNXigpawOAbCSh5fscMCdh Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Mon, 10 Sep 2018 09:33:27 +0000 Original-Received: from 2.152.205.184.dyn.user.ono.com (EHLO [192.168.1.6]) ([2.152.205.184]) by smtp418.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID ea77dafed486e75743f040f7c6821c28; Mon, 10 Sep 2018 09:33:25 +0000 (UTC) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 87.248.110.83 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117860 Archived-At: Sorry for the delay=2E Thank you very much=2E I also wrote to the xterm mai= ntainer but his recomendation was: ----- You might be able to make it work by prefixing with "~Meta"=2E The xmodmap manual page explains how to assign a key (such as Alt to "Meta= ")=2E ----- So I am working with your recomendation until a better option or a fully c= ompatible terminal emulator appears=2E On 4 September 2018 15:51:27 CEST, Javier wrot= e: >Ergus wrote: >> I can use any terminal emulator (available in linux) but not emacs >> in gui (it is a long story)=2E > >Firewall at $JOB? slow network? Sometimes even editing remote >files with tramp is not an option=2E > >If the network is slow you may want to disable a few things in >recent versions of emacs=2E It becomes very annoying when copying text= =2E > >(when (and (not (display-graphic-p)) > (>=3D 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=2E > >Somebody should tell the XTerm maintainer to pass more key >combinations as escape sequences=2E Either that or including a >comprehensive sample of the 'xterm=2Evt100=2Etranslations' resource in th= e >emacs documentation=2E > >Try this > >xterm -xrm \ > 'xterm=2Evt100=2Etranslations: #override \n\ > Ctrl ~Shift BackSpace: string(0x1b) string("C-BackSpace") \n \ > Ctrl Shift BackSpace: string(0x1b) string("C-S-BackSpace")' \ > -e emacs -nw --execute=3D' > (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 ~/=2EXdefaults and ~/=2Eemacs=2E Remember to run >'xrdb -merge ~/=2EXdefaults' > >Be careful with the vt100=2Etranslations string=2E It is like a >programming language in itself=2E The order of lines sometimes changes >the result=2E Have a look at 'man xterm' and >/usr/share/emacs/*/lisp/term/xterm=2Eel=2Egz