From: Emanuel Berg <incal@dataswamp.org>
To: emacs-devel@gnu.org
Subject: Re: master 861ac933dd8: Run `man' also on remote systems
Date: Wed, 01 Nov 2023 21:13:27 +0100 [thread overview]
Message-ID: <87jzr1i654.fsf@dataswamp.org> (raw)
In-Reply-To: m134xp1h00.fsf@dazzs-mbp.home
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
next prev parent reply other threads:[~2023-11-01 20:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <169885408539.20142.2201339795070761011@vcs2.savannah.gnu.org>
[not found] ` <20231101155445.B09E0C0C180@vcs2.savannah.gnu.org>
2023-11-01 18:10 ` master 861ac933dd8: Run `man' also on remote systems Eshel Yaron
2023-11-01 20:13 ` Emanuel Berg [this message]
2023-11-02 6:16 ` Eli Zaretskii
2023-11-02 11:21 ` Michael Albinus
2023-11-02 11:43 ` Emanuel Berg
2023-11-02 11:55 ` Eshel Yaron
2023-11-02 13:51 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzr1i654.fsf@dataswamp.org \
--to=incal@dataswamp.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).