PDP-10 / its

Incompatible Timesharing System
Other
868 stars 84 forks source link

EMACS 24 and 25 #887

Open larsbrinkhoff opened 6 years ago

larsbrinkhoff commented 6 years ago

EMACS; TS 13 and 14
EMACS; [PURE] 24 and 25
.TECO.; TECPUR 508
EMACS; .EMACS (INIT)

Timestamps from November 25-30, 1976.

larsbrinkhoff commented 6 years ago

I added TECPUR 508, and now EMACS 24 and 25 will start.

However, they want to open EMACS; .EMACS (INIT). There's probably some necessary TECO code there. Without it, no EMACS commands except ^X ^C seem to work.

larsbrinkhoff commented 6 years ago

The EMACS version is from [PURE], not the TS file.

larsbrinkhoff commented 6 years ago

We now have .EMACS (INIT). EMACS 24 and 25 start without complaint. There is no mode line.

Cursor movement using ^P ^B ^N ^P M-F M-B works. Some commands unexpectedly open the TECO minibuffer; they probably have different meaning from today.

Find File is Read File and is bound to ^X ^R. Write File is unchanged.

larsbrinkhoff commented 6 years ago

Some interesting commands:

larsbrinkhoff commented 6 years ago

There's no M-X for extended commands. Typing just ALTMODE will present a TECO minibuffer.

Listing from MM List Commands:


In file EMACS:

List Commands             List all user commands.
List Subroutines          List all subroutines
List ^R Commands          List macros intended to be ^R-commands
List One File             List the macros in one file (all classes).
List Loaded Files         List all loaded files' names.
List Variables            List names and values of all variables.
Describe Macro            mmDescribe◊FOO◊ describes macro FOO.
List Redefinitions        List all ^R commands redefined.
LISP Mode                 Set things up for editing LISP code.
MIDAS Mode                Set things up for editing MIDAS code.
TECO Mode                 Set things up for editing TECO code.
TEXT Mode                 Set things up for editing English text.
Auto-Fill Mode            Turn Auto-Fill mode on or off.
Replace String            Replace one string with another.
Query Replace             Replace string, asking about each occurrence.
Keep Lines                Delete all lines not containing specified string.
Flush Lines               Delete all lines containing specified string.
@ TECO                    Make XGP listing of macros file.
Count Lines               Returns the number of lines in the buffer.
Load Library              Load a pure file of macros.
Run Library               Run a library file macro.
List Library              List contents of (not loaded) file of macros.
Kill Variable             Undefines a variable.
Make Variable             Creates a variable (accessible via Q◊name◊).
Edit Options              ^R-mode editor of permanent options
List Files                Brief directory listing.
List Directories          List Directories
List Teco FS Flags        List Teco FS Flags
RMAIL                     Read mail.
EDIT ..D                  Delimiter table editor
View Q-Register           Type out contents of any type Q Reg.
Read File                 Read in a file, killing existing text.
Insert File               Read file, inserting within existing text.
Write File                Write contents of buffer to file.
Append File               Append region to end of specified file.
Prepend File              Append region to start of specified file.
Make Prefix Character     Make definition for a ^R command prefix.
Backtrace                 View the frames on the macro-pdl.
larsbrinkhoff commented 6 years ago

Clarification: EMACS 24 uses a single ALTMODE to enter the TECO minibuffer. EMACS 25 uses a single ALTMODE as a meta prefix, and a double for the minibuffer like all subsequent vertsions.

larsbrinkhoff commented 6 years ago

EMACS; TS 13 starts EMACS; [PURE] 24, and EMACS; TS 14 starts EMACS; [PURE] 25.

The current version in this repository is EMACS; [PURE] 162, started from EMACS; TS 126.

The EINIT library writes to EMACS; [PURE] >, and PURIFY writes to EMACS; TS >. So I suppose the former was done more often than the latter.

larsbrinkhoff commented 6 years ago

@atsampson, I found this in EMACS1; CCL 196:

!@ TECO:! !C Make XGP listing of macros file.
Example: 73 MM@ TECO^[USRCOM >^[20FG^[ (notice that
73 is the page height with the font 20FG).
20FG and 73 are actually the defaults, so that
MM@ TECO^[USRCOM^[^[ is equivalent.!

It seems it's easiest (necessary?) to first :CWD EMACS1, then run EMACS. M-X Load Library◊purify, then e.g. M-X @ TECO◊USRCOM.

larsbrinkhoff commented 6 years ago

?MACS ought to be a slightly older version than EMACS 24, see #1052.

larsbrinkhoff commented 5 years ago

MM RMAIL wants to load .TECO.; [RMAX] >