Google
 

Trailing-Edge - PDP-10 Archives - BB-M836A-BM - tools/sed/sed.shf
There are 16 other files named sed.shf in the archive. Click here to see a list.
SOFTWARE HISTORY FILE FOR THE EDITOR

THIS FILE DOCUMENTS ALL CHANGES WHICH HAVE BEEN MADE TO SED. YOU CAN
FIND OUT WHAT IS NEW BY NOTING THE EDIT LEVEL OF YOUR OLD VERSION AND
READING THIS FILE STARTING AFTER THAT NUMBER. STARTING DEC. 1979 THE
EDITS ARE LABELED:

nnn **  NEW OR EXTENDED COMMANDS
nnn */  NEW SWITCH
nnn *-  MISCELLANEOUS BUT SIGNIFICANT STUFF
nnn @   MINOR ALTERATION OF PERFORMANCE
nnn     INTERNAL BUG FIXES (USUALLY NOT INTERESTING)

	(ANCIENT)	A C. HALL

1	A LOT OF DEVELOPMENT AND BUG FIXES
	BACKUP FILE CREATED
	PROTECTION OF BACKUP AND NEW FILE MADE SAME AS OF OLD
	CHKACC DONE; SETS UP READ-ONLY OR FILE NOT FOUND
	EXIT AND GO OPTION ADDED
	EDITOR DIDN'T LOOK FOR TYPE-IN AFTER DISPLAYING A LONG LINE
	WHILE EDITOR IS SEARCHING, CURSOR RESIDES AT HOME
	AFTER SCAN HAS BEEN EXITED, CURSOR GOES TO MIDDLE OF SCREEN
	IF USER ASKS FOR A FILE WITH NO EXT AND IT IS NOT FOUND,
	  EDITOR WILL TRY FIRST EXT==DEVICE (IF NOT DSK), THEN
	  SOME CANNED EXTS
	FILE SPECS FOR SWITCH ARE UNPARSED, NOT READ FROM USER TYPE-IN
	WELCOME MESSAGE MADE TO FIT IN 20 LINES

	30 AUG 79	A C. HALL

2	ADDED BACKUP SWITCH, TO TURN OFF BACKUP FILE
3	CORRECTED: IF LAST LINE IS LONG, TERMINAL WRAPS AROUND,
		SCREEN WILL ROLL 1 LINE
4	ADDED READING OF SWITCH.INI TO SET UP SWITCHES

	4 SEPT 79	A C. HALL

5	IF EXECUTING AND MAKLPT WANTS TO EXTEND FILE, IT WILL
	NOT, AND STOP THE EXECUTE (SO DOING A ROLLING EXECUTE WON'T
	GO BEYOND FILE)

	6 SEPT 79	A C. HALL

6	SET UP RE-ENTRY ADDRESS SO USER CAN ^C AND SAVE, AND LATER
	GET AND REE.
7	CORRECTED PROBLEM CHANGING TABS TO SPACES IN PICK, PUT, O/C-LINES

	7 SEPT 79	A C. HALL

10	COSMETICS: MOVED ROUTINES AROUND TO BE WHERE THEY OUGHT TO BE
	MADE LABEL ESCAPE BE ENTERA, ESCAPM BE ENTERM
	MADE RECALL FLOW THROUGH ENTERA
	REMOVED ALL REFERENCES TO PARCNT

	11 SEPT 79	A C. HALL

11	ALLOWED SMART TERMINALS TO USE INSERT/DELETE LINES/SPACES SEQUENCES
	TO DO THEIR INSERT/DELETE LINES/SPACES COMMANDS (WELL, INSERT SPACES
	ISN'T DONE YET, SINCE EDITOR NEEDS TO KNOW IF LINE GOES OFF THE
	RIGHT OF THE SCREEN). PUT SHOULD ALSO BE TAUGHT. THE EFFECT IS
	THAT, ON SMART TERMINALS, ONLY THE COUPLE OF CHANGED LINES ARE
	RE-DISPLAYED, NOT FROM THERE TO THE END OF THE SCREEN. UN-SMART
	TERMINALS STILL DO IT THE OLD WAY.
	FOUR MORE WORDS HAVE BEEN ADDED TO THE TERMINAL OUTPUT TABLE.

	13 SEPT 79	A C. HALL

12	SOME LITTLE FIXES: MADE THE S11C11 CURSOR POSITIONER NOT USE
	T3 AND T4; MADE INSERT-LINE WITH TERMINAL HARDWARE DELETE THE
	CURSOR MARK; MADE E-C-C IN ALPNUM NOT DISPLAY CHARACTER TWICE

[P]	A PROBLEM: LONG LINES WITH TAB IN LAST 8 POSITIONS ON SCREEN
	WHICH WRAPS AROUND PUTS 1ST CHAR OF NEXT LINE AT END OF PREVIOUS.
	ALSO, LINES GET DISPLAYED ONE TOO HIGH, CAUSING SEARCHES TO POINT
	ONE TOO LOW.

	13 SEPT 79	A C. HALL

13	CHANGED THE CHEERY WELCOME MESSAGE TO BE MORE GENERAL AND
	INFORMATIVE.

	14 SEPT 79	A C. HALL

14	ROLL-BACK-LINES DIDN'T CLEAR FNC FLAG WHEN FENCE WENT AWAY,
	SO ROLL-FORWARD-LINES WOULD ERASE THE LAST LINE ON THE SCREEN

	18 SEP 79	A C. HALL

15	CORRECTED PROBLEM: WHEN AT START OF FILE AND ADDING TO FILE
	LINE NUMBER BITS COULD GET TURNED ON.

16	ADDED TABLE ENTRIES FOR ROUTINES TO RUN ON ENTRY AND EXIT FROM
	THE EDITOR, AND THE CODE TO CALL THOSE ROUTINES.

17	IF USER IS EDITING THE SAME FILE TWICE, THE FILE IS NOT SAVED
	NOR RE-READ, IN THE INTEREST OF MAKING A QUICK SWITCH.

20	ADDED TABS FLAG: TABS MAKES TABS EVERY 8 COLUMNS; NOTABS CAUSES
	TAB AND BACKTAB TO GO TO THE START OF THE NEXT (PREVIOUS) WORD.
	(THE CODE TO DO NOTABS STUFF IS NOT IN YET).

	19 SEPT 79	A C. HALL

21	RE-WROTE MAKCHR TO WORK WITH FULL WORD NULLS RATHER THAN
	CHARACTERS. IT MIGHT BE FASTER THIS WAY, BUT IT'S CERTAINLY LESS
	BUGGY.

22	MADE PUT OF AT LEAST ONE LINE DO INSERT-LINES -LIKE TERMINAL
	EXPLOITATION.

23	WROTE WTABS: WORD-WISE TAB ROUTINE, TURNED ON BY WTBFLG FLAG.

	20 SEPT 79	A C. HALL

24	WRITING WBTABS: WORD-WISE BACKTABS. IF AT BEGINNING OF LINE,
	IT WILL JUST DO A NORMAL BACKTAB, RATHER THAN MOVING TO THE
	END OF THE PREVIOUS LINE.

	21 SEPT 79	A C. HALL

25	ADDED CODE TO DO A RESCAN OF THE RUN COMMAND. THUS THE USER
	CAN SAY "R EDIT;FILE" AND SET FILE UP RIGHT AWAY, WITHOUT
	WAITING FOR THE SCREEN TO START DISPLAYING.

	UNTIL 2 OCT 79	A C. HALL

	ENTRIES IN THIS FILE FROM 21-28 SEPT WERE LOST DUE TO DISK CRASH.
	BELOW IS A RE-CREATION OF WHAT THEY WERE

26	ADDED A NEW CURSOR POSITIONING ALGORITHM: OUTPUT ONES COMPLEMENT
	OF COLUMN, LIKEWISE ROW.

27	ADDED NEL FLAG TO TERMINAL INPUT TABLE. IT SETS ASIDE THE LAST
	LINE OF THE SCREEN FOR PARAMETERS, ETC, AND DOES NOT RE-WRITE IT
	WITH A LINE FROM THE FILE (EXCEPT ON DISPLAYS, ROLLS, ETC).
	SO A SLOW TERMINAL WITH A LOT OF LINES CAN SAVE OVERHEAD BY
	SETTING THIS FLAG

30	RENAMED THE .TMP FILES TO BE nnnPIK, nnnCLS, AND nnnSTT, WHERE
	nnn IS THE JOB NUMBER. NOW TWO PEOPLE ON THE SAME PPN WON'T
	OVERLAP THEIR .TMP FILES.

31	FIXED BUG IN THE SLIDERS: CURSOR MOVEMENT USED THE CHANGE OF
	ROW, NOT CHANGE OF COLUMN AS IT SHOULD.

32	EXTENDED THE EXECUTE COMMAND. THERE ARE NOW 8 EXECUTE BUFFERS.
	THERE ARE FORMATS OF THE COMMAND TO NAME, WRITE, DELETE, AND
	READ THEM, AND TO READ THE NAMES WHICH HAVE BEEN DEFINED.
	ALSO, THE BUFFERS CAN BE SET UP IN SWITCH.INI.

	3 OCT 79	A C. HALL

33	MADE A SEARCH KEY BEGINNING WITH LINEFEED WORK. THE CURSOR POINTS
	TO THE CHARACTER AFTER THE LINEFEED.

	4 OCT 79	A C. HALL

34	MADE NUMBER AND SIZE OF EXECUTE BUFFERS BE ASSEMBLY PARAMETERS.

	9 OCT 79	A C. HALL

35	MAKE WORD-WISE TABS WORK FOR CURSOR MOVEMENT PARAMETERS.

36	CHECK FOR <CRLF> AT END OF FILE; IF NONE, PUT ONE IN.
	THUS, OBJECT FILES SHOULD BE EDITABLE (FILE IS NOT MARKED
	AS MODIFIED, SO IF NO OTHER CHANGES ARE MADE IT WON'T BE
	WRITTEN OUT ON EXIT).

	10 OCT 79	A C. HALL

37	MADE TOKEN FILESPECS END WITH COMMA (EXCEPT WITHIN []'S)
	OR CONTROL CHARACTER, AND BE NO LONGER THAN 32 CHARACTERS LONG

40	PUT TERMINAL-DEPENDENT STUFF INTO A SEPARATE MODULE. THE LINK
	IS THE VARIABLE TERMNL. NOW ONE COMPILE AND TWO LOADS CAN
	CREATE BOTH VERSIONS OF THE EDITOR.

	12 OCT 79	A C. HALL

41	MADE IN-LINE PUT DO A HARDWARE INSERT AND A WRITE OF JUST THE
	NEW STUFF, IF THE HARDWARE CAN HANDLE IT

42	MADE .R ED; LOOK LIKE .R ED. IN OTHER WORDS, YOU CAN'T GIVE
	RESCAN A NULL FILE NAME.

	16 OCT 79	A C. HALL

43	TAUGHT RESCAN TO LOOK FOR BOTH UPPER AND LOWER CASE E'S

44	FIXED FILE SETTING BUGS: FILE TOO LARGE OR BAD SPECS WOULD GIVE
	CHEERY MESSAGE WHEN THEY SHOULD SET UP PREVIOUS FILE.

	17 OCT 79	A C. HALL

45	MADE ALPNUM RECOGNIZE THE CASE WHERE USER TYPED ENTER-C-C I TO GET
	A TAB; CM MUST BE MOVED TO THE NEXT TAB STOP.

46	EDITOR NO LONGER SAVES FLAG WORD IN ???STT.TMP. ???STT.TMP IS
	NOW SHORTER AND NOT COMPATABLE WITH EARLIER VERSIONS.

47	IF A LINE HAS TABS AND THE TERMINAL DOES CHARACTER INSERT/DELETE,
	THE LINE MAY NOT LOOK RIGHT. SO RE-DISPLAY AN ENTIRE LINE WHICH
	HAS TABS AFTER THE CURSOR POSITION.

	18 OCT 79	A C. HALL

50	MAKE SMART-TERMINAL DELETE-SPACES DELETE ONLY AS MUCH NEEDED TO CLEAR
	THE LINE. SO IF USER SAYS ENTER 100 DELETE-SPACES AND LINE IS 50
	CHARACTERS LONG, TERMINAL WILL DO 50 DELETES, NOT 100.

	20 OCT 79	A C. HALL

51	ADDED CURSOR POSITIONING ROUTINES FOR TERMINALS WHICH CAN'T DO
	IT THEMSELVES.

	22 OCT 79	A C. HALL

52	ADDED NRU FLAG TO TERMINAL CHARACTERISTICS: TERMINAL CAN'T ROLL UP
	(EVEN LINEFEED AT BOTTOM DOES NOTHING).

53	ELIMINATED DOWN AND CLEAR LINE SLOT FROM TERMINAL OUTPUT TABLE.

	24 OCT 79	A C. HALL

54	PUT TERMINAL FLAGS IN LH OF AC TM. MOVED USER'S ENTRY ROUTINE
	TO BE CALLED JUST AFTER RH OF TM IS SET UP.

55	ADDED INSERT MODE TOGGLE COMMAND. IT HAS CODE 41, AND, LIKE RECALL,
	CAN ONLY BE IMPLEMENTED ON TERMINALS WITH EXTRA KEYS.

	5 NOV 79	A C. HALL

56	CLEANUPS AND BUG FIXES TO MAKE EDITOR RUN UNDER TOPS-20

	9 NOV 79	A C. HALL

57	ADDED ABILITY TO DISPLAY FROM CURSOR TO END OF LINE (FOR INSERT/DELETE
	SPACES, PUT, INSERT-MODE)

60	RE-WROTE SWITCH COMMAND HANDLER SO SWITCHES CAN TAKE ARGS OR SET FLAGS.
	ACTUALLY, EACH SWITCH HAS A ROUTINE OF ITS OWN, WHICH CAN DO ANYTHING.

61	MADE NON-WORDWISE TABS INCREMENT BY ANY VALUE. VALUE N IS SET BY
	T:N SWITCH. NOT GIVES W-W TABS; JUST T GIVES LAST TIME'S VALUE.
	INITIAL VALUE IS 8, OF COURSE.

62	CARRIAGE RETURN: IN INSERT MODE, IT BREAKS THE LINE UP.
	IF NRC FLAG IS CLEAR, AT BOTTOM OF PAGE IT ROLLS THE SCREEN ONE LINE
	(THIS IS THE DEFAULT).

	20 NOV 79	A C. HALL

63	IF CORE GRAB ROUTINE RUNS OUT OF CORE (LIKE ON AN ILL MEM REF)
	EDITOR WILL SAVE FILE AND EXIT, RATHER THAN JUST HALT AS BEFORE.

64	WROTE R1CC1C, VT100 FLAVORED CURSOR POSITIONING ROUTINES

65	ADDED SLW FLAG: IF ERROR MESSAGES WILL BE WRITTEN ON THE
	BOTTOM OF THE SCREEN, TO SAVE REWRITING

66	IF CURSOR RIGHT OR A CHARACTER IS TYPED (WITH RTR FLAG SET)
	THE SCREEN WILL ROLL

	23 NOV 79	A C. HALL

67	EDITOR LOOKS FOR LINE NUMBERS; IF FOUND, GIVES MESSAGE AND
	  MAKES FILE READ ONLY
	ON EXIT FILE NAME IS TYPED OUT ALONG WITH "FILE SAVED" OR
	  "NOT SAVED" MESSAGE
	THE CODE TO INVOKE RUBOUT HAS BEEN ADDED TO THE TERMINAL
	  INPUT TABLE (SLOT -1)
	IF EITHER HALF (OR BOTH) OF PPN IS 0 EDITOR WILL USE USER'S OWN.
	THE INSERT MODE MESSAGE IS KEPT AROUND AFTER SCREEN CHANGES

	28 NOV 79	A C. HALL

70	MADE A DELETE-LINE WITH A PARM OF JUST SPACES (DEFINED BY CURSOR
	MOVEMENT) WORK.  PREVIOUSLY, DELETE-LINES HAD TO INCLUDE AT LEAST
	ONE LINE.

71	DEFINED LPP.2, WHICH MAKES THE BOTTOM LINE ON THE SCREEN
	UNREACHABLE IF THE NEL FLAG IS SET.

72	MADE TERMINAL GO INTO PIM MODE BEFORE USER'S ENTRY ROUTINE IS
	CALLED

	30 NOV 79	A C. HALL

73	ALLOWED CURSOR MOVEMENT ARGUMENTS FOR SEARCHES, SET-FILE, AND PUT.
	ALSO, IF MOVEMENT GOES PAST END OF LINE, THE PARAMETER IS PADDED
	WITH SPACES, NOT STOPPED.

74	MAKE SWITCH HANDLING AREAS SEPARATE ROUTINES. THIS PREPARES FOR
	PUTTING SWITCHES IN RUN COMMAND AND MAKING nnnSTT.TMP BE A TEXT
	FILE GIVING THE FILE NAMES WITH SWITCHES.

75	MAKE [P,PN] DEV:FILE.EXT BE A LEGAL FILESPEC.

	3 DEC 79	A C. HALL

76	MADE A UNIVERSAL FILE (SEDSYM) CONTAINING DEFINITIONS COMMON TO
	THE EDITOR AND ITS TERMINAL MODULES

77  @	A TOKEN PARAMETER NO LONGER WIPES OUT THE PARAMETER BUFFER. THUS,
	A RECALL AFTER A TOKEN GETS THE LATEST PRE-TOKEN PARAMETER

	9 DEC 79	A C. HALL

100	MORE TOPS-20 EDITS. ENABLED TO READ SWITCH.INI, TO GET JOB NUMBER
	FOR .TMP FILES, PLUS SOME BUG FIXES.

	5 JAN 80	A C. HALL

101 @	MADE EXITING MESSAGE COME OUT ON ABORT AS WELL AS NORMAL EXIT
102	MADE A SMART TERMINAL NOT DISPLAY INSERT/DELETE SPACES WHILE EXECUTING
103 @	MADE SEARCH KEY DISPLAY IF SEARCH GOES OFF SCREEN
104	ERROR MESSAGE TEXT CHANGE: CAN'T MIX CURSOR MOVES AND CHARACTERS
105	CBOTOM NOW MOVES TO BOTTOM AND CLEARS THE LINE (CMVBTM JUST MOVES)
106 @	IF BOTTOM LINE IS FRAGGED (BY SWITCH, EXECUTE, INS-MODE)
	IT IS AUTOMATICALLY RE-DONE WHEN SCREEN CHANGES
107 */	SWITCH: /GOTO:N TO START N PERCENT INTO THE FILE; USED ON ENTRY
	OR WITH SET-FILE
110 *-	SET UP A BETTER KEYBOARD ARRANGEMENT UNDER ASSEMBLY PARAMETER NEWTAB
111	COUNT ONLY DELETE-LINES AND DELETE-SPACES COMMANDS TO FIND OUT WHEN
	TO SQUEEZE
112	THE CASE-INDEPENDENT SEARCH SWITCH WAS BEING SET BACKWARDS. CORRECTED.
113	WROTE ROUTINES PUTSTS AND PUTSTC, WHICH ARE LIKE PUTSTG BUT WILL
	SIMULATE CONTROL CHARACTERS USING HIGHLIGHTING.

DOC	CHANGED ALL MENTIONS OF OPEN/CLOSE TO INSERT/DELETE IN THE
	DOCUMENTATION
DOC	NAMED THE EDITOR "SED" AND CHANGED ALL DOCUMENTATION ACCORDINGLY

	14 JAN 80	A C. HALL

114	SLIDES COULD MAKE EDITOR THINK CHAR PTR WAS GOOD WHEN IT WASN'T

115	IF NO STT FILE AND USER TYPED ILLEGAL SPECS, "BAD FILE SPECS"
	AND "FILE NOT FOUND" MESSAGES WOULD LOOP UNTIL PDL OVERFLOW

	18 JAN 80	A C. HALL

116 *-	REMOVED ALL ATTEMPTS TO DISTINGUISH TERMINAL-SENT XOFF-XON'S
	FROM USER-TYPED DELETE-SPACES AND ROLL-BACK-PAGES COMMANDS.
	THE RECOMMENDED WAY TO HANDLE XOFF-XON'S NOW IS TO DISABLE
	CONTROL-S AND -Q AS COMMANDS, KEEP TTY PAGE IN EFFECT (BY
	SETTING THE NPG FLAG) AND LETTING THE MONITOR WORRY ABOUT IT.

	21 JAN 80	A C. HALL

117 **	MADE A TOKEN SWITCH COMMAND DISPLAY THE SETTINGS OF THE NOMINAL
	COMMAND VALUES.

	23 JAN 80	A C. HALL

120 *-	MOVED CURSOR POSITIONING ROUTINES INTO TERMINAL-DEPENDENT MODULE
	SO NOW THE IMPLEMENTOR HAS TO WRITE (OR COPY) HIS OWN POSITIONING
	ROUTINES.

	25 JAN 80	A C. HALL

121 */	ADDED DTB FLAG, WHICH MAKES A TAB DISPLAY AS A PROTECTED I AND
	ONE FEWER SPACE. SO THE DISPLAY IS ALIGNED CORRECTLY, BUT TABS
	ARE FLAGGED AS PROTECTED I'S. THE FLAG IS TOGGLED USING THE /D SWITCH.

	28 JAN 80	A C. HALL

122 **	ADDED DELETE PREVIOUS CHARACTER COMMAND, INTERNAL CODE 042. THIS
	COMMAND IS USED WITH INSERT-MODE (AND WITHOUT IT) TO REMOVE THE
	CHARACTER TO THE LEFT OF THE CURSOR FROM THE FILE. IF THE CHARACTER
	IS A TAB THE ENTIRE TAB IS REMOVED. IT HAS THE NAME ^DC.

123 */	ADDED SWITCH: /Z:TERM, WHERE TERM IS THE NAME OF THE TERMINAL THE USER
	IS RUNNING THE EDITOR ON. TERM CAN BE UP TO 6 CHARACTERS. THE STRING
	IS STORED IN "TRMNAM", WHICH CAN BE USED BY AN IMPLEMENTOR'S ENTRY
	ROUTINE TO SET UP A TERMINAL TABLE FOR THE USER. TRMNAM HAS NO OTHER
	FUNCTION.

	31 JAN 80	A C. HALL

124	CHANGED THE NEW FILE MESSAGE FROM "THIS IS THE FIRST LINE OF"
	TO "; THIS FILE IS"

125 @	MADE WORDWISE BACKTAB AT START OF LINE, WITH A SLIDE, WORK RIGHT.

	4 FEB 80	A C. HALL

126	RE-DID ALPNUM TO MAKE IT WORK BETTER

127 **	ADDED REAL TAB COMMAND - SIMULATES USER TYPING E-C-C I.
	IT HAS COMMAND CODE 43 AND NAME ^TA.

130	ADDED TWO-DIGIT COUNTER COMMAND.
	IT HAS COMMAND CODE 45 AND NAME ^CT.
	**NOTE - THIS WAS REMOVED MAY 1980**

131 *-	ALLOWED AN EXECUTE BUFFER TO EXECUTE ANOTHER EXECUTE BUFFER
	(BUT ONLY ONE LEVEL DEEP).

	8 FEB 80	A C. HALL

132 **	PUT IN ON-LINE HELP. IT IS INVOKED BY TYPING ENTER ENTER COMMAND,
    */	TO GET HELP FOR THAT COMMAND. THE SWITCH /NOH WILL TURN OFF
	HELP - THEN EXTRA ENTERS WILL BE IGNORED. THE HELP INFORMATION
	RESIDES IN THE FILE SEDONL.HLP, WHICH MUST BE SET UP IN PPN
	[2,5].

	12 FEB 80	A C. HALL

133 @	MADE ENTER PERCENT-GOTO POSITION THE CURSOR JUST AFTER THE END OF
	THE FILE.

134 */	ADDED THE /ICR SWITCH (WHICH SETS/CLEARS FLAG NCR). /I (DEFAULT) WILL
	CAUSE A CARRIAGE-RETURN TYPED IN INSERT MODE TO INSERT A <CRLF>.
	WITH /NOI THE CARRIAGE-RETURN JUST MOVES THE CURSOR.

135 */	ADDED THE /RESET SWITCH (WHICH SETS/CLEARS FLAG RST). /RE WILL CAUSE
	NOMINALS TO BE RESET AFTER EACH COMMAND; /NRE LEAVES THE NOMINALS
	ALONE (NOTE: THE ROLL SWITCH MUST NOW BE GIVEN AS /RO, NOT /R).

	26 FEB 80	A C. HALL

136 @	MADE STT.TMP FILE BE READABLE; THE FORMAT IS FILSPECS/FS/FS/FS,
	WHERE THE /FS ARE FILE SWITCHES GIVING ROW, COLUMN, SLIDE, AND
	CHARACTER NUMBER OF DISPLAY POINTER.

137	BUG FIXES IN ALPNUM, ALPENT, PERCND, DISLIN, DISPLF, DISTAB,
	XCTWRT, BAKTAB

140 *-	SED OPTIONALLY SUPPORTS SFD'S, THE NUMBER OF LEVELS BEING A COMPILE
	PARAMETER. .TMP FILES ARE ALWAYS WRITTEN ON THE RUNNER'S TOP LEVEL;
	THE FILE CAN BE FOUND ANYWHERE.

	28 FEB 80	A C. HALL

141 *-	ALLOWED EXECUTE COMMANDS TO BE REPEATED. FOR EXAMPLE, ^6PT DOES 6
	PUTS; IT'S THE SAME AS ^PT^PT^PT^PT^PT^PT. ^6^PT ALSO PARSES.

	5 MAR 80	A C. HALL

142	RE-DID THE SET-FILE COMMAND - THERE WERE SOME PROBLEMS WITH THE
	ORDER IN WHICH THINGS WERE DONE

143 */	ADDED THE /BEEP SWITCH, WHICH CAUSES INSERT MODE TO BE INDICATED BY
	TWO BEEPS AND REPLACE MODE BY ONE, RATHER THAN THE MESSAGE AT THE
	BOTTOM OF THE SCREEN. THE DEFAULT IS NO BEEP. NOTE THAT THE BACKUP
	SWITCH MUST NOW BE GIVEN AS AT LEAST "BA".

144 @	IF CURSOR IS ON THE 80TH COLUMN INSERT MODE WON'T WORK. THE USER
	MUST DO A SLIDE. PREVIOUSLY, UNPREDICTABLE THINGS WOULD HAPPEN.

145 @	FENCE WILL NOT BE RE-DRAWN IF CURSOR IS WITHIN 4 LINES OF THE
	BOTTOM. THIS KEEPS IT FROM BECOMING ANNOYING.

	10 MAR 80	A C. HALL

146 @	IF NRU TERMINAL FLAG IS SET, NRC IS ALSO SET. THUS IF TERMINAL
	CANNOT ROLL UP, THE DEFAULT ACTION WHEN A RETURN IS TYPED AT THE
	BOTTOM OF THE SCREEN IS NOT TO ROLL THE SCREEN.

	12 MAR 80	A C. HALL

147 @	ALLOWED CURSOR MOVEMENT TO WORK FORWARD, BACKWARD, UP, DOWN.
	PEEL.M FIXES THINGS UP FOR THE CALLER.

150 **	ADDED THE MARK COMMAND - USER CAN MARK A POSITION, MOVE TO ANOTHER
	POSITION (BY SEARCHING OR PERCENT, EVEN); THEN PICK OR CLOSE-LINES
	WILL PICK FROM THE MARK TO THE ENDING POSITION (OR BACKWARDS)
	IT HAS COMMAND CODE 44 AND NAME ^MK.

	20 MAR 80	A C. HALL

151 *-	ALLOWED ()'S IN EXECUTE BUFFER ITERATIONS. NOW ^5(^DS^CD) WILL
	DO 5 SETS OF DELETE-SPACES AND CURSOR-DOWN. THE ")" IS REQUIRED;
	THE "(" IS OPTIONAL, AND IS IGNORED IF IT IS PRESENT.

	25 MAR 80	A C. HALL

152	TOPS-20 EDITS: SED CAN BE RUN AS "SED FILESPEC" IF IT IS ON
	<SUBSYS>. THE nnnSTT.TMP FILE IS READABLE. OTHER CLEANUPS
	THIS EDIT IS ESSENTIALLY A FITTING OF ALL THE RECENT TOPS-10
	DEVELOPMENTS

	26 MAR 80	A C. HALL

153	UNPARSE NEEDS TO BE CALLED WHEN READING DEFAULT EXTENSIONS

	31 MAR 80	A C. HALL

154 */	ADDED /PAGE SWITCH, WHICH GIVES USER THE OPTION OF HAVING THE
	SWITCH COMMAND OUTPUT POSITION AS PAGES-LINES, RATHER THAN
	JUST LINES. A PAGE IS A LINEFEED. DEFAULT IS OFF (TOTAL LINES ONLY).
	NOTE THAT THE PROG SWITCH MUST BE AT LEAST "PR"

	2 APR 80	A C. HALL

155 @	MADE A RECTANGULAR INSERT/DELETE-SPACES WITH NO CHANGE OF COLUMN
	USE THE CURRENT NOMINAL SPACES. THUS TO DELETE THE SAME NUMBER AS
	LAST TIME, JUST MOVE THE CURSOR DOWN; ACROSS IS NOT NEEDED.

	9 APR 80	A C. HALL

156 @	MADE A DELETE-SPACES ON A LONG LINE, WITH A TERMINAL WHICH HAS DELETE
	HARDWARE, REWRITE THE LINE SO STUFF OFF THE SCREEN WILL APPEAR.

	11 APR 80	A C. HALL

157 @	ALLOWED STAT.TMP FILE TO CONTAIN MORE THAN TWO FILESPECS. THEN
	SUCCESSIVE SET-FILE'S WILL GET THE NEXT FILE ON THE LIST.

	14 APR 80	A C. HALL

160	MADE THE RESET AND SWITCH COMMANDS RECOGNIZE "ENTER TYPEIN ERASURE
	COMMAND", WHERE ENTIRE TYPEIN WAS ERASED, AS ENTER COMMAND.

161	THE LAST THREE INSTRUCTIONS OF SQUEZW WERE UNDER IFN TOPS-10, SO
	TOPS-20 WOULD FLOW INTO TRAILL AND LOOP.

	19 APR 80	A C. HALL

162 */	ADDED INCREMENTAL SAVE SWITCH (ISAVE:n). FILE IS SAVED AFTER GIVEN
	NUMBER OF COMMANDS (DEFAULT 0, IE, NONE).

163	CLEARED TERMINAL INPUT BUFFER BEFORE ABORTING.

164 *-	IF TERMINAL DOES NOT HAVE ROLL-UP, ROLL-DOWN, CLEAR-EOL, OR
	CLEAR-EOP, THOSE WORDS IN THE TERMINAL TABLE SHOULD BE 0
	(NOT CPOPJ). THE FLAGS NRU AND NRD HAVE GONE AWAY.

165 **	ADDED CONDITIONALS AND DO-WHILE TO EXECUTE SEQUENCES. ALSO
	ADDED EXECUTE COMMANDS TO EXIT THE BUFFER AND EXIT THE
	CURRENT DO OR IF BLOCK.

166 *-	PUT SOFTWARE CLEAR-EOL ROUTINE IN EDITOR. ALSO, IF TERMINAL
	LACKS HARDWARE CLEAR-EOP SED WILL REWRITE THE SCREEN, WHICH
	IS PROBABLY CHEAPER THAN OUTPUTTING ALL THOSE SPACES.

	14 MAY 80	A C. HALL

167 **	IMPLEMENTED EXECUTE EXIT-BLOCK (^XB), CONTINUE-BLOCK (^CB),
	AND END-BUFFER (^XX) CONSTRUCTS.

170 **	ALLOWED EXECUTE BUFFERS TO BE READ FROM DISK

171 **	CHANGED FORMAT OF EXECUTE READ (ENTER R EXECUTE) TO BE COMPATABLE
	WITH THE DISK FILE DEFINED ABOVE.

172 *-	MADE ERRORS WHILE GETTING HELP (ENTER ENTER) TRY AGAIN RATHER
	THAN STOP HELPING.

	17 MAY 80	A C. HALL

173 *-	MADE .REE WORK WITH TOPS-20 (CONTROL-C, REENT WILL GET YOU BACK
	INTO THE FILE, NO HARM DONE.

174 */	ADDED /LENG:n AND /WIDTH:n SWITCHES, WHICH CAN LIMIT (OR EXTEND)
	THE SIZE OF THE TERMINAL SCREEN.

	19 MAY 80	A C. HALL

175 @	CORRECTED BUG: DELETE-LINES ON TERMINAL WITH HARDWARE DELETE
	WOULD NOT CLEAR OUT A STATUS LINE OR INSERT-MODE MESSAGE

176	ANOTHER BUG: MAKCHR COULD FRAG T1 EVEN THOUGH IT'S NOT ALLOWED TO.
	THIS FIX COULD CURE A LOT OF IRREPRODUCEABLE FAILURES. IT ALSO FIXES
	STACK OVERFLOW WHEN USING EXECUTE CONDITIONALS.

177 */	ADDED /IMODE SWITCH, WHICH TURNS ON OF OFF INSERT-MODE. INTENDED
	FOR SWITCH.INI AND EXECUTE BUFFERS

200 *-	THE ENTIRE TERMINAL-DEPENDENT FILE MUST NOW BE IN THE LOW SEGMENT.

	21 MAY 80	A C. HALL

201 *-	ADDED ^IF^U EXECUTE CONSTRUCT - IF CHARACTER AT CURSOR IS UPPER
	CASE (^IF^L(^IF^X^U(...)) FOR LOWER CASE).
	note: ^IF^X^U is not upper case - it matches numbers, etc.

202 **	ADDED LINE COMMAND: IF CURSOR IS NOT AT THE START OF THE LINE, IT
	MOVES TO THE START, ELSE IT MOVES TO THE END OF THE LINE.
	LINE HAS COMMAND CODE 45, NAME ^LN.

203 **	NEW COMMAND: CHANGE CASE OF CHARACTER. CHANGES IT TO UPPER IF
    */	/RAISE IS SET, LOWER IF /NORAISE. CODE 46, NAME ^CS.

204	BUG FIXES IN THE EXECUTE BUFFER ROUTINES

	27 MAY 80	A C. HALL

205 @	MADE A SEARCH ON LAST PAGE OF FILE NOT REWRITE THE SCREEN

206 *-	ADDED THE ^CT (^C= ^C+ ^C- ^C.) COUNTER CONSTRUCTS TO THE
	EXECUTE LANGUAGE.

207 */	ADDED /SHOW SWITCH - DISPLAYS PERFORMANCE OF AN EXECUTE AS IT
	HAPPENS.

210 *-	WHEN AN EXECUTE BUFFER IS DISCONNECTED FROM A KEY THE KEY REVERTS
	TO ITS OLD LEGAL COMMAND, IF IT HAD ONE.

	13 JUN 80	A C. HALL

211 *-	MADE HTB TERMINAL FLAG - ALLOWS THE HIGH ASCII CHARACTERS (170-176)
	TO BE COMMANDS (AS FOR TERMINALS WHICH USE TILDA AS THE CONTROL
	ESCAPE CHARACTER). HTB IS SET IN THE TERMINAL FILE ALONG WITH A
	7-WORD TABLE GIVING THE COMMAND OR SUBTABLE (IF ANY) FOR THE
	CHARACTER.

	23 JUN 80	A C. HALL

212     FIXED INSERT-MODE BUG: ON TERMINAL WITH HARDWARE INSERT-LINES,
	WITH /ICR SET, AFTER A CARRIAGE RETURN THE CURSOR WAS POSITIONED
	AT THE END OF THE LINE, NOT THE BEGINNING.

	3 JUL 80	A C. HALL

213	CHANGED LIST OF SWITCHES TO BE A DISPATCH TABLE

214 @	SEDONL.HLP IS NOW LOOKED UP ON HLP:, NOT [2,5].

	21 JUL 80	A C. HALL

215 **	ADDED WINDOW COMMAND TO DIVIDE SCREEN IN TWO OR RE-COMBINE IT.
	SET-FILE IS USED TO TOGGLE BETWEEN WINDOWS AND SET UP FILES IN THEM
	THE WINDOW COMMAND HAS CODE 47 AND NAME ^WI.

216	SEVERAL MINOR EDITS. FIXED ENTER ENTER RESET, ALPIMD, DISLIN,
	SWHSTT, SSZERR.

217 **	ADDED ERASE-LINE COMMAND, WHICH ERASES FROM CURSOR TO END OF LINE
	IT IS SET UP IN PLACE OF THE CLEAR-LINE COMMAND, WHICH IT WILL
	PROBABLE REPLACE. THUS IT HAS COMMAND CODE 12. ITS NAME IS ^EL.

	29 JUL 80	A C. HALL

220 @	MADE PICKS AND CLOSES WHICH START WITH TABS WORK RIGHT (THEY'D
	DROP CHARACTERS).

	4 AUG 80	A C. HALL

221 @	TRUNCATED A LONG SWITCH LINE AT 80 CHARACTERS

	18 AUG 80	A C. HALL

222 @	MADE <RESET> SAVE PROPERLY IN AN EXECUTE BUFFER (IT HAS CODE 0,
	BUT IN THE BUFFER IT'S "^",77).

223 @	EXTENDED EXTENDED LOOKUP TO INCLUDE .RBDEV, AND USED IT AS DEVICE
	FILE IS ON

	29 AUG 80	A C. HALL

224 *-	SAVED AND RESTORED NOMINALS AND SWITCHES BEFORE AND AFTER AN EXECUTE.
	ADDED EXECUTE INITIALIZE CONSTRUCT; FOR EXAMPLE, ^ST($1^IS)....
	THE STUFF IN ()'S JUST SETS PARAMETERS, AND IS EXECUTED ONLY ON
	THE FIRST ITERATION OF THE BUFFER.

	8 SEP 80	A C. HALL

225 @	MADE EXECUTE COUNTER NOT BE ZEROED BETWEEN EXECUTES (THUS, IT'S RESET
	ONLY ON THE ^C= COMMAND).

226 @	IN SWITCH.INI, "/" IS LEGAL IN AN EXECUTE BUFFER NAME OR SEQUENCE
	(OTHERWISE IT SIGNALS THE START OF ANOTHER SWITCH).

	15 SEP 80	A C. HALL

227 *-	MADE EXECUTE BUTTON DEFINITION REALLY BE ALMOST ANY POSSIBLE SEQUENCE.

230 @	WITH /NOCASE SET SEARCHES COULD MATCH CHARACTERS ABOVE "z" WITH THOSE
	ABOVE "Z".

231 @	ON REENTER, CALL THE USER'S ENTRY ROUTINE AGAIN.

232 **	TOPS-20 NOW CREATES BACKUP FILES (CODE COURTESY OF TED SHAPIN,
	BECKMAN INSTRUMENTS).

	17 SEP 80	A C. HALL

233 **	ADDED THE <TAB-SET/CLEAR> COMMAND (CODE 51, NAME ^TS).
	ALSO ADDED CODE TO MOVE TO THE NEXT OR PREVIOUS SET-UP TAB.
	the code can't be called just now.

234 @	MADE INSERT-LINES, DELETE-LINES, AND PUT STARTING ON THE FIRST
	LINE OF THE SCREEN DO A ROLL TO SAVE REWRITING MOST OF THE SCREEN.

	15 OCT 80	A C. HALL

235 */	ADDED /QUICK SWITCH, WHICH SUPPRESSES DISPLAY ON A SET-FILE. THIS
	IS FOR SLOW TERMINALS WHERE THE USER IS GOING TO DO A SEARCH OR
	SOMETHING RIGHT AWAY AND DOES NOT WANT TO SEE THE FIRST DISPLAY.
	THE /QUICK SWITCH IS TURNED OFF AFTER IT IS INVOKED, SO IT HAS TO
	BE CALLED EACH TIME IT IS WANTED. NOTE: /QUICK IS NOT VERY HUMAN
	ENGINEERED, AND IT IS NOT INTENDED TO BE. FOR EXPERTS ONLY.

	20 OCT 80	A C. HALL

236 @	ADDED CODE (UNDER SWITCH FTTMPC) TO TRY TO WRITE THE nnnSED.TMP
	FILE TO TMPCOR. IF IT FAILS IT WRITES TO DISK THE OLD WAY.

	3 NOV 80	A C. HALL

237 @/	MADE /NOISAVE LEGAL. MADE /ISAVE:0 BEHAVE LIKE /NOISAVE.

240	IN XCT BUFFER, FORCED ^FR OR ^FC TO BE FOLLOWED BY ONE OF [GLEN].

241 @	MADE <ENTER>/SWITCH/SWITCH<SET-FILE> LEGAL (IT GETS THE ALTERNATE
	FILE AND APPLIES THE GIVEN SWITCHES.

	6 NOV 80	A C. HALL

242 @	MADE SLIDE LEFT AND RIGHT MOVE THE SCREEN AND RE-DO ONLY THE COLUMN
	THAT WAS OFF-SCREEN (IF SLIDING LESS THAN HALF THE SCREEN). THIS
	SEEMS MORE COSMETIC THAN EFFICIENT.

243 @	ALLOWED TOPS-20 <SET-FILE> TO TRY SOME FILE EXTENSIONS IF NONE WAS
	GIVEN BY THE USER

244 @	DEFINED TWO MORE WORDS IN THE TERMINAL OUTPUT TABLE: THE SEQUENCES
	TO TURN INSERT MODE ON AND OFF. THE WORDS AND THE CODE THAT USES
	THEM IS UNDER SWITCH FTIMD. IF FTIMD IS ON THEN THE TERMINAL TABLES
	WILL BE INCOMPATABLE WITH THOSE OF EARLIER VERSIONS (HENCE THE SWITCH).

245 @	CORRECTED BUG IN FREE FILE .EXT PROCESSING (SED ONLY LOOKED FOR THE
	FIRST ONE). MADE THE FIRST EXT LOOKED FOR BE THAT OF THE PREVIOUS
	FILE, IF IT HAD ONE.

	19 NOV 80	A C. HALL

246 *-	MADE BACKTAB IN A PARAMETER, AFTER SOMETHING HAS BEEN TYPED, DELETE
	THE LATEST WORD OF THE PARAMETER (MUCH LIKE MONITOR-LEVEL CTRL-W).

247 */	ADDED /STRIP SWITCH, WHICH WILL STRIP LINE NUMBERS OFF AN SOS FILE
	(OBJECT FILES, TOO). /NOSTRIP CAUSES READ-ONLY, AS BEFORE.

	25 NOV 80	A C. HALL

250 **	CHANGED CASE COMMAND. IT NOW TAKES A PARAMETER - NUMBER OF CHARACTERS
	TO CHANGE THE CASE OF. CURSOR MOVEMENT AND TOKENS ARE LEGAL. CHANGE
	OF ROW IS LEGAL TOO, SO CASE CAN WORK WITH A SCREENFUL.

251 *-	RE-DID TOPS-10 FILE LOOKUP PROCEDURE A LITTLE. SED NOW KEEPS TRACK
	OF THE SFD WHERE THE FILE IS FOUND AND THE SFD WHERE THE USER IS
	LOOKING FROM (IN CASE /SCAN IS SET IN THE PATH).

	4 DEC 80	A C. HALL

252 @	CORRECTED SOME BUGS CONCERNING BACKWARD CURSOR MOVEMENT.

	8 DEC 80	A C. HALL

253 @	MADE /READ (== /NOWRITE) USABLE ON THE COMMAND LINE. IE,
	.R SED;FILE/READ WORKS. SO DOES .R SED;/REA.

254	SET UP .JBINT TO MAKE MOST FATAL ERRORS SAVE AND EXIT
	(LIKE ILL UUO, PC OVERFLOW, ETC).

255 @	MADE SED SET TTY NO CRLF ON ENTRY AND RESTORE THE FORMER SETTING
	ON EXIT. SOME MONITORS (NOT THE ONES I USE) GIVE FREE <CRLF>S EVEN
	IN PIM MODE.

	15 DEC 80	A C. HALL

256	CLEARED .JBALC WORD BEFORE ENTERING FILE, SO FILE WILL NOT INSIST
	ON BEING ALLOCATED CONTIGUOUSLY ON DISK. ALSO, ENTER FAILURE NOW GIVES
	"DISK QUOTA EXCEEDED" MESSAGE IF IT FAILS.

	24 DEC 80	A C. HALL

257 *-	FIXED WINDOW BUG IN POSLIN - T4 WAS BASHED AND RW WAS RESTORED.
	ALSO, MADE FILE NOT RE-DISPLAY WHEN WINDOW IS CHANGED
	AND DID GENERAL PRETTYING-UP OF THE WINDOW COMMAND

	13 JAN 81	A C. HALL

260 */	ADDED NEW SWITCH: /AGAIN. USED IN A SWITCHES-ONLY <SET-FILE> COMMAND,
	IT SETS TO THE SAME FILE THAT IS BEING EDITED, A SECOND TIME. OTHER
	SWITCHES CAN BE USED WITH IT. EXPLICIT FILESPECS WILL CAUSE /AGAIN
	TO BE IGNORED.

261 @	FIXED PROBLEM: /GOTO:0 WOULDN'T WORK SINCE IT LOOKED THE SAME AS
	NO SWITCH. NOW NO SWITCH IS -1.

262 @	ALTERED THE TRAILING SPACE ROUTINE (TRAILL) TO STRIP OFF TRAILING
	TABS TOO.

263	TOPS-20: ENABLED OR DISABLED XON-XOFF, DEPENDING ON THE SETTING OF
	THE NPG FLAG.

264 *-	TOPS-20: SET SED SO NO CHARACTERS INTERRUPT AND REMOVED ALL SOFTWARE
	INTERRUPT TRAPPING. NOW SED RECEIVES ALL TYPE-IN AS TYPED (EXCEPT
	THAT <CR> HAS AN <LF> ATTACHED).

265 @	TOPS-20: SAVED EXTENSION OF CURRENT FILE IN TABLE OF DEFAULT EXTS.

	12 FEB 81	A C. HALL

266 *-	EXTENDED RECALL: <ENTER>S<RECALL> RECALLS THE CURRENT SEARCH KEY.
	ALSO, "P" RECALLS THE PREVIOUS SEARCH KEY AND "F" THE FILESPECS.

267 *-	IF A WORD IF TYPED OFF THE END OF THE SCREEN THE ENTIRE WORD WILL
	BE MOVED TO THE NEXT LINE. THUS YOU CAN TYPE TEXT IN WITHOUT EVER
	TYPING A CARRIAGE RETURN.
	(TRIGGERED BY /RMAR: SEE EDIT 277).

270 @	FIXED BUG IN <CASE> COMMAND USING CURSOR MOVEMENT - IT COUNTED WRONG.

	26 FEB 81	A C. HALL

271 @	FIXED BUG: TOPS-20 WOULDN'T STOP SCANNING (IT NEEDED TO WAIT FOR TTY
	OUTPUT TO COMPLETE). THIS BUG CAME FROM EDIT 264.

	5 MAR 81	A C. HALL

272 @	TOPS-20 EDITS: THE NPG FLAG WAS SENSED BACKWARD.
	LOWER CASE CHECKING IN SAMFIL: WAS BAD.
	IF THERE'S A <CR> IN AN XCT BUFFER RETURN: SHOULDN'T WAIT FOR
	  A LINEFEED.
	THE RAISE BIT IN THE RFMOD WORD IS NOW CLEARED (AND RESTORED).
	MOVE THE PMAP TO GET RID OF THE FILE FROM THE SAVING CODE TO
	  JUST BEFORE THE FILE IS READ IN. THIS ALSO GETS RID OF THE
	  SYMBOL TABLE WHICH IS THERE AT STARTUP (AND LOOKS LIKE GARBAGE).

273 **	NEW EXECUTE FORMAT: <ENTER>Xnn:aaaa<EXECUTE> WILL LOAD THE
	CURRENT BUFFER WITH aaaa AND THEN EXECUTE IT nn TIMES.
	THUS A SUBSTITUTE, SAY, CAN BE DONE IN ONE COMMAND.

274 @	FIXED BUGS IN EXECUTE BUFFER BUTTON HANDLING. IF TWO BUFFERS STARTED
	WITH THE SAME SEQUENCE (LIKE CTRL-O X AND CTRL-O Y) THEN THE
	SAVED ORIGINAL COMMAND GOT FRAGGED IN THE TABLE. ALSO, IF ONE
	OF THOSE BUFFERS' BUTTON SEQUENCES WERE CHANGED THEY WOULD ALL
	GO AWAY AND THE COMMAND WOULD REVERT TO ITS ORIGINAL MEANING.
	NOW SED DOESN'T FRAG THE SAVED ORIGINAL COMMAND, NOR DOES IT
	RESTORE THAT COMMAND IF ANY BUFFERS ARE LEFT WHICH USE IT.

275 @	REENTER ON TOPS-20 DIDN'T WORK BECAUSE THE REENTER ADDRESS IN THE
	ENTRY VECTOR WAS NOT CHANGED.

	12 MAR 81	A C. HALL

276 **	ADDED JOURNALING (SAVING A STREAM OF COMMANDS, WHICH CAN BE USED
	TO RECOVER THE EDITING SESSION IF THE COMPUTER CRASHES).

	For now, journaling exists only on Tops-20, and doesn't work well.

    */	JOURNALING IS TRIGGERED BY TWO NEW SWITCHES: /JOURN, WHICH STARTS
	IT, AND /RECOV, WHICH READS THE JOURNAL AND RECOVERS THE FILE.
	/RECOV IS EFFECTIVE ONLY WHEN RUNNING SED, NOT WITH <SWITCH>.

277 */	TWO NEW SWITCHES: /LMAR AND /RMAR, WHICH CONTROL MARGINS. /LMAR
	TELLS WHERE <CR> AND <BEG-LINE> WILL POSITION; /RMAR TELLS WHERE
	TYPE-IN WRAPAROUND (SEE EDIT 267) TAKES EFFECT.

	17 MAR 81	A C. HALL

300 **	TOPS-20: EXIT AND GO (<ENTER><EXIT> OR <ENTER><ABORT>) NOW WORKS.

301 @	TOPS-20: MADE SET-FILE HANDLING LOOK UP NEW FILE BEFORE SAVING OLD
	ONE, WHICH IS BETTER FOR ERROR HANDLING AND SAME-FILE CHECKING.

302 @	MADE THE EXECUTE CONSTRUCT ^DW^S FAIL ON END OF LINE; ^DW^C ALSO
	FAILS ON END OF LINE.

303 @	MADE EXECUTE BUFFERS CONTAINING ONLY ONE COMMAND (WITH THE IDEA
	OF RE-DEFINING THE KEYBOARD) WORK FAST AND CORRECTLY.

304 @	TOPS-20: MADE nnnSED, PICK, AND DELETE BUFFERS BE TEMPORARY.

305 @	IF USER TYPES "CONTINUE" AFTER ABORTING SED WILL REENTER (WITH THE
	FILE THE SAME AS ON THE EXIT). HOWEVER, SED WILL TRY AND FAIL
	IF REE OR CONT ARE TYPED AFTER EXITING.

306 @	TOPS-20: BUG FIX: EDITING A FILE ON ANOTHER DEVICE THAN THE ONE
	CONNECTED TO, THE BACKUP FILE WILL FAIL BECAUSE IT TRIES TO
	RENAME THE FILE TO THE CONNECTED DEVICE.

307 @	TYPING <ENTER><DELETE-CHARACTER> BOMBED SED BECAUSE THE CURSOR
	LEFT CODE WANTS AC DO TO CONTAIN 10 (NOT <D-C>'S 42).

	10 APR 81	A C. HALL

310 @	MADE JOURNAL READABLE - COMMANDS ARE SAVED BY NAME.

311	TOPS-20: "R SED" (OR RU) WOULD GIVE A "FILE NOT FOUND" MESSAGE.
	CHANGED CAIN TO CAIE IN RSCANL.

312	ADDED ^F. EXECUTE CONSTRUCT (IF-COUNTER)

	15 APR 81	A C. HALL

313	A LINE WITHOUT SPACES WHICH OVERFLOWS THE RIGHT MARGIN WOULD CAUSE
	A BLANK LINE TO BE INSERTED BENEATH. MADE IT JUST WRAP AROUND. A LINE
	ALSO WRAPS IF THE ONLY SPACES ARE AT THE BEGINNING.

314	TOPS-20: DON'T BUMP THE VERSION NUMBER OF A *.TMP FILE. THIS ALLOWS
	THE USER TO DEFINE EDITOR: AS SYS:SED.EXE AND CALL IT FROM MS TO
	EDIT MAIL.

	22 APR 81	A C. HALL

315	FIXED: <HELP>G COULD PUT UP THE WRONG CHARACTER AT THE CURSOR POSITION

316	FIXED: /RM: AND /LM: COULDN'T BE SET IN THE MONITOR RUN COMMAND.

	1 MAY 81	A C. HALL

317	<RESET> GOT SAVED IN AN EXECUTE BUFFER AS 0; IT SHOULD BE "^",77.
	THIS WAS FIXED AS EDIT 222 BUT SOMEHOW GOT BROKEN AGAIN.

320	SET UP THE OVERFLOW POINTER FOR THE NULL EXECUTE BUFFER ON STARTUP.

321 **	NEW EXECUTE FORMAT: <ENTER>Lnn<EXECUTE> WILL LIST THE GIVEN BUFFER
	(OR THE ACTIVE ONE IF NO NAME IS GIVEN) IN WRITE FORMAT. THIS
	COMPLEMENTS THE "R" FORMAT, WHICH READS THE BUFFER IN SWITCH FORMAT.

322	TAUGHT TOKEN FILESPEC PARSER ABOUT LEGAL TOPS-20 CHARACTERS.

	14 MAY 81	A C. HALL

323	FIXED BUG: IN <ENTER><EXECUTE><REAL-TAB><EXECUTE> THE ^TA GOT
	SAVED WRONG

324	MADE TMPGET (WHICH READS THE nnnSED.TMP OR INDIRECT FILE) SKIP
	LEADING SPACES OR TABS ON A LINE. ALSO, ALLOWED A TOPS-20 FILESPEC
	TO END WITH A ";" (AS TOPS-10 ONES DO WITH A TAB).

	1 JUN 81	A C. HALL

325 */	ADDED /INVERT SWITCH. IF /INVERT THEN <CASE> INVERTS CASE; IF /NOINV
	/RAISE IS CHECKED.

326 @	ALLOWED INDIRECT <SETFILE> FILES TO CONTAIN COMMENTS STARING WITH
	"!" OR ";", BOTH AS AN ENTIRE LINE AND AT THE END OF THE SPEC LINE

327 */	NEW SWITCH: /ITABS. WHEN A CHARACTER IS TYPED AFTER THE END OF A LINE
	SED INSERTS THE SPACES NEEDED TO POSITION THE CHARACTER (CRLF'S TOO).
	BY DEFAULT IT TRIES TO INSERT AS MANY TABS AS IT CAN INSTEAD OF
	SPACES. /NOITABS TELLS SED TO INSERT ONLY SPACES.

	16 JUN 81	A C. HALL

330 @	MADE SCREEN REWRITING IN THE UPPER WINDOW NOT FRAG THE SEPARATOR

331 *-	EXTENDED RECALL: <ENTER>A<RECALL> RECALLS THE ALTERNATE FILESPECS

332 *-	FIXED BIG BUT INFREQUENT BUG IN MAKSPC: IF THE WORD AT CHRPTR WAS
	ZERO MAKSPC COULD SOMETIMES OVERWRITE UP TO 5 LIVE CHARACTERS
	IN THE FILE

333 @	TWO MARGIN FIXES: ALLOWED /LMAR: TO APPEAR IN SWITCH.INI WITHOUT
	/RMAR: (IT GOT A SWITCH ERROR BEFORE). MADE IT SO IF /RMAR: IS SET
	GREATER THAN THE SCREEN WIDTH THEN AUTOMATIC WRAPAROUND IS TURNED
	OFF AND THE CURSOR JUST MOVES TO THE NEXT LINE.

334 @	FIXED BUG: LOWER CASE "/X" IN SWITCH.INI WAS ILLEGAL

335 *-	TOPS-20: /ISAV: SWITCH AND <SAVE> COMMAND BLEW UP WHICH RE-SETTING
	UP FILE (TRIED TO SAVE FILE TWICE)

	1 JUL 81	A C. HALL

336 @	TOPS-10: THE /PROG: SWITCH IMPROPERLY CALLED THE PARSE-A-NUMBER
	ROUTINE RATHER THAN PARSE-A-SIXBIT-STRING.

337 @	FIXED BUG IN <EXECUTE>: CALLING A BUFFER FROM ANOTHER BUFFER FAILED
	UNDER /SHOW SWITCH OR WHEN 1ST BUFFER CAME FROM A BUTTON.

340	FIXED: <PICK> (AND OTHERS) OF LINES+SPACES WHICH WENT BEYOND THE
	END OF THE FILE COULD LOOP INFINITELY.

	9 JUL 81	A C. HALL

341 *-	TOPS-20: ALLOWED SWITCH.INI STUFF TO RESIDE IN SED.INIT. ON STARTUP
	THESE LOOKUPS ARE DONE: <CONNECT-DIR>SED.INIT, PS:<DIR>SED.INIT,
	<CONNECT.DIR>SWITCH.INI. LINES IN SED.INIT DO NOT HAVE TO BEGIN
	WITH "SED" (BUT ALL SWITCHES MUST START WITH "/").

342	TOPS-20: DELAYED TURNING OFF MONITOR TRAPPING OF ^C, ^T, ETC. SO
	USER CAN ABORT OR GET INFORMATION WHILE THE FIRST FILE IS BEING
	READ IN.

343	BUG FIX: IF THE FENCE APPEARS AND GOES AWAY ON <DL><IL><DL> THEN
	THE 2ND <DL> BLANKS THE DISPLAY OF THE LAST LINE. THIS ALSO
	HAPPENED IF YOU REPLACE THE <DL>S WITH <RFL>S.

	20 JUL 81	A C. HALL

344	FIXED BUG: IF AN EXECUTE BUFFER CALLED AN ILLEGAL COMMAND SED
	WOULD LOOP. LIKE IF THE BUFFER CONTAINS "^SV" AND YOU TYPE
	<ENTER>BUTTON (SINCE <ENTER><SAVE-FILE> IS ILLEGAL).

345 **	NEW COMMAND (FOR TOPS-20 ONLY): <PUSH>. FORKS A PROCESS AND RUNS
	THE EXEC. POPPING GETS BACK TO THE EDITING SESSION.

	13 AUG 81	A C. HALL

346 @	TOPS-20: MAKE <PUSH> NOT KILL THE EXEC FORK AND REENTER IT ON ANY
	SUCCEEDING PUSHES.

347 @	FIXED: A TAB WITHIN THE RANGE OF A <CASE> WAS COUNTED AS ONE
	CHARACTER.

350 @	FIXED: USING A MARK OVER A VERY SHORT RANGE (WHERE THE START AND END
	POINTERS ARE IN THE SAME WORD OF THE FILE) COULD BOMB SED.

	15 SEPT 81	A C. HALL

351	TOPS-20: ON STARTUP DO A SETSN TO ENTER SED IN THE SUBSYSTEM TABLE
	(UNDER FTSTSN SWITCH, OFF BY DEFAULT).

352 @	TOPS-20: WHEN INITTING THE TTY SAVE THE CCOC WORDS; RESTORE THEM ON
	A PUSH.

	6 OCT 81	A C. HALL

353	TOPS-20: ADD CODE, UNDER FTECHO, TO LET MONITOR ECHO PRINTING
	CHARACTERS WHEN IT CAN. THIS CODE SAVES SOME PROCESSING TIME, AND
	HAS ONE KNOWN DEFICIENCY: AUTOMATIC WRAPAROUND CAN OCCASIONALLY
	DROP CHARACTERS THAT IT WRAPS FROM THE DISPLAY (THE FILE IS O.K.).

354 @	FIXED: A DELETE-SPACES WHEN THE CURSOR IS POSITIONED WITHIN A TAB
	WORKS BUT DISPLAYS INCORRECTLY.

355	RE-WORKED THE <DELETE-CHARACTER> CODE TO MAKE IT MORE EFFICIENT.

356 */	ADDED /APPND SWITCH. IT CAUSES SUCCESSIVE <PICK>S TO APPEND TO THE
	PICK BUFFER RATHER THAN OVERWRITE IT. BOTH /APPND AND /NOAPPND CAUSE
	THE BUFFER TO BE CLEARED BEFORE THE NEXT PICK.

357 **	MADE <DELETE-SPACES>, <DELETE-CHARACTER>, <ERASE-WORD>, AND
	<ERASE-LINE> SAVE THE DELETED STUFF IN A NEW BUFFER (THE DELETE
	BUFFER). THAT BUFFER CAN BE PUT BY TYPING THE <RECOVER> COMMAND
	(TENTATIVELY DEFINED AS <ENTER><HELP>).

360 @	MADE <END-LINE> AND <BACKTAB> ALWAYS SKIP TRAILING SPACES OR TABS.

361 @	TOPS-10: FIXED PROBLEM: PPN OF A FILE ON AN ERSATZ DEVICE WASN'T
	SET UP PROPERLY.

	25 NOV 81	A C. HALL

362 *	NEW EXECUTE CONSTRUCT: ^OU(), WHICH OUTPUTS THE STRING IN PARENS.
	CONTROL CHARS LOOK LIKE ^N; ESCAPE IS $; ^$, ^), AND ^^ ARE
	THE REAL CHARACTERS (AS USUAL).

	12 DEC 81	A C. HALL

363 @	TOPS-20: BUG FIX: SED LEFT THE FILE WITH TWO NULLS AT THE END.

364 @	TOPS-20: IF DISK WAS FULL SED WOULD HALTF. NOW IT GIVES AN ERROR AND
	PUTS USER BACK EDITING THE FILE.

365 *-	ADDED ^SC EXECUTE CONSTRUCT: SET COUNTER. $14^SC SETS COUNTER TO 14.
	IF BUFFER HAS "^SC^C.(X)^C-$^CT^PT" THEN TYPING <ENTER>6<BUTTON>
	WILL OUTPUT XXXXXX5. ^SC WITHOUT A PARAMETER TAKES LAST TIME'S VALUE;
	STARTING NOMINAL IS 1.

367	TOPS-20: MAKE A WORD (IN <BACKTAB> WITHIN A PARAMETER AND <ERASE-WORD>)
	INCLUDE AN ALPHANUMERIC STRING FOLLOWED BY A SINGLE OTHER PRINTING
	CHARACTER (PLUS SPACES).

370	FIX: A LONE CARRIAGE RETURN IN A LINE CAN CAUSE SED TO THINK THE CURSOR
	IS IN THE WRONG PLACE (LIKE IN THE TAB COMMAND).

371 *-	ADDED ^ND EXECUTE CONSTRUCT: DON'T DISPLAY A BUFFER INVOKED BY A BUTTON
	UNTIL THE END (IE, MAKES IT ACT THE SAME AS $1^EX).

372 @	IF A <PICK> OR <DELETE-LINES> WAS DONE USING A MARK AND THE DISPLAY
	DIDN'T CHANGE, DON'T RE-WRITE THE SCREEN (JUST ERASE THE MARK).

373 @	SOME EXECUTE SUBCOMMANDS SHOULD CHECK TO SEE IF THE BUFFER IS BEING
	WRITTEN (BY <ENTER><EXECUTE>) AND STOP WRITING, OR SOMETIMES CLEAR
	OUT THE LATEST EXECUTE COMMAND.

	 13 JAN 81	A C. HALL

374	MADE EXECUTE BUFFERS BE ALLOCATED DYNAMICALLY FROM A FREE POOL.

375 **	ADDED <SUBSTITUTE> COMMAND. SYNTAX IS <ENTER>Skey<ENTER>Rsub
	<ENTER>nnn<SUBSTITUTE>, TO SEARCH FOR key AND SUBSTITUTE sub,
	nnn TIMES. NOT ALL OF THE THREE PARAMETERS NEED BE PRESENT; THEY
	ALL DEFAULT TO THEIR OLD SETTINGS. IF NO COUNT IS GIVEN, THE
	STRINGS ARE SET UP BUT THE COMMAND IS NOT EXECUTED.
	THE COMMAND HAS CODE 63 AND NAME ^SU.

	THE KEY IS SAVED IN THE SAME PLACE AS THE SEARCH KEY.
	THE SUBSTITUTE STRING IS OUTPUT BY <ENTER><SWITCH> IF IT EXISTS.

	THERE IS A SIDE EFFECT ON OTHER COMMANDS: IF YOU TYPE <ENTER>XXX<ENTER>
	THERE WILL BE A SECOND PROMPT AFTER THE XXX'S. THE PROMPT DELIMITS
	PARAMETERS FOR <SUBSTITUTE> BUT IS IGNORED BY ALL OTHER COMMANDS.

	ALSO, MODIFIED <ENTER><SWITCH> TO OUTPUT THE SUBSTITUTE STRING, IF
	THERE IS ONE.

376 @	MADE <HELP> WORK WITH EXECUTE BUFFERS CONNECTED TO BUTTONS. GIVES
	HELP IF THE BUFFER CONTAINS A SINGLE COMMAND, ELSE OUTPUTS AN ERROR
	MESSAGE.

377	FIXED BUG: IF SWITCH.INI (OR SED.INIT) ENDED WITH A <CR> WITHOUT A
	<LF>, SED WOULD LOOP. NOW THEY CAN END ANY WAY THEY WANT.

	3 FEB 82	A C. HALL

400	FIXED BUG: <ERASE-WORD> OF <CRLF><TAB>XXX WOULD BEHAVE BADLY.
	(SED WOULD LOOP INCREMENTING A POINTER UNTIL IT WAS THE SAME AS
	A LOWER POINTER.)

401	FIXED: <ENTER><ENTER> (WITH NHP SET) SHOULDN'T GIVE 2ND PROMPT.

402	FIXED: /LE: AND /WI: COULDN'T BE SET IN THE RUN COMMAND OR IN
	SWITCH.INI. ALSO, IF /WI: WAS SET SMALL, THEN SET LARGE, /RM:
	WOULD REMAIN SMALL.

403	SAVE LENGTH OF SEARCH KEY IN <SEARCH> COMMANDS, FOR SUBSTITUTE.

404	MADE <ENTER>R<RECALL> RECALL THE SUBSTITUTE (REPLACE) STRING.

	11 FEB 82	A C. HALL

405 /*	ADDED /RCUR SWITCH, WHICH IS USED DURING A <SET-FILE> TO CAUSE
	THE CURRENT FILE TO BE REPLACED AND THE ALTERNATE FILE TO REMAIN
	THE ALTERNATE (IE, IF YOU ARE EDITING FOO.MAC, ALTERNATE: EXP.TXT
	AND TYPE <ENTER>BAR.FOR/RC<SET-FILE>, YOU WILL BE EDITING BAR.FOR,
	ALTERNATE: STILL EXP.TXT).

	20 FEB 82	A C. HALL

406	IF THE SED.TMP FILE CONTAINED ONLY ONE FILE, AND THAT FILE DID NOT
	EXIST, SED WOULD BOMB OUT TRYING TO TYPE OUT AN ERROR MESSAGE.

407 @	<ERASE-WORD> BEYOND END OF LINE DIDN'T WORK CORRECTLY.

410	THE SCREEN DISPLAY COULD GET GARBAGE AT END (FOUND BY: EDIT NEW FILE,
	DO <ERASE-LINE>, <ENTER>4<DELETE-LINES>, <ENTER>1000<SLIDE-RIGHT>).