From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#1115: 23.0.60; Tramp hangs via 'su' with zsh Date: Wed, 08 Oct 2008 13:36:38 +0200 Message-ID: <87od1vgvy1.fsf@alcatel-lucent.de> References: <87d4icmbqp.fsf@nitai.hr> <87od1v2242.fsf@gmx.de> Reply-To: Michael Albinus , 1115@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223467833 4435 80.91.229.12 (8 Oct 2008 12:10:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 12:10:33 +0000 (UTC) Cc: 1115@emacsbugs.donarmstrong.com To: Gour Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 14:11:30 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnXsv-0003aE-CG for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 14:11:21 +0200 Original-Received: from localhost ([127.0.0.1]:39082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnXrm-00059c-QK for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 08:10:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnXri-000589-7j for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 08:10:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnXrf-00055i-P4 for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 08:10:05 -0400 Original-Received: from [199.232.76.173] (port=35932 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnXrf-00054T-9y for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 08:10:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50457) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnXrc-0006ai-UX for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 08:10:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m98C9vcG016641; Wed, 8 Oct 2008 05:09:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m98C04ws013666; Wed, 8 Oct 2008 05:00:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Michael Albinus Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 08 Oct 2008 12:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1115 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1115-submit@emacsbugs.donarmstrong.com id=B1115.122346689212288 (code B ref 1115); Wed, 08 Oct 2008 12:00:04 +0000 Original-Received: (at 1115) by emacsbugs.donarmstrong.com; 8 Oct 2008 11:54:52 +0000 Original-Received: from mailrelay2.alcatel.de (mailrelay2.alcatel.de [194.113.59.96]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m98Bsmsl012282 for <1115@emacsbugs.donarmstrong.com>; Wed, 8 Oct 2008 04:54:50 -0700 Original-Received: from slbpky.alcatel.de (slbpky.ad1.ad.alcatel.com [149.204.93.46] (may be forged)) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id m98Bsg0c007765; Wed, 8 Oct 2008 13:54:42 +0200 In-Reply-To: (gour@mail.inet.hr's message of "Wed, 08 Oct 2008 10:04:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 08 Oct 2008 08:10:04 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21269 Archived-At: Gour writes: > Yeah, I got some help on zsh and put the following in my .zshrc files: > > case $TERM in > dumb) # tramp > unsetopt zle > ;; > esac > > > and the above solves the problem of accessing the root files on the same > machine via 'su'. > > However, the remaining problem is remote access to files (e.g. from > laptop to desktop) when the tramp fails with when the remote machine has > the following 'prompt': > > PS1="[%{${fg[green]}%}%n%{${fg[black]}%}@%{${fg[blue]}%}%m > %{${fg[red]}%}%1d%{${fg[black]}%}] " Tramp is not able to detect such a prompt. Please set $PS1 to "$ " or something like this, when $TERM is "dumb". > Sincerely, > Gour Best regards, M>ichael.