🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Toshiaki Shingu Fri, 08 Jan 1993 05:08
dired on SunOS 4.1.3
#934
Author: Toshiaki Shingu
Date: Fri, 08 Jan 1993 05:08
31 lines
1459 bytes
VERSION:	18.58.1
MACINE/OS:	SparcStation2 / SunOS 4.1.3

Dired cannot get contents of symbolic-linked directory.
For example, "C-x C-f /bin" shows as follows.

  lrwxrwxrwx  1 root            7 Oct 14  1990 bin -> usr/bin

This is solved getting directory contents by "ls -al <directory>/."
insted of "ls -al <directory>".

Here is patch.

--- dired.el~	Wed Apr 15 21:36:51 1992
+++ dired.el	Fri Jan  8 14:05:17 1993
@@ -37,11 +37,11 @@
       (setq dirname (expand-file-name dirname))
       (if (file-directory-p dirname)
 	  (call-process "ls" nil buffer nil
-			dired-listing-switches dirname)
+			dired-listing-switches (concat dirname "/."))
 	(let ((default-directory (file-name-directory dirname)))
 	  (call-process shell-file-name nil buffer nil
 			"-c" (concat "ls " dired-listing-switches " "
-				     (file-name-nondirectory dirname)))))
+				     (file-name-nondirectory dirname) "/."))))
       (goto-char (point-min))
       (while (not (eobp))
 	(insert "  ")
--
Toshiaki SHINGU
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads