1
0
mirror of https://github.com/PDP-10/its.git synced 2026-02-14 12:04:03 +00:00

Added DIRED (not the one from EMACS, but the MIDAS one).

This commit is contained in:
Eric Swenson
2016-12-04 20:12:26 -08:00
committed by Lars Brinkhoff
parent 56a8019e98
commit 5590bf925c
6 changed files with 5367 additions and 0 deletions

58
doc/_info_/dired.info Normal file
View File

@@ -0,0 +1,58 @@
LIST OF NDIRED COMMANDS PDL (1/8/76)
To get more detail on a given command, type ? with the command name
as argument. For commands which take more than one argument, both
ESC and comma are legal separators.
[?,HELP] print this, or with arg, describe a command
[A,ACT] read in a directory
[AUTO] toggle automatic file printing
[B,BACKUP,COPY] copy files
[BC,COPYC,CD,COPYD,BD] copy files, preserving old creation date
[CHECK,CHKSUM,CHK] toggle checksum enable
[D,DEL,DELETE] delete files
[DIR] simulate DIR device on in-core directory
[END] move pointer to end
[ER,ERASE] remove files from in-core directory (not real one)
[FIND] search disk for files
[J,JUMP,GO] move pointer to a specific file
[K,VALRET] VALRET a string to superior
[KEEP] erase files not matching argument
[L,LF,LISTF] list a directory
[LINK] make links to files
[MFD] read in part or all of m.f.d.
[NEXT,<CR>] move pointer one file towards end
[P,PR,PRINT] print a file
[Q,QUIT] kill dired
[QUICK] print just file names, not listf lines
[QUIET,SILENT] toggle default matching-file output
[R,RENAME] rename files
[SAFE!,SUPER] set safety mode to obnoxiously safe
[SAFE] set safety mode to moderately safe
[SAVE,MOVE,S] copy files and delete originals
[SC,SAVED,SD] like save, but preserve original creation dates
[SCRIPT,WALBEG] script to the file given, default WALLP >
[SCREND,WALEND] close the script channel
[SHOW] list in-core dir, but mark matches
[SLOW] print listf lines, not just file names
[SORRY] set safety mode to hardly safe
[STATUS] print defaults
[TOP] move to top of directory
[TR,TRAVEL] change default direction of travel in active dir
[TYPE] type first N lines of a file
[T] type next N lines of a file
[V,VECTOR] list in-core directory, or matches of arg in it
[WHO] listf tty
[X,XF,XFILE] execute a file of commands. may push up to eight of them
[^,BACK,U,UP] move pointer one file towards top
Interrupt characters:
^G, ^S return to command input, abort current command
^W go into quiet mode for next command
^V go out of quiet mode for next command
^B if scripting, turn scripting on
^E if scripting, turn scripting off
^Q always quotes the next character on input, even interrupt characters.

237
doc/_info_/dired.order Normal file
View File

@@ -0,0 +1,237 @@
---ACTIVATION COMMANDS---
ACT <indev>,<outdev>
Reads in a directory and sets up an optional output directory.
Only if a directory is active are "*" file names legal.
MFD <directories>
Read in copy of MFD, including only those which match at least
one of the arguments given. If none are given, just read in the whole
MFD. The result is printed. The MFD which results is used by the
FIND command (qv).
---SYSTEM DIRECTORY PARAMETERS---
ALLOC <allocn>,<drive#>
Set the allocation and drive number allocated on for the
active directory. If no argument is given, print the current
status of the directory. If the directory is already allocated,
you may default the second argument.
QUOTA <quota>
Set the quota of the active directory to the argument.
If no argument, print current directory status.
---SYSTEM FILE PARAMETERS---
AUTHOR <file>,<author>
Set the author field associated with matching files.
CDUMPB <files>
Clear the "Dumped" bit of all matching files. This bit being
off is indicated by the presence of "!" next to the date on the LISTF
line for a file. Files whose "Dumped" bit is zero will be dumped at
the next incremental dump.
CREAPB <files>
Clear the "Do not reap" bit of matching files. This bit being
cleared is indicated in the LISTF line for a file by the absence of a
"$" to the left of the creation date.
SDUMPB <file>
Set the "Dumped" bit of all matching files. This bit being
set is indicated by the absence of "!" next to the date on the LISTF
line for a file.
SREAPB <files>
Set the "Do not reap" bit of matching files. This bit being
set is indicated in the LISTF line for a file by the presence of a "$"
to the left of the creation date. Files whose "Reap" bit is set will
not be reaped by the Gr*m F*le R**per.
---DIRED MODES---
AUTO
Toggle state (initially off) of automatic file typeout. If on,
first few lines of each file will be typed as it becomes one pointed at.
CHECK
Toggle state of checksumming. Normal mode is no checksum.
QUICK
Print short file-names instead of LISTF type lines.
QUIET
Toggle files-found printing on commands like ERASE.
SLOW
Print LISTF lines instead of just names: normal mode on
display consoles.
STATUS
Print current input device, output device, file, and safety
level.
TRAVEL
Toggle direction of travel, initially least to greatest.
---MOVEMENT IN THE ACTIVE DIRECTORY---
BACK
Go to previous file in active directory in current direction
of travel.
END
Go to end of active directory, relative to current direction
of travel.
JUMP <file>
Make the current file the file given.
NEXT
Go to next file in active directory, in current direction of
travel.
TOP
Go to top of active directory, relative to current direction
of travel.
---FILE COPY COMMANDS---
COPY <infile>,<outfile>
Copy a file, default input is current file, output is onto
current output device. Sets output device.
COPYD <infile>,<outfile>
COPYD is exactly like COPY, except that the creation and reference dates of
the new file will be the same as that of the old file.
MOVE <infile>,<outfile>
MOVE is the ultimate version of a copier. It attempts to
move the file "somewhere" else. If <outfile> is the same DEV:SNM;
as <infile>, MOVE will ignore links and even preserve the state of the
Author, Dump and Reap bits. If <outfile> is a different DEV:SNM;, the
only thing that will not be preserved is the Dump bit (it will be
cleared).
Note that as in the "SAVE" command, the source is deleted, and
you will not be asked to confirm.
For the purposes of this command, DKn: is "the same as" DSK:.
SAVE <infile>,<outfile>
SAVE is similar to COPY, except that after the file is copied
to the output directory, the old copy is deleted.
SAVED <infile>,<outfile>
SAVED is similar to SAVE, but the creation date of the old file
is preserved on output.
---DELETION---
DELETE <file>
Delete all files matching argument from active directory,
(default current file) or single file if none active.
---ACTIVE DIRECTORY ORDERING AND SUBSETTING---
DIR <file>
Simulates DIR device, but works on directory in core.
ERASE <file>
Remove from in-core list of active directory all files which
match argument. If no argument, remove current file.
FIND <device>,<directories>
Reads in files to search for, and searches entire M.F.D.
for them, printing out results as they occur. The optional first
argument enables the user to specify an alternate device (for example,
DIR:ONLY LINKS) that will be used instead of DSK:.FILE. (DIR) to get
the directories to search.
The remaining arguments on the command line may be any number
of directory names, with *'s allowed, which will be the directories to
search. This is the same as for the MFD command.
KEEP <file>
ERASE all files from active directory other than those which
match argument.
SHOW <file1>,<file2>
Print names of all files matching first argument, with all
matching second marked. If only one argument given, print active files
with matching files marked.
VECTOR <file>
Print all filenames in active directory matching argument, or
all files if no argument.
---HELP AND INFORMATION---
HELP <command>
Print help message for a given command, or if no argument,
print .INFO.;DIRED ORDER.
---LINKING---
LINK <file1>,<file2>
Create links to all files which match second argument from
files on device given in first argument. If only one argument, link
it to current file.
---LISTF AND PRINT---
LISTF <dir>
Print directory of DEV:SNM;.
PRINT <file>
Print a file, default the current file.
T <n>
Type N lines further into a file.
TYPE <n>
Type first N lines of a file.
WHO
Do LISTF TTY:.
---LEAVE DIRED---
QUIT
Kill the DIRED.
VALRET <string>
Valret the string to DIRED's superior.
---RENAME---
RENAME <file1>,<file2>
RENAME first argument to second, if two arguments, or current
file to argument if only one given. If a directory is active, star
matching may be used to rename many files at once.
---SAFETY MODES---
SAFE
Set normal safety mode: Confirm deletion commands, check for
inadvertent deletion during other commands.
SORRY
Set un-safe mode: Only confirm attempt to delete entire active
directory.
SUPER
Set very safe mode: Confirm each action taken for all
commands.
---SCRIPTING---
SCREND
Close the currently open script file.
SCRIPT <file>
Script output to a file, default WALLP >.
---XFILE---
XFILE <file>
Execute a file, default the current file.

49
doc/_info_/dired.recent Normal file
View File

@@ -0,0 +1,49 @@
DIRED 161 2/6/76
DIRED now interprets its JCL line as the argument to an ACT command.
In other words, :DIRED FOO; will start up DIRED with the FOO directory
activated. No JCL argument will, as before, start DIRED with your
own directory active.
DIRED 160 1/20/76
NDIRED ==> DIRED, etc.
NDIRED 158 1/8/76
SCRIPT and SCREND. Open and close a script file. ^B and ^E begin
and end scripting respectively, without closing the script file.
NDIRED 150 12/11/75
XFILE now exists! Takes a file spec and executes it as DIRED commands.
You may xfile inside xfiles, up to 8 levels deep. ^G or ^S at any
time aborts all currently open xfiles. Any questions given STILL expect
answers from the TTY. If you really object to this, complain to me.
NDIRED now has all the commands that DIRED has. This implies that soon
(first of the year?) DIRED will be replaced by NDIRED.
DIRED 130 7/26/74
This version contains a new command called "BC". It is identical
to the "B" (or "BACKUP" or "COPY") command, except that the copy(s)
created will have the same creation date as the original file(s).
DIRED 129 7/8/74
This version of DIRED understands Marc Seriff's new DIR: device. If
you give DIR: as the device on an ACTIVATE command to DIRED, only the
appropriate subset or sort of the directory will be activated. See
the file .INFO.;DIR RECENT for more info on the DIR device. (Note: The DIR
device currently only works on ITSs with the new JOB-BOJ code, like
>886).
A bug that occured when an empty directory is activated has been fixed.
DIRED 128 6/20/74
This version of DIRED prints the full "listf-style" line whenever
a new file is moved to (with a few additions!). Code is from
WJL's FIND program, and was added by him.