[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 861ac933dd8: Run `man' also on remote systems
|
From: |
Emanuel Berg |
|
Subject: |
Re: master 861ac933dd8: Run `man' also on remote systems |
|
Date: |
Wed, 01 Nov 2023 21:13:27 +0100 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eshel Yaron wrote:
>> branch: master
>> commit 861ac933dd8aed1028edc4b9142400e3702874d5
>> Author: Michael Albinus <michael.albinus@gmx.de>
>> Commit: Michael Albinus <michael.albinus@gmx.de>
>>
>> Run `man' also on remote systems
>
> Thanks for implementing this, I just found myself wishing
> `M-x man` would run on the remote host a few days ago.
> This works well now!
I upgraded just now to
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo
version 1.16.0) of 2023-11-01 [commit
8eb9b82ce58a8323af21f52625a401e19e279a9c]
but don't get it to work. After using the below settings and
command to get to a file on an OpenBSD system and do, from
that buffer,
M-x man RET ls RET
I get the GNU ls(1) manpage, not the OpenBSD one.
Maybe it is supposed to work some other way?
;;; -*- 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")) ))
;; OpenBSD system:
;; (find-file "/-:incal@srv.dataswamp.org:public_html/sth/sth.py")
(provide 'tramp-incal)
--
underground experts united
https://dataswamp.org/~incal