Fix for dired in TRAMP.
--- a/.emacs-my Wed Aug 04 16:38:19 2021 +0300
+++ b/.emacs-my Wed Aug 04 16:41:03 2021 +0300
@@ -1484,6 +1484,7 @@
;; ls-lisp-use-insert-directory-program to "t" (so Emacs won't crash when
;; access P9 mounted WSL paths). Seems some switches broke TRAMP in that case
;; so disable external "ls".
+;; https://emacs.stackexchange.com/questions/63918/dired-doesn-t-work-on-old-remote-system
(defun my-dired-remote-fix ()
(when (file-remote-p dired-directory)
(setq-local ls-lisp-use-insert-directory-program nil)