[TUHS] ed: multiple addresses (with semicolons)

steve jenkin sjenkin at canb.auug.org.au
Sat Jul 9 18:10:46 AEST 2022

> On 9 Jul 2022, at 05:13, markus schnalke <meillo at marmaro.de> wrote:
> Unfortunately I wasn't able to find the ``Multics Condensed Guide''
> on multicians.org. Can someone please provide a link?

Couldn’t find the Condensed Guide on the Multicians site.

There was a thread on QED, October 2018

Starts here:

This message has the bitsavers link at end:

This from O.P.

	QED editor - thanks!

Tracking through the thread, there’s software & git repos.



On the Multician site, there was information about qedx - a reimplementation, if I read correctly.
Ken is noted as the author of QED, but no docs are linked.

Dev Docs Library
	• AW17: Multics Commands and Active Functions pocket guide (101K, 04/01/80, posted 12/18/21)
	• AG91: Multics Programmers' Manual: Reference Guide Table of Contents (128K, 1984, posted 04/27/21)
	• Multics System Programmer's Manual Table of Contents (224K, posted 06/05/22, 838 sections, 821 online)

Early Multics Development and the MSPM
	• BX.9.06 qed Text Editor, 11/15/68, K. L. Thompson


CTSS editor written by Ken Thompson. This  line-oriented editor was influenced by the character-oriented QED editor on the SDS-940; one of Ken's major additions was regular expression searching and substitution. Ported to Multics BCPL by Ken and Dennis Ritchie. Bob Daley then wrote Multics qedx as a less functional but faster version. Both qed and qedx are programmable: they support multiple buffers, and a user can execute the contents of a buffer containing editor commands. Doug McIlroy wrote a version of tic-tac-toe in qed. Qedx was the standard editor for most of the Multics development community throughout the 70s. Info segment for qedx command See ted.

[BSG] The qedx language was unambiguously optimized for interactive line-editing, not programming, thus writing non-trivial QEDX "macros" (programs) was a black art whose results where very ugly and non-maintainable and often bordered on black humor. Compare TECO. ted, adding many more commands, is one direction of solution. edm, having no programming language, is another. [perl, with no editing language, is another point on the scale -- THVV] Having entirely distinct command and extension languages is now almost universally considered to be the correct solution to problems of this sort (e.g., Emacs).

[THVV] A nice history of QED, its descendants, and the use of regular expressions is in  Russ Cox's article.

Russ Cox
	Regular Expression Matching Can Be Simple And Fast 

qedx Info page
	03/03/83  qedx, qx

	Syntax:  qx {-control_args} {macro_path} {macro_args}

	Function:  The qedx editor is used to create and edit ASCII segments.
	This description summarizes the editing requests and addressing
	features provided by qedx.  Complete tutorial information on qedx is
	available in the qedx Text Editor Users' Guide, Order No.  CG40.

[linked from Multician biblio page] - not QED, qedx




Page: V1-2 Rev 2 06019


QED accepts commands and text as a stream of characters from the console.
Text within the current buffer is specified by (1) line addresses or (2) strings (regular-expressions) in the text 1 ine.

Lines in the current buffer may be addressed in the following ways:
	1. by current line number
	2. by absolute line number
	3. by the value of the current line (".")
	4. by the special character (“$”)
	5. by context
	6. by additive combinations of methods 1. to 5.


Steve Jenkin, IT Systems and Design 
0412 786 915 (+61 412 786 915)
PO Box 38, Kippax ACT 2615, AUSTRALIA

mailto:sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin

More information about the TUHS mailing list