Installing ZDE 1.6, a programmers editor for CP/M

  /     /   CP/M     Editor     Programming     Retro    

To do any serious programming under CP/M, the first thing you need is a good programmers editor. There aren't many in the archives, but I have tried most of them and found ZDE to be the best. It is small, has lots of features, and uses Wordstar commands which are familiar to me and easy to learn.

Downloading files for ZDE

The ZDE 1.6 editor can be downloaded from Bo Zimmerman's CP/M archive here. This file is in a .PMA archive, so we also need the utility, pmautoae.com, to uncompress it, again from Bo Zimmerman's site. These two files should be copied onto a floppy disk or disk image if using an emulator.

Unpacking ZDE

I am currently using an emulator which only has 8" SD disks which are not big enough to unpack ZDE onto and contain the compressed file. Therefore I will have the files pmautoae.com and zde16.pma on a disk in my C: drive and will uncompress them to a blank disk in my B: drive.

pmautoae.com is a self-expanding archive so to expand it onto my B: drive from the archive on my C: drive, I run:

B> c:pmautoae

Then to extract the contents of the zde16.pma archive held on my C: drive to the B: drive, I run:

B> pmext c:zde16.pma b:

If your disks are big enough, then you can do the above all on one disk, say the B: drive; in which case do the above, but change references to c: to b:

Configuring ZDE

Before the editor can be used, it needs to be configured. The most important thing to configure is the Terminal type, which is done as follows:

B> zdenst16 zde16

Select t to configure the terminal, then l to list the terminals. Press return until your terminal is shown, then press y next to it. I am using z80pack so therefore choose ANSI standard. Now press ESC then s to save the changes. If you are unsure which terminal to select, try each in turn, then start ZDE to see if it works, pressing ESC q to quit.

ZDE should be ready to go at this point. To read the ZDE documentation, type the following:

B> zde16 zde10.doc

Using ZDE

The editor is started with the command zde16 and can be run with a filename as an argument. If a filename is supplied, the editor will try to open it, if it doesn't exist then it will start a new file with the name supplied. ZDE uses the Wordstar key combinations which are explained in the ZDE documentation. On some machines the main command key CTRL+k is used as a cursor key, in which case ESC can be used instead. The most important commands are listed below:

CommandPurpose
ESC hBring up the command key help
CTRL+k q / ESC qQuit editor without saving
CTRL+k x / ESC xExist and Save
CTRL+k l / ESC lLoad a new file
CTRL+k s / ESC sSave the current file
CTRL+rPage up
CTRL+cPage down
CTRL+e / cursorLine up
CTRL+x / cursorLine down
CTRL+s / cursorCursor left
CTRL+d / cursorCursor right

ZDE is a great editor and well worth the time to learn. It has many facilities to make life easier for the programmer and will definitely help make your retro programming more productive.
Creative Commons License
Installing ZDE 1.6, a programmers editor for CP/M by Lawrence Woodman is licensed under a Creative Commons Attribution 4.0 International License.

Share This Post

Feedback/Discuss

Sign up to get new articles straight to your inbox.

Delivered by FeedBurner

Related Articles

The Mouse Programming Language on CP/M

Mouse is an interpreted stack orientated language designed by Peter Grogono around 1975. It was designed to be a small but powerful language for microcomputers, similar to Forth, but much simpler. On...   Read More

If Only Borland Had Stuck With Turbo Modula-2 For CP/M

I have written previously about why Turbo Pascal is a Great Choice For Programming Under CP/M and now it is time to talk about what could have been. You probably haven't heard of Turbo Modula-2 for CP...   Read More

Turbo Pascal: A Great Choice For Programming Under CP/M

CP/M was blessed with many programming languages, each with their own strengths and weaknesses. I think that Turbo Pascal stands out from these and I'm not alone. When Turbo Pascal was released in 19...   Read More

Installing the HI-TECH Z80 C Compiler for CP/M

My language of choice is C and I am currently getting more involved with the CP/M operating system. I have therefore decided that it would be nice to have a C compiler working under CP/M. There are a...   Read More

Sweet 16 (The 6502 Dream Machine) Ported to the VIC-20

Sweet 16 was created by Steve Wozniak to reduce code size and make it easier to handle 16-bit pointers and arithmetic for his Apple Integer BASIC. He wrote it around 1977 and referred to it in an arti...   Read More