emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp and `dired-listing-switches'


From: Emanuel Berg
Subject: Re: Tramp and `dired-listing-switches'
Date: Sat, 09 Dec 2023 17:10:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

> Anyway, bad news, the dired listing part works but when
> I hit RET at a file I don't get to the file, maybe because
> those public_html directories are symlinked?
>
> I get this kind of message:
>
>   Tramp: Checking ‘vc-registered’ for
> /sudo:root@ebc:/:/scp:incal@srv.dataswamp.org:/var/www/htdocs/dataswamp.org/~incal/sth/scripts/senior...done
>   Use M-x make-directory RET RET to create the directory and its parents
>
> Doing it like this works:
>
>   (find-file "/-:incal@srv.dataswamp.org:public_html/sth/scripts/senior")

This is my whole Tramp config.

It says "sunos-ssh" - yes, I used to do this to
a SunOS system. But now I don't, so maybe that whole config is
out the window?

Or is it just a name, i.e., still in effect?

;;; -*- 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")) ))

(provide 'tramp-incal)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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