From debbugs-submit-bounces@debbugs.gnu.org Sat May 26 18:15:24 2018 Received: (at submit) by debbugs.gnu.org; 26 May 2018 22:15:24 +0000 Received: from localhost ([127.0.0.1]:49990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMhTA-0006Fm-5P for submit@debbugs.gnu.org; Sat, 26 May 2018 18:15:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMhT7-0006FY-Fy for submit@debbugs.gnu.org; Sat, 26 May 2018 18:15:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMhT1-0004YK-2q for submit@debbugs.gnu.org; Sat, 26 May 2018 18:15:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fMhT0-0004XH-Oj for submit@debbugs.gnu.org; Sat, 26 May 2018 18:15:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMhSz-0007oK-FJ for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 18:15:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMhSy-0004Up-8Y for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 18:15:13 -0400 Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:42648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMhSx-0004UR-Tq for bug-gnu-emacs@gnu.org; Sat, 26 May 2018 18:15:12 -0400 Received: by mail-oi0-x22e.google.com with SMTP id t27-v6so7498827oij.9 for ; Sat, 26 May 2018 15:15:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barzilay-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=53h31YziV9t5kQdoseMCrD12peau0N6ctPiSHsymLRk=; b=EiOwLffOOq7xZmSWMmaHazejfzS1r8lOi1iGyjBy3/J4RwdHWvnz/Yp8DhxHVxTQhZ HIyWLWUeNiq/buYVXNmSrnhsF7JlPp71/2dOwe7i5itFg/rfk59xAo44Gd5erGTriuQm cle9QEjK8TPmWFeDqsfY7zi0u6D79Z/lkqpWzuDgH6dOkziZ6Ln1kaU1eeNDJVJ+9Wg/ AqCe0QRH9X6+JUJ/53nd3UwflnG8KZ1hF0/UAlUT/0CsB/C1JmFzq6AxAoyqmfgpKIDa Eg3YE98YCn8Z7ORANkHbw0fXgfh27X+9jPhRiazX1KDBfy4L0BGqOeBipBSNCcm0iTma dkew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=53h31YziV9t5kQdoseMCrD12peau0N6ctPiSHsymLRk=; b=iddHE70f9V26jnujepDysIL3CeM6ZU22tDBZqtwzha8lbFJysO07jkchksvxtGD+MU s0otSppDPZKpOXIXOre7hw3MMUzIjTnkxAoZU8oQBA3hg9i3ACLdd+IIGhAnPjGUgNE6 cAfa1jQP9M56Hfmz65qGOc7ILvBEOVI5WrSJ7u+NXcEtqAQdFIku1xviSnwr0Sd5lMGN xb8dil0Z0sjNmxYFVzTM66GX0b9vvIDpzVe2lIylQ9paxAwr+B62rEMBQkAUF9T9whrS RG3mlUL4uYRH6I/lr6UNngXl+7hfLk+rX20U5eaL6y842A2qQV84QNup8ft4dRqkk7zD /PHQ== X-Gm-Message-State: ALKqPwcO3ih71khEmDCLo0l8u193k/A6k9pNqYf7tetKfBmltdlqDrJq e6aSpyvIidfdrPA77k/efNj7BATDkUvK/JQC50AORZsmUYk= X-Google-Smtp-Source: ADUXVKLjaCQDFLjGvhMUUhZeRFdCcuHtWTD/2Q3z3Ta7aNTw9g9qDU2Fi5Z2+xcD4FvCFJnIotAKvyOC6/W/yBtgblo= X-Received: by 2002:aca:66c9:: with SMTP id m70-v6mr4587106oik.300.1527372910389; Sat, 26 May 2018 15:15:10 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:21b6:0:0:0:0:0 with HTTP; Sat, 26 May 2018 15:14:49 -0700 (PDT) From: Eli Barzilay Date: Sat, 26 May 2018 18:14:49 -0400 Message-ID: Subject: 25.3; tramp-terminal-type too obscure To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This is mostly a documentation issue for tramp's info file. The problem is that `tramp-terminal-type` is described almost as an afterthought in a section that talks about `tset` of all things... It would be good to describe it better, and also mention it in the section about zsh, since it's probably a very common problem there with sophisticated prompts. ---- The thing is that the usual recommendation (included in the info too) is: [ $TERM = "dumb" ] && unsetopt zle && PS1='$ ' For *years* I have not used tramp because I couldn't find a way to make things work. I ran into the zsh problem and coudln't find a simple way that makes things just work: the above suffers from affecting *all* dumb terminals, including running a shell inside of Emacs too -- and while I don't use a right-prompt in Emacs, I don't want to give up my useful prompt in the environment I most frequently run my shells in! It finally dawned on me that instead of doing the above, I can hack tramp: find whatever function runs the command and advice it somehow to see a different TERM setting -- but as I was looking into doing that, I was surprised to find that `tramp-terminal-type` already exists! Using it, a much better solution is to (setq tramp-terminal-type "tramp"), and in my .zshrc: [[ $TERM == "tramp" ]] && unsetopt zle && PS1='$ ' && return (Side note: since it's in zsh, it's better to use [[...]], and also the wiki suggestion adding a `return` is useful since `.zshrc` is intended for interactive configuration.) In fact, I'd argue that the *default* value is better set as "tramp". "dumb" is very overuse to provide some kind of interactivity that tramp doesn't need anyway, so having a terminfo-unknown name like "tramp" could only improve things for tramp uses. But that will likely break too many existing configurations (like ones that do the above recommended zsh hack...), so maybe recommend it instead. -- ((x=>x(x))(x=>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life! From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 07:19:13 2018 Received: (at 31605) by debbugs.gnu.org; 29 May 2018 11:19:14 +0000 Received: from localhost ([127.0.0.1]:53185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNcen-0004Nc-JA for submit@debbugs.gnu.org; Tue, 29 May 2018 07:19:13 -0400 Received: from mout.gmx.net ([212.227.17.21]:43861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNcel-0004NQ-R6 for 31605@debbugs.gnu.org; Tue, 29 May 2018 07:19:12 -0400 Received: from detlef.gmx.de ([212.86.52.202]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LraSn-1gJos13Yxp-013NZv; Tue, 29 May 2018 13:19:04 +0200 From: Michael Albinus To: Eli Barzilay Subject: Re: bug#31605: 25.3; tramp-terminal-type too obscure References: Date: Tue, 29 May 2018 13:19:03 +0200 In-Reply-To: (Eli Barzilay's message of "Sat, 26 May 2018 18:14:49 -0400") Message-ID: <87po1ebtg8.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:t4KRqSu55NwK87NkljwxGkZS0Qg9oQBT1L1oD44cCv4RF9BN/P9 /o/QXXYhVFMHTU/se84EASlzWA3K0PMZTonBkCi7cKI+9jAwEX+IS6YiZ7DJ2qAAzs8Ed+0 FniWmgnlU6tlnJaWzAyMLufpGPub2IVlJsywUvL0mWzSBxc8x+l3Z7fmcjofsfxiJ20y4pB H3ttRthMkDagmkqQ517tg== X-UI-Out-Filterresults: notjunk:1;V01:K0:LNn1xfft5n0=:6gIWP0kmEXoafRfD05xxz+ YnrE7U13kKQd3VLAy3d+8MR9QaVOhujOvfr4aDWlTIAqnvN0F94KN2+MRQMJbicnUK7tMxB9x rBKAF4Vestd8FoGdEHzeZ0A4KjRWp04Selo59QHQVV3uYhOoNxls30bbuidLZefyT0gc+DHHU FdP3GAB1/j3vdstjTy57zW08q3/n6dAIuwCMxUD++M2MrPs45Y1s6vkvTELqmNyRrF092D33o NunX8HOTHCpzoCfVToyktl8W1hrFdzF28lSv+ak4Zyl2Tsde34U5Ty4f2/CrPtvncdRHjYE2y yCpXbm61GyCiuS/spLZZkRe4avNA62b+Chymtyr787UrtX7v+U6RzHsXBIxYfgvbcvzX8nxGR 40c6yacIyeDlrKDLjlHSR3L+D+jYsUA73Nibmqw7vkhqrjwkGl/U90ZFV/vem6FsWBy1obD1c ezfhidZ/t1gKEvydTyrQIW4GOebKE7yQD+DrK6mJhJj5TrX5NiVEtgT+8170dlHxAhyfC2+TW HiUrpznn+qmIra3xzIJKqcPjmtnuXdUvebtsgtz9ifyCrIy42PlvrWATkVTlfZ/1YMyspYYCl rO5zm3PxL50XK5uZPf4oV4Sb1TgNmEnIIdslRcgKZABL2JgKBdeEtb6OjsPiDYw2ydsYp0XkU oqasokqkKz1MZ8umJzyCh7EjqXM0U5tz7AVx9ocJO3dU7jLGySI2A4zNrMYZ+renOrNKU+wv2 LF0uBXOosJeCrxsLbuilQkBTDplzSk+mtVc1yLdn96TNRQykkKGNmW3++mAGUaWCF9qs4b7Gy KmRHLhf X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31605 Cc: 31605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Barzilay writes: Hi Eli, > This is mostly a documentation issue for tramp's info file. The > problem is that `tramp-terminal-type` is described almost as an > afterthought in a section that talks about `tset` of all things... > > It would be good to describe it better, and also mention it in the > section about zsh, since it's probably a very common problem there > with sophisticated prompts. I have added the following in the Tramp manual, section "5.16 Remote shell setup hints": --8<---------------cut here---------------start------------->8--- =E2=80=98tramp-terminal-type=E2=80=99 TRAMP uses the user option =E2=80=98tramp-terminal-type=E2=80=99 to se= t the remote environment variable =E2=80=98TERM=E2=80=99 for the shells it runs. P= er default, it is =E2=80=98"dumb"=E2=80=99, but this could be changed. A dumb ter= minal is best suited to run the background sessions of TRAMP. However, running interactive remote shells might require a different setting. This could be achieved by tweaking the =E2=80=98TERM=E2=80=99 environment v= ariable in =E2=80=98process-environment=E2=80=99. (let ((process-environment (cons "TERM=3Dxterm-256color" process-environment))) (shell)) Determining a TRAMP session Sometimes, it is needed to identify whether a shell runs under TRAMP control. The setting of environment variable =E2=80=98TERM=E2= =80=99 will help: if test "$TERM" =3D "dumb"; then ... fi Another possibility is to check the environment variable =E2=80=98INSIDE_EMACS=E2=80=99. Like for all subprocesses of Emacs, t= his is set to the version of the parent Emacs process, *Note (emacs)Interactive Shell::. TRAMP adds its own package version to this string, which could be used for further tests in an inferior shell. The string of that environment variable loooks always like echo $INSIDE_EMACS =E2=87=92 26.2,tramp:2.3.4 --8<---------------cut here---------------end--------------->8--- > ---- > > Using it, a much better solution is to (setq tramp-terminal-type > "tramp"), and in my .zshrc: > > [[ $TERM =3D=3D "tramp" ]] && unsetopt zle && PS1=3D'$ ' && return Since I'm not an zsh user, I'm dependent on recommendations. So I have taken over your example, except still using "dumb" as default. > In fact, I'd argue that the *default* value is better set as "tramp". > "dumb" is very overuse to provide some kind of interactivity that > tramp doesn't need anyway, so having a terminfo-unknown name like > "tramp" could only improve things for tramp uses. But that will > likely break too many existing configurations (like ones that do the > above recommended zsh hack...), so maybe recommend it instead. This setting is not used only for interactive shells, but also for the background processes. "dumb" has the advantage to own an entry in terminfo: --8<---------------cut here---------------start------------->8--- $ infocmp dumb # Reconstructed via infocmp from file: /lib/terminfo/d/dumb dumb|80-column dumb tty, am, cols#80, bel=3D^G, cr=3D\r, cud1=3D\n, ind=3D\n, --8<---------------cut here---------------end--------------->8--- This makes it much better suited to run background shells, than a TERM set to "tramp", or alike. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 12:04:18 2018 Received: (at 31605) by debbugs.gnu.org; 29 May 2018 16:04:18 +0000 Received: from localhost ([127.0.0.1]:54186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNh6e-0000QM-UC for submit@debbugs.gnu.org; Tue, 29 May 2018 12:04:18 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:42218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNh6c-0000Q6-Oe for 31605@debbugs.gnu.org; Tue, 29 May 2018 12:04:15 -0400 Received: by mail-oi0-f43.google.com with SMTP id t27-v6so13532311oij.9 for <31605@debbugs.gnu.org>; Tue, 29 May 2018 09:04:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barzilay-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=wOInzqMN9bWU/gZ8DLN5fVQFydNrDylWbdQuvQ3Qw64=; b=nReHGYPPZaczUEW1LbJNd8uA9ePIpjOZ9CFVKAHNjFeZVqUuC4Da/ZpgRd6b4KcWIf /6SwTiM/4mj6nKF2Uv1W8UKT8oLIJ+EAGk0ZFseFXqFWL6rArieH4OHv0ftqCKv3ELmC 4UmLFVnjA4MFecTfmGuiPnb5J/xwgbzK49OSy5qCdfBQS+lKGE669NkhVE5x+5YE9W9K Amvtes6Q0M2IxXwacXRj1jnr1kgIPyVlcnGqTjVJrv/mX/APid2xbNmuW2x9TqOoqKNU 1cYWysrhxRtmsfkCTWZqW/CMfDWuCc+pw6mkQ4UI9a7p+JCFhuRbQbM1DW/wOGq9LoA1 f8rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=wOInzqMN9bWU/gZ8DLN5fVQFydNrDylWbdQuvQ3Qw64=; b=bBY9dJVBz7PtgLwA/X4PI9Vus/nbZYNicMZncKncTy38Bq7yf4Srnj9C8Y55fqOm0b bxMYpwN4XU5mubaZ6I7vmW3rn7Efno1oV6b7owr2sOy3Jiu3eDNz68fYnWQT+8BVQZ5c oKtsCIdFLWIYI978zTUB7BmX1+ByHKUN6Pos2PniCY2QsHKwdHQKvTWJgI7ZPneD7C0L tSSM3Wvbfh9H5m0WwgTx4HJjCvWBeHMJcNcu3qbhkiBhhoxmi2QS18qlyDFLG1C2CYfR 7ZqAo7bYpbGeeoik1ETojn605EwSa3ZByPAJCqEj10VUY6PjO/IMkc3fYz43Ha1Fk/6N WqFA== X-Gm-Message-State: ALKqPwfxXXgZj0tSP7RRqZrQxF/GvVrHcgkPJcURNJLGQgGxMFeZFhHA c0SioDo1KYqteKhNNAQNAn9GYHbS9fUV24Mgw7JUWg== X-Google-Smtp-Source: ADUXVKK9cedNe3sBabI0hqXAFPpGffzSp/QuDYRfVVW2iYSejRI1eb9uQkydkpOgAfnT926WZzWoXYv4SiBzmTs8MGo= X-Received: by 2002:aca:cc8c:: with SMTP id c134-v6mr5644678oig.175.1527609848632; Tue, 29 May 2018 09:04:08 -0700 (PDT) MIME-Version: 1.0 References: <87po1ebtg8.fsf@gmx.de> In-Reply-To: <87po1ebtg8.fsf@gmx.de> From: Eli Barzilay Date: Tue, 29 May 2018 12:03:53 -0400 Message-ID: Subject: Re: bug#31605: 25.3; tramp-terminal-type too obscure To: michael.albinus@gmx.de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31605 Cc: 31605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, May 29, 2018 at 7:19 AM Michael Albinus wrote: > I have added the following in the Tramp manual, section "5.16 Remote > shell setup hints": > --8<---------------cut here---------------start------------->8--- > =E2=80=98tramp-terminal-type=E2=80=99 > TRAMP uses the user option =E2=80=98tramp-terminal-type=E2=80=99 to= set the > [...] Thanks! However, I think that it would be better to mention that it is fine to use a different value -- instead of discouraging them. > Another possibility is to check the environment variable > =E2=80=98INSIDE_EMACS=E2=80=99. [...] This doesn't help for the common case of ssh. (In fact, this was what I originally though about using, but configuring ssh/sshd to pass INSIDE_EMACS is a PITA to manage.) I'm not saying that it shouldn't be mentioned, just that it's not too helpful... > > ---- > > > > Using it, a much better solution is to (setq tramp-terminal-type > > "tramp"), and in my .zshrc: > > > > [[ $TERM =3D=3D "tramp" ]] && unsetopt zle && PS1=3D'$ ' && return > Since I'm not an zsh user, I'm dependent on recommendations. So I have > taken over your example, except still using "dumb" as default. Thanks -- you can verify this with the wiki page too at: https://www.emacswiki.org/emacs/TrampMode where I added the "tramp" solution. > > In fact, I'd argue that the *default* value is better set as > > "tramp". "dumb" is very overuse to provide some kind of > > interactivity that tramp doesn't need anyway, so having a > > terminfo-unknown name like "tramp" could only improve things for > > tramp uses. But that will likely break too many existing > > configurations (like ones that do the above recommended zsh > > hack...), so maybe recommend it instead. > This setting is not used only for interactive shells, but also for the > background processes. "dumb" has the advantage to own an entry in > terminfo: [...] > This makes it much better suited to run background shells, than a TERM > set to "tramp", or alike. But this is exactly the problem: "dumb" is used in many contexts, including in `M-x shell`. This means that if I follow what you're recommending, I end up with a crippled `M-x shell` experience since I lose my useful prompt there. OTOH, I can't imagine that anything that tramp uses would rely on terminfo, which is why I suggested the above. --=20 ((x=3D>x(x))(x=3D>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life! From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 12:26:33 2018 Received: (at 31605) by debbugs.gnu.org; 29 May 2018 16:26:33 +0000 Received: from localhost ([127.0.0.1]:54203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNhSD-0000wM-Ko for submit@debbugs.gnu.org; Tue, 29 May 2018 12:26:33 -0400 Received: from mout.gmx.net ([212.227.15.18]:57649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNhSB-0000w8-Gp for 31605@debbugs.gnu.org; Tue, 29 May 2018 12:26:32 -0400 Received: from detlef.gmx.de ([213.220.156.235]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MCtut-1fWjj92hQx-009gUf; Tue, 29 May 2018 18:26:24 +0200 From: Michael Albinus To: Eli Barzilay Subject: Re: bug#31605: 25.3; tramp-terminal-type too obscure References: <87po1ebtg8.fsf@gmx.de> Date: Tue, 29 May 2018 18:26:22 +0200 In-Reply-To: (Eli Barzilay's message of "Tue, 29 May 2018 12:03:53 -0400") Message-ID: <87wovml975.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:16sO3WebJ2yIHKRVcagk/GzGIxjs1d6xSQd9Gr6y0zfBLa9qKzs sqM+jcz+JbcciuDefthvC4w/xn7XhK8HxCx35Et4fXhl33H5vFVelDkPlTUyF4C2XDB/ECV 3qvYTLvEzV0V1U9UB1irpNaMxEs9IbjPLODbEth46EEzBxXRnmMhArAlYdU18C5wUy5HYqI Xs2Ecu4NZfBcHrn5wMl/g== X-UI-Out-Filterresults: notjunk:1;V01:K0:xaz4tb+tBFA=:G3fhjMbyvOLldQyHs/h9rt 1l4w9gz1js/7mx4gqCiQrfG7JNg10vTMF6odu0pIgY5fo5/tKbLcZIwd2Bz4GFyaAMR4OmOB1 10ge6DIqtGlWqsbt0QUmF+AMEJrYiO+zNYasG2ATktTQm06wWYEElrEIklUcJKfMl6KJ2djb7 WB+vmyIxN0LWRXe8yW82ctS4wpbH54rzvaMP9BSI0mG9EbUzrl26nHu8e6MC85ZGBw6zo4aLb Kkh/0jQDGuUJhyx/yLCCID6WQ9UWrlHQwuPfjTbYuwH0Ml7dMx7sOT5ny6EGgB0NUnkXraySf ZICwqHbK2wefp1fgO0yiy2vQw84J9RnzmeU0eb5p0gXd0CfFj3e4i79sU3e/ilgN82w6rhigR GELBEVVkKgy90FjpZ+E6jAYHFHFdtD8pd3jncXqRF/7C68gAVIiBBtlc7kO2Y6eH+bQq6BaVH PjYnw8/LsNplhUEDNHxJW5MFZPZ5hXnwDo1B6G6OeJZzVSrxa0BHNAUCn0OMUDpQ+Kj0l9qP/ RKHxFoeHUCw6mjazCge02UZdLKcXcJIYllK6LLoCqoObmzGKz9rFL+W2ipfn5mIl7Ku5oEzOa mfiT0kBMjvTS1/KTOOnEV55nYb8yi0kEdS8i7+W7j8wjOrzcX/oBEe2K8gX7cNwS2T9Y2Wh24 yliMZaqNM2fr+GJ931oYuLCA+f6/4sIOX8CPcWahhJRwP06TuTdqxSAl0sRcJL/Ole54OEOyQ BPLs7g82PuQRjLEc1V2/Kl4aQ5u3qhRIhU3TAWNNrvO8K9x0JtiJjTi09+6wDEpeU51CnuouS 9vXqjAo X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31605 Cc: 31605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Barzilay writes: Hi Eli, > Thanks! However, I think that it would be better to mention that it is > fine to use a different value -- instead of discouraging them. It might work, yes. But I wouldn't recommend it. For most of the Tramp users, the default settings are OK. >> Another possibility is to check the environment variable >> =E2=80=98INSIDE_EMACS=E2=80=99. [...] > > This doesn't help for the common case of ssh. (In fact, this was what I > originally though about using, but configuring ssh/sshd to pass > INSIDE_EMACS is a PITA to manage.) I'm not saying that it shouldn't be > mentioned, just that it's not too helpful... ??? It is Tramp, which sets this variable in the remote shell environment. There's nothing to do for you. Or do I miss something? > But this is exactly the problem: "dumb" is used in many contexts, > including in `M-x shell`. This means that if I follow what you're > recommending, I end up with a crippled `M-x shell` experience since I > lose my useful prompt there. OTOH, I can't imagine that anything that > tramp uses would rely on terminfo, which is why I suggested the above. The majority of Tramp users does not apply "M-x shell" and friends. They are just using Tramp for remote file handling. And Tramp has always problems with whatever esacape seuences are around, that I call it an advantage when a dumb TERM simplifies my life. Speaking as maintainer. It is still possible that you reconfigure everything, and thanks again that you have told me that it needs better documentation. But I'm not conviced it will be better to change the defaults. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 12:39:35 2018 Received: (at 31605) by debbugs.gnu.org; 29 May 2018 16:39:35 +0000 Received: from localhost ([127.0.0.1]:54226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNhep-0001HU-JR for submit@debbugs.gnu.org; Tue, 29 May 2018 12:39:35 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:36288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNhem-0001HG-TL for 31605@debbugs.gnu.org; Tue, 29 May 2018 12:39:34 -0400 Received: by mail-oi0-f49.google.com with SMTP id 14-v6so5623576oie.3 for <31605@debbugs.gnu.org>; Tue, 29 May 2018 09:39:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barzilay-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MGTNA386sq51san++JdPWGrQE/CETFyySDtZiIaGGSE=; b=I6/LnaQHIikeLvR0OhDD4HZl3VZbcUW4QyrA5RAV4vV1v9dNItacs+1lV39hRdl830 vbv+LL1ms+YdB071+Uz/e09iqZUw4atFl8qkwUI1Kun7nbzGKgkM0raK1Tz13XPmumAW /zUnbnzpbFI7vcYNz2oIlXrDIl7IsXzOApT4G9VFWOOz9n/9Z8g9Iijcuc/arDNDaRRO Gxl4B5Af6gKIbu6Wd6iCu4HL8zdUTtd8R5UR4tp6uhPTyOGfwNEuAfoyrTfE1Lh9Fuk2 ZDD25oZ1V7osR0VVfVmC8O9YPRkHLkd0ron04UEtfv42VlMMYW4XKlNK8RcIvDEvICxU px/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MGTNA386sq51san++JdPWGrQE/CETFyySDtZiIaGGSE=; b=FztTeMC2Qm1zVzP+KYYjGLl/t2jXNWsw3wVONtdV69xN/wYnIYwnNWfnBiwnHrF6px wYsvcbkYIiGsxDdRoZMyWR5PbbkGpHnpM+20dAEn+cRkj5DJpfn8CZ5cA+wUdrn1xl47 hgZu1UKsvyvokXRpOd5qHfIv7/RFO6uImlGyk//KUhupb+AVCibtOAIHrlLqh2wDSYlI qnsqgFP9xUUX2SdjqaPSm803Xqn7YOqhAdSw/9noCMqYr1SQgk6sR3/abJVRiVWocFdN MutzucCquYfkno8YChKE/+hFKvCqIxrgbOr6glDgGgswuHPuVUwtkvj23+T73tUFkSRH P6Eg== X-Gm-Message-State: ALKqPwerbSZx/17MtDCutB+P0iJbrS20UU/LYP+xFAOftVvV62sEa8GA WgjDypCy28gL0OPrrJMzJS/bSy55g25pYR6fsJnydQ== X-Google-Smtp-Source: AB8JxZpc6f9oEbG90F4GsZpyQhxHzVGa7+kFxi4yOCJk/Y4OkcIcIst9wS762dtdH2n3WXXKa6OzcLRP4/ji2xyMLAM= X-Received: by 2002:aca:6145:: with SMTP id v66-v6mr10943539oib.28.1527611967005; Tue, 29 May 2018 09:39:27 -0700 (PDT) MIME-Version: 1.0 References: <87po1ebtg8.fsf@gmx.de> <87wovml975.fsf@gmx.de> In-Reply-To: <87wovml975.fsf@gmx.de> From: Eli Barzilay Date: Tue, 29 May 2018 12:39:12 -0400 Message-ID: Subject: Re: bug#31605: 25.3; tramp-terminal-type too obscure To: michael.albinus@gmx.de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 31605 Cc: 31605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Tue, May 29, 2018 at 12:26 PM Michael Albinus wrote: > >> Another possibility is to check the environment variable > >> =E2=80=98INSIDE_EMACS=E2=80=99. [...] > > > > This doesn't help for the common case of ssh. (In fact, this was > > what I originally though about using, but configuring ssh/sshd to > > pass INSIDE_EMACS is a PITA to manage.) I'm not saying that it > > shouldn't be mentioned, just that it's not too helpful... > ??? It is Tramp, which sets this variable in the remote shell > environment. There's nothing to do for you. Or do I miss something? I was talking about using it to reconfigure a plain prompt: if tramp sets the environment variable, it probably does so after it established a connection, which is blocked with a "misbehaved" zsh prompt... > > But this is exactly the problem: "dumb" is used in many contexts, > > including in `M-x shell`. This means that if I follow what you're > > recommending, I end up with a crippled `M-x shell` experience since > > I lose my useful prompt there. OTOH, I can't imagine that anything > > that tramp uses would rely on terminfo, which is why I suggested the > > above. > The majority of Tramp users does not apply "M-x shell" and > friends. They are just using Tramp for remote file handling. I'm not talking about a remote shell, just the general running of a subshell inside Emacs. If *that* is not a popular thing to do then I'm apparently living in a bubble... Or maybe I'm weird in that I have the same shell configuration synced across all of the machines I'm using so my remote shell setup is the same as the local one. > And Tramp has always problems with whatever esacape seuences are > around, that I call it an advantage when a dumb TERM simplifies my > life. Speaking as maintainer. > It is still possible that you reconfigure everything, and thanks again > that you have told me that it needs better documentation. But I'm not > conviced it will be better to change the defaults. Oh, I *don't* suggest changing the default! (See the comment in the original bug: doing that will break existing shell configurations that detect "dumb".) I just think that it should be mentioned at least in the section that talks about the common zsh-hanging problem -- something like the small addition I did to the wiki page. --=20 ((x=3D>x(x))(x=3D>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life! From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 13:46:40 2018 Received: (at 31605) by debbugs.gnu.org; 29 May 2018 17:46:40 +0000 Received: from localhost ([127.0.0.1]:54291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNihj-0004pa-UI for submit@debbugs.gnu.org; Tue, 29 May 2018 13:46:40 -0400 Received: from mout.gmx.net ([212.227.17.21]:34381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNihh-0004pM-I7 for 31605@debbugs.gnu.org; Tue, 29 May 2018 13:46:38 -0400 Received: from detlef.gmx.de ([213.220.156.235]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LkBPy-1fv8mK2Ah8-00c9xD; Tue, 29 May 2018 19:46:30 +0200 From: Michael Albinus To: Eli Barzilay Subject: Re: bug#31605: 25.3; tramp-terminal-type too obscure References: <87po1ebtg8.fsf@gmx.de> <87wovml975.fsf@gmx.de> Date: Tue, 29 May 2018 19:46:28 +0200 In-Reply-To: (Eli Barzilay's message of "Tue, 29 May 2018 12:39:12 -0400") Message-ID: <87bmcy1hjf.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:0021+z4lxs/HBtMjUm2XW/7LpO+YeBWUnpnBmf/Dup4q3P9paac PdUnCH4zU/lFtL4xTg8Q1+6wQwwgBbMMg1iN5GXkUD+JQDCIWdYDkJMSa/k8vPulAqqNd06 nNnhkVSod1wrPXeFu/hXNkmloTrOwp4f4b3taAVce5uS6aDOYq6KptHLOcgsq30dK9coMdE px790qmsZ2lSGC8rbn9Lw== X-UI-Out-Filterresults: notjunk:1;V01:K0:m2FJf2csl9M=:Ua9k/a76ktibMUr4EuWg3h 7y4XN1h6NNUyj8V4/nfQ766La+pEb19HnigU+vl+3Vs0IuCNRtdNnQOlvmJNFSWEaCPsJQZr/ 6tWwFZxOeOTyvRP1scV7wO9hX8AVIdZaA9yreZ+b7/Xq2IQy7XbdaXjKJwh625M2pQRF7uQMl NF3QUTulPjAgzEbqmegZBmPNkAgJ1bTxWwkUC8uBDQaYOH3s7/GaC+6tmlAPC9lW0X2nCxabD ifNenIiVcRrWctwaP8SZpDe41ML6zNvncTdEs0UQBOjB6xBDQvw/GAg6klZ5v1xFuqr2v+dIQ mIQcIWJVnix6vaYnfJvy+ZrWSvqNHg8aPUAeyT42BdKkutks0itu4MOSfvYf98spGfoOUI9vE QjT/XYS7uEppfx4HwBaRRfgMQz4mV260nel4W/Cmd8U+Bmv8JUgZ2o+FMfVrT3l5wb43chZPD kpWPz6puU3ozkqZWT/45v4eMmA8r7EWbffnvaPbr2z+8T1dVyBGdpjUb1fZCtbyvFxrMQgxbn FnQRPHDxZ5lKc1CCyVf5KCh3M3SpTX5ac3kCNUD6vQ8g8qGhYMJ0Uii5acALglpumSKbO7Dcz QOON0JIMJ6KYEHq792M9r7yBeuONUPkfqPdB2WFq0JDNGsVOd94Mi/0tezKL/ghZdV5xVgnzW 6Q71Znw6vP/izOejRR3ikp8w7MLM11YWCFaEPjnFRIaEuSRuqrsIhIT85k1K+USGNqm/8T+DO HmdWxXsv/o+9FiSyJbSaXb/mnAJYLv/9cDtNxtryQW7hjsU+dXjJnhXFw2Y2PGr5ZOkN+UJtg 5+9c5qF X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31605 Cc: 31605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Barzilay writes: Hi Eli, >> The majority of Tramp users does not apply "M-x shell" and >> friends. They are just using Tramp for remote file handling. > > I'm not talking about a remote shell, just the general running of a > subshell inside Emacs. If *that* is not a popular thing to do then I'm > apparently living in a bubble... No, you aren't. There are many Tramp users running a remote shell in Emacs. But this is not the majority of Tramp users ... >> It is still possible that you reconfigure everything, and thanks again >> that you have told me that it needs better documentation. But I'm not >> conviced it will be better to change the defaults. > > Oh, I *don't* suggest changing the default! (See the comment in the > original bug: doing that will break existing shell configurations that > detect "dumb".) I just think that it should be mentioned at least in > the section that talks about the common zsh-hanging problem -- something > like the small addition I did to the wiki page. I do not want to write an example which does not use the default. People tend to copy example lines, and I want to encourage them using the default. As compromise, I have rephrased the manual: --8<---------------cut here---------------start------------->8--- When using zsh on remote hosts, disable zsh line editor because zsh uses left-hand side and right-hand side prompts in parallel. Add the following line to =E2=80=98~/.zshrc=E2=80= =99: [[ $TERM =3D=3D "dumb" ]] && unsetopt zle && PS1=3D'$ ' && r= eturn This uses the default value of =E2=80=98tramp-terminal-type=E2=80= =99, =E2=80=98"dumb"=E2=80=99, as value of the =E2=80=98TERM=E2=80=99 = environment variable. If you want to use another value for =E2=80=98TERM=E2=80=99, change =E2=80=98tramp-terminal-type=E2=80=99 accordingly. --8<---------------cut here---------------end--------------->8--- Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 13:57:32 2018 Received: (at 31605) by debbugs.gnu.org; 29 May 2018 17:57:32 +0000 Received: from localhost ([127.0.0.1]:54295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNisF-00054Q-Va for submit@debbugs.gnu.org; Tue, 29 May 2018 13:57:32 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:40067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNisD-00054C-Ei for 31605@debbugs.gnu.org; Tue, 29 May 2018 13:57:30 -0400 Received: by mail-oi0-f48.google.com with SMTP id c203-v6so13863510oib.7 for <31605@debbugs.gnu.org>; Tue, 29 May 2018 10:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barzilay-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=oAzuSr+y/ByBdTKWlSf+FTuKDV8uvuLVuRXlmjOKS08=; b=HTMfc3x8W9wJiHjoF9Q8dV7oj88889p0NmGnIrYwkVlLlZ5xf7l+h9Na0Urux66k6U 0HiUABX97S1s/1lsqyEmRF+wHHCl4gYnelofJcHV/107EoJ6xw3Ni+DrPLy/SdS1s9u5 q1xM3rCE5dXe9igtu0SL0s7JgOFwEPESsgtoP+qIh6TLdEiWHjQAHcoFRcUXM7wiQXjV nwFtl1M+7xbi/8jpTDoE4c/zR2tt6yRxOX3yDHrWQYIl/JNsHymX8cxYTGOlsNWtGUcw 06kPnpcAXoxxnc5qV38tSmMp+TemLHdnZBDp5wT6yvf+F8p7qlZecZNnOEwG6gUqVTW1 UQHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=oAzuSr+y/ByBdTKWlSf+FTuKDV8uvuLVuRXlmjOKS08=; b=dpjNSZkKUgaN1UP/QwoyIINBD7kvctciR+IOy1eNJuU69jAqDwDdFu7ZeEW+iFJU7t bEvbrW1ZP3yrHNW6nmNXDmqsTKdhtac9LrA/o5lV8pNU6HigiFDqya8lbw70+c7/XjVB cER+kidNHu6aD4CfmNnMFG8UdV6+MMsk5zH+JQyxCNv1rrhPsOR20E/p5VK3RCFjC6FU n3IlKvCN4cSpkWi1PcZAzHw8/Nn/DFcUQ64U8YRXlHv1eKJC4utnPF3B8UaNyYSVNXEu Zw0toWGziar75sFvp8LFm91PElcHHZ3O0RuSrYOQwBP5nqr/hADy95k2JPfGx+C3NIxf Iqag== X-Gm-Message-State: ALKqPweISEI935MHBVMSu+2PaODoFeXaR8kYgAD+EkqBQFF+EnS0FqeS KCoa3CUN9d5uc1209zMHefzWFRpd62itQGP9FvSIug== X-Google-Smtp-Source: ADUXVKJvll2HjGIToEMwrahAmbABRpHoNMwMgm2bnRYBxrInVPmWWPt2bmyRa6ZeT9NZIhcJRxeGLBAk3TcW/xSLf34= X-Received: by 2002:aca:6145:: with SMTP id v66-v6mr146308oib.28.1527616643433; Tue, 29 May 2018 10:57:23 -0700 (PDT) MIME-Version: 1.0 References: <87po1ebtg8.fsf@gmx.de> <87wovml975.fsf@gmx.de> <87bmcy1hjf.fsf@gmx.de> In-Reply-To: <87bmcy1hjf.fsf@gmx.de> From: Eli Barzilay Date: Tue, 29 May 2018 13:57:07 -0400 Message-ID: Subject: Re: bug#31605: 25.3; tramp-terminal-type too obscure To: michael.albinus@gmx.de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31605 Cc: 31605@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, May 29, 2018 at 1:46 PM Michael Albinus wrote: > Hi Eli, > > I'm not talking about a remote shell, just the general running of a > > subshell inside Emacs. If *that* is not a popular thing to do then > > I'm apparently living in a bubble... > No, you aren't. There are many Tramp users running a remote shell in > Emacs. But this is not the majority of Tramp users ... :) (It's a bit more: in my case it affects local shells also because I sync the same environment setup on all machines...) > I do not want to write an example which does not use the > default. People tend to copy example lines, [...] That's a good point. > As compromise, I have rephrased the manual: > --8<---------------cut here---------------start------------->8--- > When using zsh on remote hosts, disable zsh line editor > because zsh uses left-hand side and right-hand side prompts > in parallel. Add the following line to =E2=80=98~/.zshrc=E2= =80=99: > [[ $TERM =3D=3D "dumb" ]] && unsetopt zle && PS1=3D'$ ' &= & return > This uses the default value of =E2=80=98tramp-terminal-type=E2= =80=99, > =E2=80=98"dumb"=E2=80=99, as value of the =E2=80=98TERM=E2=80= =99 environment variable. If > you want to use another value for =E2=80=98TERM=E2=80=99, chan= ge > =E2=80=98tramp-terminal-type=E2=80=99 accordingly. > --8<---------------cut here---------------end--------------->8--- Thanks! Minor tweak: If you want to use another value for =E2=80=98TERM=E2=80=99, change =E2=80=98tramp-terminal-type=E2=80=99 and this line accordingly. ^^^^^^^^^^^^^ Also, maybe a parenthetical comment along the lines of (This can be useful to keep your usual prompt in, e.g., `M-x shell'.) ? But just mentioning it is the main thing, so whatever you think is best. --=20 ((x=3D>x(x))(x=3D>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life! From debbugs-submit-bounces@debbugs.gnu.org Wed May 30 03:03:02 2018 Received: (at 31605-done) by debbugs.gnu.org; 30 May 2018 07:03:02 +0000 Received: from localhost ([127.0.0.1]:54596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNv8Q-0004km-5p for submit@debbugs.gnu.org; Wed, 30 May 2018 03:03:02 -0400 Received: from mout.gmx.net ([212.227.15.15]:33005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNv8O-0004kJ-Vk for 31605-done@debbugs.gnu.org; Wed, 30 May 2018 03:03:01 -0400 Received: from detlef.gmx.de ([212.86.40.105]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LtIZH-1gL8hJ017r-012qiH; Wed, 30 May 2018 09:02:54 +0200 From: Michael Albinus To: Eli Barzilay Subject: Re: bug#31605: 25.3; tramp-terminal-type too obscure References: <87po1ebtg8.fsf@gmx.de> <87wovml975.fsf@gmx.de> <87bmcy1hjf.fsf@gmx.de> Date: Wed, 30 May 2018 09:02:52 +0200 In-Reply-To: (Eli Barzilay's message of "Tue, 29 May 2018 13:57:07 -0400") Message-ID: <874lip1v8j.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:DPBNF+1vh1k9S+oiQ0easKExAPXSiNe118kdvY+c9ixwMHIh64H vTpOrisPcCI/C3PXRpCxSaDL+Qq3vPBmIgp3VOJT6C6NZySufy5DEBcfwecVdfGMhE6f0SS d+78pPqp/fQNCZAgebPAfwVb919itjAph9sSm8lID7bsol6zcjRKMZ2vuUBlrtpwE/mCPgJ agOw1sfEuGdul9NA0Xv8w== X-UI-Out-Filterresults: notjunk:1;V01:K0:Bh/koc2B2DI=:jR4GgYvOg8Y8zq3Tyb27Dd PFj7Ldogt9bvUJBlDM49b6+Oiwyom2yz68gi/MbAuWbQp/iKraqIrbN+fIA8vDS0pIvlqxFHH HC2ygXDlm/SWcYo5E2+W4W1M5Gj+xQPAqw8CeD/RAJrLb9HsG2GRaQiOWLL88RLc3Hu4aw0zq CbHhRuHx+0PMRLeADjvDk0DSr6sgBUPwtjmCpiSFxEpaTcSKMYXLZQIKE26ArsqkSCx4uvmEl j7z3ebKLewraa9snoj/HOWQ8+QLNYEhWgzMWt0aAidqu90Qyk4ufbX7bmo9Di8BD+RBmn3N5F I2ZBcLnoBhyVNw5F56VKV6z7H4IlVonriaDXj9n5wogybn9mg5/FU9eD4Y7ESbxuQT3ToNSNo dTq27FrnPLs5spXfoUMLhQ87FXCqmVbGApJJrqvnLNxCGA3TkfndmxjVmIW+f3nWX1e8L2iA4 QM5u0XayMkzgIlvbh3beezJ9z5ltkVVg2TFJEsup9rDSceY4d19xrmYnPAGxNTGN4oIZn12JA xDnCavKQbwb1dclYEo2ffLPiUshpmM5ekblH6kvbo/cix39JhVRuNJJ4kIR3Vy4VZ57vE3wrZ kJt6onKLjwJLVBxda5yRrL9ZJzbBlFf1NKP++weCYMofAGFaTVwhsFZrNtJL76QFT0rD2KHZh OfCKeykCn/HmXl4YW2l7A9iVQ0oRDR1Qwjew/RzVL3/jHNM5XIxlxMMtFlLsb0tVsCAbQqSBq qtDN5fHtX+XfJojcR4DLQNXAlpbviZDu3MO6eeC6y6vT8HchxsOjUvsGRxKQEp+bjRl51ggOK jedb1Rq X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31605-done Cc: 31605-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Version: 26.2 Eli Barzilay writes: Hi Eli, > Thanks! Minor tweak: > > If you want to use another value for =E2=80=98TERM=E2=80=99, change > =E2=80=98tramp-terminal-type=E2=80=99 and this line accordingly. > ^^^^^^^^^^^^^ Thanks, I've updated it. Closing the bug. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed May 30 03:10:40 2018 Received: (at 31605-done) by debbugs.gnu.org; 30 May 2018 07:10:40 +0000 Received: from localhost ([127.0.0.1]:54605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNvFn-0004ve-V6 for submit@debbugs.gnu.org; Wed, 30 May 2018 03:10:40 -0400 Received: from mail-ot0-f182.google.com ([74.125.82.182]:39720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNvFk-0004vP-Rp for 31605-done@debbugs.gnu.org; Wed, 30 May 2018 03:10:37 -0400 Received: by mail-ot0-f182.google.com with SMTP id l12-v6so19975975oth.6 for <31605-done@debbugs.gnu.org>; Wed, 30 May 2018 00:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barzilay-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Lfb9g1L4mNhVWNhEK2kIlnecz3Mjxhy2LnXcBXGMJWc=; b=g6p928S35ZfWg3q6e3ukJq9ZFbDRSxP6wooi7IgFli6GkvTEO4vU2SSFkl5I70hKdH uPlVjsVpSocH0gO3UlDYXsHjrqc9aO3m1kb+5ocNl7PUknodhmrxBa8flgQjXBqZaTsR fCWKwAA9czu/zYuZsBdA4FU84KtfBebX5gxx/8XjNkzVb0wHEG5VRFB2sLKP4sxB680I njTqzc119ybvA4/E/F6vsP4G8COnGwoP46EMEaVl+rtjRqpYSoqMFbBEkZYH8pGU2JRE bAktdpVVdhfEGPo61tsx2FrP8ZSWOBn8t9wQ+XkHVP3S163X+tXPZnBfqSdzdIUDJT31 nqaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Lfb9g1L4mNhVWNhEK2kIlnecz3Mjxhy2LnXcBXGMJWc=; b=gQHkEmSCU5K3a9fdq4dYTNMQISqCscWHoYfOdP2Z/FrKtCIHuB/+5auAJTJ6NrK6ea 3u7DNn+lxdge4Bl49XEDBTbsnqPV2oT1/GJU9P4Plt+Qq0M+cJoaQdgcInmilICCIae8 +uEV3IwI9Wv+68En1v/gjjJsYCCBelYXQoZLHUhzcKWMvubttGsuQ2a0JStjl4nyx4lR Hx5+3iaE1Iehu1Mo3PZTwMCEruaS0DDGUhe7dxjnA4u0gBPyjC9baL7o6T0VKJrK1HXy 3WG9MxEXkyuClbE9cg3n8R5xnxMWf1/EMjkjPLiwUkAn97oqbUE4cXy7SgGYcUbZ0Lb9 j4FQ== X-Gm-Message-State: ALKqPweu/7RRLNr/SbNmddS1mIeukLc3sMZlj8heAv2ZHzgtYyNtTuvA IPht45WEz2LhVy+bCWvgBskMDE63qJJnbJWO1A5htQ== X-Google-Smtp-Source: ADUXVKJ/cnMUbUViurFvKEJ6bj3mUnuWqRWT1s/MfCtJuGKR8xpjaNCJNwZzfuzKGWk0tansrUrSGTFSjK+pDJb+vkQ= X-Received: by 2002:a9d:5917:: with SMTP id t23-v6mr1001140oth.217.1527664230895; Wed, 30 May 2018 00:10:30 -0700 (PDT) MIME-Version: 1.0 References: <87po1ebtg8.fsf@gmx.de> <87wovml975.fsf@gmx.de> <87bmcy1hjf.fsf@gmx.de> <874lip1v8j.fsf@gmx.de> In-Reply-To: <874lip1v8j.fsf@gmx.de> From: Eli Barzilay Date: Wed, 30 May 2018 03:10:19 -0400 Message-ID: Subject: Re: bug#31605: 25.3; tramp-terminal-type too obscure To: michael.albinus@gmx.de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 31605-done Cc: 31605-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Thanks! On Wed, May 30, 2018 at 3:02 AM Michael Albinus wrote: > Version: 26.2 > Eli Barzilay writes: > Hi Eli, > > Thanks! Minor tweak: > > > > If you want to use another value for =E2=80=98TERM=E2=80=99, chang= e > > =E2=80=98tramp-terminal-type=E2=80=99 and this line accordingly. > > ^^^^^^^^^^^^^ > Thanks, I've updated it. Closing the bug. > Best regards, Michael. --=20 ((x=3D>x(x))(x=3D>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life! From unknown Sat Jun 21 10:39:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Jun 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator