unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: TRAMP suspended after I inputted password
Date: Sun, 27 Mar 2022 10:10:47 +0200	[thread overview]
Message-ID: <875ynz24u0.fsf@zoho.eu> (raw)
In-Reply-To: 877d8fhmav.fsf@gmx.de

Michael Albinus wrote:

> You need to disable the zle (built-in zsh), consult the
> Tramp manual about.

Hm ... like this?

[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return

> Tramp and zsh didn't fall in love ever.

We got it to work from Linux (Debian) to both OpenBSD and
SunOS, remember? (Actually if I didn't have these files
I don't know how much I would remember. But I use it every
day, to the OpenBSD account filesystem, so thumbs up
regardless ...)

But, now technically speaking ... it doesn't look like zsh
from the below settings?

;;; -*- lexical-binding: t -*-
;;
;; this file:
;;   https://dataswamp.org/~incal/emacs-init/tramp-incal.el

(require 'tramp)
(require 'tramp-sh)

(setq tramp-histfile-override nil)

(add-to-list 'tramp-methods
  '("sunos-ssh"
    (tramp-login-program       "ssh")
    (tramp-login-args        (("-l" "%u")
                              ("-p" "%p")
                              ("%c")
                              ("-e" "none")
                              ("-t" "-t")
                              ("%h")
                              ("\"/bin/sh -i\"") ))
    (tramp-async-args        (("-q")))
    (tramp-remote-shell        "/bin/sh")
    (tramp-remote-shell-login ("-l"))
    (tramp-remote-shell-args  ("-c")) ))

;; SunOS system:
;; (find-file "/sunos-ssh:embe8573@polhem.it.uu.se:public_html/darn.txt")
;;
;; OpenBSD system:
;; (find-file "/-:incal@srv.dataswamp.org:public_html/sth/sth.py")

-- 
underground experts united
https://dataswamp.org/~incal




  reply	other threads:[~2022-03-27  8:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-22  1:12 TRAMP suspended after I inputted password Christopher M. Miles
2022-03-25 14:10 ` Michael Albinus
2022-03-26  1:53   ` Christopher M. Miles
2022-03-26  8:57     ` Michael Albinus
2022-03-26 15:20       ` Christopher M. Miles
2022-03-27  7:44         ` Michael Albinus
2022-03-27  8:10           ` Emanuel Berg via Users list for the GNU Emacs text editor [this message]
2022-03-28  6:33           ` Christopher M. Miles
2022-03-30 14:30             ` Michael Albinus
2022-04-05  3:28               ` [SOLVED] " Christopher M. Miles

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=875ynz24u0.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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).