help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TRAMP suspended after I inputted password


From: Emanuel Berg
Subject: Re: TRAMP suspended after I inputted password
Date: Sun, 27 Mar 2022 10:10:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]