Groups | Search | Server Info | Login | Register


Groups > alt.sys.pdp10 > #9935

SED and TOPS-20

From jayjwa <jayjwa@atr2.ath.cx.invalid>
Newsgroups alt.sys.pdp10
Subject SED and TOPS-20
Date 2026-05-02 16:03 -0400
Organization atr2net 2026
Message-ID <87ecjtd1f5.fsf@atr2.ath.cx> (permalink)

Show all headers | View raw


I first used SED on TOPS-10, and it is probably the best editor I've
seen for that platform. There is a version on TOPS-20, but it is broken
in its default installation.

https://wiki.twenex.org/start?s[]=sed

>(The editor SED is also listed in @HELP NEW-USER, but the executable file is corrupt and inoperative.)

As it turns out, you can rebuild it and it will work (if you lie about
your terminal type - it only goes to vt125).

$info verSION 
 AMATSU KLH, PANDA TOPS-20 Monitor 7.1(21733)-4
 PANDA TOPS-20 Command processor 7.1(4453)-4
 Program is CZ

Login and enable. Go to TOPS20:<TOOLS.SED> . Let's clean up the .CTL
file first because it has useless commands in it and references a
"batch.cmd" that doesn't exist. In that directory, edit sed.ctl and
remove the lines:

@TAK BATCH.CMD
@IN LOG ALL

and the trailing "@" last line if you want (unneeded). Then submit the
.ctl.

$submit sed.ctl
[Batch job SED queued, request #3, limit 0:05:00]
$
[From SYSTEM: Job SED request #3 finished executing at 15:46:11]
$vdir sed.exe

   TOPS20:<TOOLS.SED>
 SED.EXE.3;P777700         36 18432(36)   2-May-2026 15:46:10 JAYJWA    

 Total of 36 pages in 1 file

Check that it runs, and copy it to its place in ps:<subsys>sed.exe . Set
the protection so users can access it.
$set file protection ps:<subsys>sed.exe 775252

Looking in the source files, there's probably a way to get it to
recognize more terminal types (I use vt200-series) but for now set
vt125. See sed.hlp for commands; here's a basic quick-start command
summary:

@sed test.txt                   Edit your file
ctrl-z                          Save and exit
ctrl-c                          Exit with no saving
ctrl-w                          Move window upwards
ctrl-y                          move window downwards
ctrl-j                          Blank to end-of-line
ctrl-f                          Delete whole line
ctrl-l                          Delete char at cursor
ctrl-k                          Insert space at cursor
ctrl-d                          Insert new line at cursor
F1                              Enter command mode (PF1)

Under Cool Retro Term w/kermit, DEL and Backspace do not work on
TOPS-20. Use ctrl-l instead. Oddly, they work on TOPS-10. The text
mentions sedeco.* but these files do not exist in my
install. Supposedly, sedeco.exe would echo what control characters your
terminal was sending.

-- 
PGP Key ID: 781C A3E2 C6ED 70A6 B356  7AF5 B510 542E D460 5CAE
       "The Internet should always be the Wild West!"

Back to alt.sys.pdp10 | Previous | Find similar


Thread

SED and TOPS-20 jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-05-02 16:03 -0400

csiph-web