From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#31605: 25.3; tramp-terminal-type too obscure Date: Tue, 29 May 2018 19:46:28 +0200 Message-ID: <87bmcy1hjf.fsf@gmx.de> References: <87po1ebtg8.fsf@gmx.de> <87wovml975.fsf@gmx.de> 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 1527615905 29345 195.159.176.226 (29 May 2018 17:45:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 May 2018 17:45:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 31605@debbugs.gnu.org To: Eli Barzilay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 29 19:45:01 2018 Return-path: Envelope-to: geb-bug-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 1fNig9-0007Vv-0T for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 19:45:01 +0200 Original-Received: from localhost ([::1]:34238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNiiG-00041C-4W for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 13:47:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNii9-000413-0V for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 13:47:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNii5-00045Y-UH for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 13:47:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46394) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNii5-00045C-QJ for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 13:47:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNii5-0004qA-Iw for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 13:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 May 2018 17:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31605 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31605-submit@debbugs.gnu.org id=B31605.152761600018579 (code B ref 31605); Tue, 29 May 2018 17:47:01 +0000 Original-Received: (at 31605) by debbugs.gnu.org; 29 May 2018 17:46:40 +0000 Original-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 Original-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 Original-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 In-Reply-To: (Eli Barzilay's message of "Tue, 29 May 2018 12:39:12 -0400") 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+UJt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146710 Archived-At: 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.