Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMACS 24 and 25 #887

Open
larsbrinkhoff opened this issue May 14, 2018 · 10 comments
Open

EMACS 24 and 25 #887

larsbrinkhoff opened this issue May 14, 2018 · 10 comments
Labels
source missing Flag that this program doesn't have source code.

Comments

@larsbrinkhoff
Copy link
Member

larsbrinkhoff commented May 14, 2018

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

Timestamps from November 25-30, 1976.

@larsbrinkhoff larsbrinkhoff added the source missing Flag that this program doesn't have source code. label May 14, 2018
@larsbrinkhoff
Copy link
Member Author

larsbrinkhoff commented May 29, 2018

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 larsbrinkhoff changed the title EMACS 13 and 14 EMACS 24 and 25 May 29, 2018
@larsbrinkhoff
Copy link
Member Author

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

@larsbrinkhoff
Copy link
Member Author

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
Copy link
Member Author

larsbrinkhoff commented Jun 30, 2018

Some interesting commands:

  • ^X ^C - same
  • ^X ^R - Read File
  • ^X ^W - Write File
  • ^X B - Select Buffer
  • ^X T - Exchange Characters (transpose, now ^T)
  • ^C - Prefix Control-Meta
  • ^^ - Prefix Control
  • ^C ? - Help
  • Control-? - Describe (From SUPDUP: Control-^ Control-^ ?)

@larsbrinkhoff
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

larsbrinkhoff commented Jul 3, 2018

@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
Copy link
Member Author

larsbrinkhoff commented Jul 11, 2018

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

@larsbrinkhoff
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source missing Flag that this program doesn't have source code.
Projects
None yet
Development

No branches or pull requests

1 participant