[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prompt issue with tramp shell
From: |
Emanuel Berg |
Subject: |
Re: Prompt issue with tramp shell |
Date: |
Wed, 21 Oct 2020 01:21:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Ergus wrote:
> I tried this ~/.emacs_bash thing and I have the
> same issue [...]
tramp didn't work for me at all!
I have two remote system, one SunOS and one OpenBSD,
none worked, then I got help on this list.
Here is what made it work. Do I understand why?
Maybe only Jehovah does.
NB: the methods are different - the "big Elisp" you
see is the SunOS-specific method.
HIH (ha)
;;; -*- 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
'("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:darn.txt")
;;
;; OpenBSD system:
;; (find-file "/-:incal@srv.dataswamp.org:public_html/bot/sth.py")
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
- Prompt issue with tramp shell, Ergus, 2020/10/16
- Re: Prompt issue with tramp shell, Colin Baxter, 2020/10/16
- Re: Prompt issue with tramp shell, Daniel MartÃn, 2020/10/18
- Re: Prompt issue with tramp shell, Colin Baxter, 2020/10/18
- Re: Prompt issue with tramp shell, Ergus, 2020/10/20
- Re: Prompt issue with tramp shell,
Emanuel Berg <=
- the Elisp robot [photo] (was: Re: Prompt issue with tramp shell), Emanuel Berg, 2020/10/20
- Re: the Elisp robot [photo] (was: Re: Prompt issue with tramp shell), Emanuel Berg, 2020/10/20
- Re: the Elisp robot [photo], Jean Louis, 2020/10/21
- Re: the Elisp robot [photo], Emanuel Berg, 2020/10/21
- Re: the Elisp robot [photo], Jean Louis, 2020/10/21
- Re: the Elisp robot [photo], Emanuel Berg, 2020/10/21
- Re: the Elisp robot [photo], Jean Louis, 2020/10/21
- Re: the Elisp robot [photo], Emanuel Berg, 2020/10/21
- Re: the Elisp robot [photo], Jean Louis, 2020/10/21
- Re: the Elisp robot [photo], Emanuel Berg, 2020/10/21