unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "pluskid" <pluskid.zju@gmail.com>
Subject: Problem using TRAMP with zsh
Date: 1 Sep 2006 07:59:02 -0700	[thread overview]
Message-ID: <1157122742.806264.101920@i42g2000cwa.googlegroups.com> (raw)

Hello everyone! I have problem using TRAMP. When my login shell is
bash, I can use it happily. But when I change my login shell to zsh
these days, Emacs hangs when I'm trying to open file with `sudo'
method using TRAMP. I find that it is because the zsh prints extra `#'
or `%' that TRAMP hangs when connecting to it with `ssh' method, just
set this in zsh's init file will fix this:

setopt No_prompt_cr
setopt No_prompt_sp

But I don't know what's wrong with the `sudo' method. Even the `su'
method is fine. It just hangs when "Tramp: Waiting 30s for remote
`/bin/sh' to come up..." I don't know how TRAMP implement sudo method
or how it differs from su method. Can anybody tell me how to fix this?
Thanks!

BTW: I'm using GNU Emacs 23.0.0.4 (i686-pc-linux-gnu, GTK+
Version 2.8.18) of 2006-08-14 on kid and TRAMP 2.1.5 on Debian sid.
And the version of zsh is zsh 4.3.2-dev-1 (i686-pc-linux-gnu)

             reply	other threads:[~2006-09-01 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01 14:59 pluskid [this message]
2006-09-03  7:21 ` Problem using TRAMP with zsh Michael Albinus
     [not found] ` <mailman.6185.1157268116.9609.help-gnu-emacs@gnu.org>
2006-09-03 11:35   ` pluskid

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1157122742.806264.101920@i42g2000cwa.googlegroups.com \
    --to=pluskid.zju@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).