[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:
;;; http://user.it.uu.se/~embe8573/emacs-init/tramp-my.el
;;; https://dataswamp.org/~incal/emacs-init/tramp-my.el
(require 'tramp)
(setq tramp-default-method "ssh")
(setq tramp-histfile-override nil)
(setq tramp-verbose 10)
(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
- Re: Tramp prompt (?) issue,
Emanuel Berg <=