Jump to content

Dired: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m script-assisted date audit and style fixes per MOS:NUM
Citation bot (talk | contribs)
Add: website. | Use this bot. Report bugs. | Suggested by Whoop whoop pull up | #UCB_webform 169/202
 
Line 13: Line 13:
}}
}}
{{Portal|Free and open-source software}}
{{Portal|Free and open-source software}}
'''Dired''' (for '''Directory Editor''') is a [[computer program]] for editing [[file system]] [[directory (file systems)|directories]]. It typically runs inside the [[Emacs]] [[text editor]] as a specialized [[Emacs mode|mode]], though standalone versions have been written. Dired was the {{citation needed span|first|date=October 2021}}{{discuss|reference for first?}} [[file manager]], or visual editor of file system information.<ref name="direddoc">{{cite web |last=Kugell |first=Stanley G. |title=SAILDART/1978-08 |publisher=[[Stanford University centers and institutes#Stanford Artificial Intelligence Laboratory|Stanford Artificial Intelligence Laboratory]] DART (Dump and Restore Technique) Archive |year=1974 |url=https://www.saildart.org/DIRED.SGK%5BUP,DOC%5D1 |access-date=19 February 2014}}</ref><ref>[https://www.saildart.org/PHONE.LST%5BP,DOC%5D23 SAILDART Username key for above] {{webarchive|url=https://web.archive.org/web/20150903224616/http://www.saildart.org/PHONE.LST%5BP%2CDOC%5D23 |date=3 September 2015 }}</ref>{{failed verification|date=October 2021}} The first version of Dired was written as a stand-alone program independently in 1972 by [[Dave Lebling]]<ref>{{Cite web|url=https://github.com/PDP-10/its-vault/blob/master/files/syseng/dired.mdl121|title = PDP-10/Its-vault|date = 10 September 2021}}</ref> at [[Project MAC]], and circa 1974 by [[Stan Kugell]] at the [[Stanford Artificial Intelligence Laboratory]] (SAIL).<ref name="direddoc" /> It was incorporated into [[GNU Emacs]] from the earliest versions,<ref>{{cite web|url=https://github.com/typester/emacs/blob/master/etc/NEWS.1-17|title=Emacs NEWS.1-17 file|date=8 April 2021|quote=Dired has a new command...}}</ref> and re-implemented in [[C (programming language)|C]] and [[C++]] on other operating systems.<ref>{{cite web|url=http://invisible-island.net/ded/|title=DED|quote=it is indisputable that both were inspired by an earlier stand-alone program running on Tenex available in the Stanford AI Lab (SAIL) in 1978.}}</ref><ref>{{cite web|url=http://tldp.org/LDP/LG/issue14/dired.html|title=The Cracraft and Lijewski DIRED Programs|quote=Historically, shortly after emacs "dired" appeared in the TECO implementation, a stand-alone version was written...}}</ref>
'''Dired''' (for '''Directory Editor''') is a [[computer program]] for editing [[file system]] [[directory (file systems)|directories]]. It typically runs inside the [[Emacs]] [[text editor]] as a specialized [[Emacs mode|mode]], though standalone versions have been written. Dired was the {{citation needed span|first|date=October 2021}}{{discuss|reference for first?}} [[file manager]], or visual editor of file system information.<ref name="direddoc">{{cite web |last=Kugell |first=Stanley G. |title=SAILDART/1978-08 |publisher=[[Stanford University centers and institutes#Stanford Artificial Intelligence Laboratory|Stanford Artificial Intelligence Laboratory]] DART (Dump and Restore Technique) Archive |year=1974 |url=https://www.saildart.org/DIRED.SGK%5BUP,DOC%5D1 |access-date=19 February 2014}}</ref><ref>[https://www.saildart.org/PHONE.LST%5BP,DOC%5D23 SAILDART Username key for above] {{webarchive|url=https://web.archive.org/web/20150903224616/http://www.saildart.org/PHONE.LST%5BP%2CDOC%5D23 |date=3 September 2015 }}</ref>{{failed verification|date=October 2021}} The first version of Dired was written as a stand-alone program independently in 1972 by [[Dave Lebling]]<ref>{{Cite web|url=https://github.com/PDP-10/its-vault/blob/master/files/syseng/dired.mdl121|title = PDP-10/Its-vault|date = 10 September 2021}}</ref> at [[Project MAC]], and circa 1974 by [[Stan Kugell]] at the [[Stanford Artificial Intelligence Laboratory]] (SAIL).<ref name="direddoc" /> It was incorporated into [[GNU Emacs]] from the earliest versions,<ref>{{cite web|url=https://github.com/typester/emacs/blob/master/etc/NEWS.1-17|title=Emacs NEWS.1-17 file|date=8 April 2021|quote=Dired has a new command...}}</ref> and re-implemented in [[C (programming language)|C]] and [[C++]] on other operating systems.<ref>{{cite web|url=http://invisible-island.net/ded/|title=DED|quote=it is indisputable that both were inspired by an earlier stand-alone program running on Tenex available in the Stanford AI Lab (SAIL) in 1978.}}</ref><ref>{{cite web|url=http://tldp.org/LDP/LG/issue14/dired.html|title=The Cracraft and Lijewski DIRED Programs|quote=Historically, shortly after emacs "dired" appeared in the TECO implementation, a stand-alone version was written...}}</ref>


When run in Emacs, dired displays an [[ls]]-like file listing in an Emacs buffer. The list can be navigated using standard navigation commands. Several [[Emacs Lisp]] scripts have been developed to extend Dired in Emacs. In combination with Tramp<ref>{{cite web |title=Tramp User Manual|publisher=[[Free Software Foundation]] |url=https://www.gnu.org/software/tramp/ |access-date=4 April 2009}}</ref> it is able to access remote file systems for editing files by means of [[Secure Shell|SSH]], [[File Transfer Protocol|FTP]], [[telnet]] and many other protocols, as well as the capability of accessing local files as another user in the same session. There are also functions that make it possible to rename multiple files via Emacs search and replace capabilities<ref>{{cite web|title= WDired|url=https://www.emacswiki.org/emacs/WDired}}</ref> or apply [[Regular expression|regular expressions]] for marking (selecting) multiple files.<ref>{{cite web|title=Dired Marks vs. Flags|url=https://www.gnu.org/software/emacs/manual/html_node/emacs/Marks-vs-Flags.html}}</ref> Once marked, files can be operated on in various ways from deleting, to renaming, to executing an external shell command or elisp function on them. By means of the Lisp package dired-x<ref>{{cite web|url=https://www.gnu.org/software/emacs/manual/html_mono/dired-x.html|title=Dired Extra User's Manual|last=Kremer|first=Sebastian|date=2017|publisher=[[Free Software Foundation]]|access-date=11 April 2018}}</ref> it is also possible to handle existing ls-like directory listings in a virtual Dired mode. These can also be saved again, often using the filename extension <code>dired</code>.
When run in Emacs, dired displays an [[ls]]-like file listing in an Emacs buffer. The list can be navigated using standard navigation commands. Several [[Emacs Lisp]] scripts have been developed to extend Dired in Emacs. In combination with Tramp<ref>{{cite web |title=Tramp User Manual|publisher=[[Free Software Foundation]] |url=https://www.gnu.org/software/tramp/ |access-date=4 April 2009}}</ref> it is able to access remote file systems for editing files by means of [[Secure Shell|SSH]], [[File Transfer Protocol|FTP]], [[telnet]] and many other protocols, as well as the capability of accessing local files as another user in the same session. There are also functions that make it possible to rename multiple files via Emacs search and replace capabilities<ref>{{cite web|title= WDired|url=https://www.emacswiki.org/emacs/WDired}}</ref> or apply [[Regular expression|regular expressions]] for marking (selecting) multiple files.<ref>{{cite web|title=Dired Marks vs. Flags|url=https://www.gnu.org/software/emacs/manual/html_node/emacs/Marks-vs-Flags.html}}</ref> Once marked, files can be operated on in various ways from deleting, to renaming, to executing an external shell command or elisp function on them. By means of the Lisp package dired-x<ref>{{cite web|url=https://www.gnu.org/software/emacs/manual/html_mono/dired-x.html|title=Dired Extra User's Manual|last=Kremer|first=Sebastian|date=2017|publisher=[[Free Software Foundation]]|access-date=11 April 2018}}</ref> it is also possible to handle existing ls-like directory listings in a virtual Dired mode. These can also be saved again, often using the filename extension <code>dired</code>.

Latest revision as of 06:37, 23 November 2022

Dired
Developer(s)Stan Kugell (original), Richard Stallman (for Emacs), Mike Lijewski, Stuart Cracraft (standalone Unix versions)
Initial releaseCirca 1974; 50 years ago (1974)
Stable release
7.17 / 30 July 2009; 14 years ago (2009-07-30)[citation needed]
Operating systemUnix-like, Microsoft Windows, macOS, Emacs
TypeFile manager
LicenseGPL (Free software)
WebsiteMike Sperber's dired page

Dired (for Directory Editor) is a computer program for editing file system directories. It typically runs inside the Emacs text editor as a specialized mode, though standalone versions have been written. Dired was the first[citation needed][discuss] file manager, or visual editor of file system information.[1][2][failed verification] The first version of Dired was written as a stand-alone program independently in 1972 by Dave Lebling[3] at Project MAC, and circa 1974 by Stan Kugell at the Stanford Artificial Intelligence Laboratory (SAIL).[1] It was incorporated into GNU Emacs from the earliest versions,[4] and re-implemented in C and C++ on other operating systems.[5][6]

When run in Emacs, dired displays an ls-like file listing in an Emacs buffer. The list can be navigated using standard navigation commands. Several Emacs Lisp scripts have been developed to extend Dired in Emacs. In combination with Tramp[7] it is able to access remote file systems for editing files by means of SSH, FTP, telnet and many other protocols, as well as the capability of accessing local files as another user in the same session. There are also functions that make it possible to rename multiple files via Emacs search and replace capabilities[8] or apply regular expressions for marking (selecting) multiple files.[9] Once marked, files can be operated on in various ways from deleting, to renaming, to executing an external shell command or elisp function on them. By means of the Lisp package dired-x[10] it is also possible to handle existing ls-like directory listings in a virtual Dired mode. These can also be saved again, often using the filename extension dired.

References

[edit]
  1. ^ a b Kugell, Stanley G. (1974). "SAILDART/1978-08". Stanford Artificial Intelligence Laboratory DART (Dump and Restore Technique) Archive. Retrieved 19 February 2014.
  2. ^ SAILDART Username key for above Archived 3 September 2015 at the Wayback Machine
  3. ^ "PDP-10/Its-vault". GitHub. 10 September 2021.
  4. ^ "Emacs NEWS.1-17 file". GitHub. 8 April 2021. Dired has a new command...
  5. ^ "DED". it is indisputable that both were inspired by an earlier stand-alone program running on Tenex available in the Stanford AI Lab (SAIL) in 1978.
  6. ^ "The Cracraft and Lijewski DIRED Programs". Historically, shortly after emacs "dired" appeared in the TECO implementation, a stand-alone version was written...
  7. ^ "Tramp User Manual". Free Software Foundation. Retrieved 4 April 2009.
  8. ^ "WDired".
  9. ^ "Dired Marks vs. Flags".
  10. ^ Kremer, Sebastian (2017). "Dired Extra User's Manual". Free Software Foundation. Retrieved 11 April 2018.
[edit]