Dired

Last updated
Dired
Emacs Dired buffers.png
Dired as implemented in Emacs, showing multiple buffers with custom colors.
Developer(s) Stan Kugell (original), Richard Stallman (for Emacs), Mike Lijewski, Stuart Cracraft (standalone Unix versions)
Initial releaseCirca 1974;47 years ago (1974)
Stable release
7.17 / 30 July 2009;12 years ago (2009-07-30)[ citation needed ]
Operating system Unix-like, Microsoft Windows, macOS, Emacs
Type File manager
License GPL (Free software)
Website Mike 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.

Related Research Articles

Bash (Unix shell) GNU replacement for the Bourne shell

Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell. First released in 1989, it has been used as the default login shell for most Linux distributions. A version is also available for Windows 10 via the Windows Subsystem for Linux. It is also the default user shell in Solaris 11. Bash was also the default shell in all versions of Apple macOS prior to the 2019 release of macOS Catalina, which changed the default shell to zsh, although Bash currently remains available as an alternative shell.

The editor war is the rivalry between users of the Emacs and vi text editors. The rivalry has become a lasting part of hacker culture and the free software community.

Emacs Lisp

Emacs Lisp is a dialect of the Lisp programming language used as a scripting language by Emacs. It is used for implementing most of the editing functionality built into Emacs, the remainder being written in C, as is the Lisp interpreter. Emacs Lisp is also termed Elisp, although there is also an older, unrelated Lisp dialect with that name.

A file manager or file browser is a computer program that provides a user interface to manage files and folders. The most common operations performed on files or groups of files include creating, opening, renaming, copying, moving, deleting and searching for files, as well as modifying file attributes, properties and file permissions. Folders and files may be displayed in a hierarchical tree based on their directory structure.

Integrated development environment Software application used to develop software

An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of at least a source code editor, build automation tools and a debugger. Some IDEs, such as NetBeans and Eclipse, contain the necessary compiler, interpreter, or both; others, such as SharpDevelop and Lazarus, do not.

XEmacs

XEmacs is a graphical- and console-based text editor which runs on almost any Unix-like operating system as well as Microsoft Windows. XEmacs is a fork, based on a version of GNU Emacs from the late 1980s. Any user can download, use, and modify XEmacs as free software available under the GNU General Public License version 2 or any later version.

ls

In computing, ls is a command to list computer files in Unix and Unix-like operating systems. ls is specified by POSIX and the Single UNIX Specification. When invoked without any arguments, ls lists the files in the current working directory. The command is also available in the EFI shell. In other environments, such as DOS, OS/2, and Microsoft Windows, similar functionality is provided by the dir command. The numerical computing environments MATLAB and GNU Octave include an ls function with similar functionality.

Gnus

Gnus, or Gnus Network User Services, is a message reader which is part of GNU Emacs. It supports reading and composing both e-mail and news and can also act as an RSS reader, web processor, and directory browser for both local and remote filesystems.

GNU Project Free software project

The GNU Project is a free software, mass collaboration project that Richard Stallman announced on September 27, 1983. Its goal is to give computer users freedom and control in their use of their computers and computing devices by collaboratively developing and publishing software that gives everyone the rights to freely run the software, copy and distribute it, study it, and modify it. GNU software grants these rights in its license.

Texinfo Typesetting syntax used for generating documentation in both on-line and printed form

Texinfo is a typesetting syntax used for generating documentation in both on-line and printed form with a single source file. It is implemented by a computer program released as free software of the same name, created and made available by the GNU Project from the Free Software Foundation.

Zmacs

Zmacs is one of the many variants of the Emacs text editor. Zmacs was written for the MIT Lisp machine and runs on its descendants. Zmacs is written in Lisp Machine Lisp. It is based on the ZWEI programming substrate, which stands for "Zwei Was EINE Initially"; Zwei was a collection of routines which could be used to easily implement other programs, like the Symbolics mail program, Zmail.

Conkeror Mozilla-based web browser

Conkeror is a Mozilla-based web browser designed to be navigated primarily by a computer keyboard. Its design is mainly patterned after the text editor GNU Emacs, with some influence from other programs, including vi.

DWIM computer systems attempt to anticipate what users intend to do, correcting trivial errors automatically rather than blindly executing users' explicit but potentially incorrect input.

This article provides basic comparisons for notable text editors. More feature details for text editors are available from the Category of text editor features and from the individual products' articles. This article may not be up-to-date or necessarily all-inclusive.

The following tables compare general and technical information for a number of notable file managers.

Hemlock is a free Emacs text editor for most POSIX-compliant Unix systems. It follows the tradition of the Lisp Machine editor ZWEI and the ITS/TOPS-20 implementation of Emacs, but differs from XEmacs or GNU Emacs, the most popular Emacs variants, in that it is written in Common Lisp rather than Emacs Lisp and C—although it borrows features from the later editors. Hemlock was originally written by the CMU Spice project in Spice Lisp for the PERQ computer.

MIT/GNU Scheme

MIT/GNU Scheme is a programming language, a dialect and implementation of the language Scheme, which is a dialect of Lisp. It can produce native binary files for the x86 processor architecture. It supports the R7RS-small standard. It is free and open-source software released under a GNU General Public License (GPL). It was first released by the developers at the Massachusetts Institute of Technology (MIT), in 1986, as free software even before the Free Software Foundation, GNU, and the GPL existed. It is now part of the GNU Project.

Aquamacs

Aquamacs is an Emacs text editor for macOS. It is based on GNU Emacs, currently tracking the GNU Emacs version 25.3 branch. Although GNU Emacs has had native UI support on macOS using the Cocoa API since version 23, Aquamacs modifies the user interface to conform with macOS standards in favor of Emacs standards.

GNU Emacs GNU version of the Emacs text editor

GNU Emacs is a free software text editor. It was created by GNU Project founder Richard Stallman. In common with other varieties of Emacs, GNU Emacs is extensible using a Turing complete programming language. GNU Emacs has been called "the most powerful text editor available today". With proper support from the underlying system, GNU Emacs is able to display files in multiple character sets, and has been able to simultaneously display most human languages since at least 1999. Throughout its history, GNU Emacs has been a central component of the GNU project, and a flagship of the free software movement. GNU Emacs is sometimes abbreviated as GNUMACS, especially to differentiate it from other EMACS variants. The tag line for GNU Emacs is "the extensible self-documenting text editor".

Emacs Family of text editors

Emacs or EMACS is a family of text editors that are characterized by their extensibility. The manual for the most widely used variant, GNU Emacs, describes it as "the extensible, customizable, self-documenting, real-time display editor". Development of the first Emacs began in the mid-1970s, and work on its direct descendant, GNU Emacs, continues actively as of 2021.

References

  1. 1 2 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". 10 September 2021.
  4. "Emacs NEWS.1-17 file". 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.