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

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

Re: Tramp prompt (?) issue


From: Emanuel Berg
Subject: Re: Tramp prompt (?) issue
Date: Thu, 03 Sep 2020 05:14:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

> Right, now that we know tramp-histfile-override was
> a/the problem, maybe we should see what settings
> did not influence the outcome? Let's see what
> happens with _only_ that setting? 1s

Nope, same. Without messing with the individual
tramp-methods' settings, this is as minimal as it
gets:

;;; -*- lexical-binding: t -*-
;;;
;;; this file:
;;;   http://user.it.uu.se/~embe8573/emacs-init/tramp-my.el
;;;   https://dataswamp.org/~incal/emacs-init/tramp-my.el

(require 'tramp)

(setq tramp-histfile-override nil)

(add-to-list 'tramp-methods
  '("myssh"
    (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")) ))

;; (find-file "/myssh:embe8573@polhem.it.uu.se:darn.txt")

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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