[Top][All Lists]

[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:02:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Michael Albinus wrote:

>> That's it!
>>   (setq tramp-histfile-override nil)
>> and now it works!
> Hooray!
> Have you used the (existing) "sshx" method, or one of
> the "my*" approaches?

Sorry for the delay. Everything in time...

At the SunOS system, with no files there whatsoever,
and $ ps -p $$ # indicates bash, these settings and
the command last works:

;;; -*- lexical-binding: t -*-
;;; this file:

(require 'tramp)

(setq tramp-default-method "ssh")
(setq tramp-histfile-override nil)
(setq tramp-verbose 10)

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

;; (find-file "/")

underground experts united

reply via email to

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