StarWord Help

A modern WordStar 7.0 clone — classic commands, modern conveniences.

StarWord keeps WordStar's classic two-key command language (the control diamond, the ^K/^Q/^O/^P menus, and dot commands) while adding pull-down menus, mouse support, Unicode, the OS clipboard, and cross-platform output. Notation: ^K means hold Ctrl and press K; ^K S means press ^K, release, then press S.

Getting started top

StarWord opens at the WordStar Opening Menu. Press D to open a document, N for a new one, L to change directory, C to configure, or X to exit. Inside the editor, press Alt+a highlighted letter (e.g. Alt+F) to open a pull-down menu, or use the classic control commands below. If you have unsaved changes, leaving the program raises a confirmation dialog (S Save / A Abandon / Esc Cancel).

Cursor & scrolling top

CommandActionCommandAction
^E / Up a line^X / Down a line
^S / Left a character^D / Right a character
^AWord left^FWord right
^R / PgUpPage up^C / PgDnPage down
^WScroll up a line^ZScroll down a line
HomeStart of lineEndEnd of line

Editing top

CommandAction
^VToggle Insert / Overtype
^G / DelDelete character at cursor
Backspace / ^HDelete character left
^TDelete word right
^YDelete line
^NInsert blank line
^BReformat (re-wrap) paragraph
^LFind next / repeat find
Edit › Undo / RedoUndo and redo edits

Blocks & files — ^K menu top

CommandActionCommandAction
^K BMark block begin^K KMark block end
^K CCopy block^K VMove block
^K YDelete block^K HHide / show block
^K NColumn (rectangular) block mode^K MBlock math (sum a column)
^K WWrite block to file^K RRead file into document
^K SSave^K DSave & return to menu
^K XSave & exit^K QAbandon / quit (prompts if unsaved)
^K 09Set place marker 0–9

Quick moves — ^Q menu top

CommandActionCommandAction
^Q SStart of line^Q DEnd of line
^Q ETop of screen^Q XBottom of screen
^Q RTop of document^Q CEnd of document
^Q FFind^Q AFind & replace
^Q 09Go to place marker^Q W/ZContinuous scroll up/down
^Q PPrevious cursor position^Q VLast find position
^Q QRepeat next command^Q DelDelete to start of line

On-screen format — ^O menu top

CommandAction
^O L / ^O RSet left / right margin
^O I / ^O NSet / clear a tab stop
^O CCenter the current line
^O JToggle justification
^O WToggle word wrap
^O SLine spacing

Print controls — ^P menu top

Print toggles insert formatting markers into the text (shown on screen, applied when printing/previewing).

CommandActionCommandAction
^P BBold^P SUnderline
^P YItalic^P XStrikethrough
^P TSuperscript^P VSubscript

Dot commands top

A line beginning with a period in column 1 is a formatting command (document mode only).

Dot commandMeaning
.paForce a new page
.pl nPage length (lines)
.mt n / .mb nTop / bottom margin
.he text / .fo textHeader / footer text
.pn nSet starting page number
.po nPage offset (left indent)
.ls nLine spacing
.cp nConditional page (keep n lines together)
.fn, .ix, .tcFootnote, index entry, table-of-contents entry
.df, .rv, &var&MailMerge: data file, read variables, field

Tools top

MenuTool
Utilities › Word CountWords, lines and characters
Utilities › Spell CheckHunspell dictionaries (with affix expansion)
Utilities › ThesaurusMyThes synonym data
Utilities › Mail MergeMerge a data file into a form letter
Utilities › CalculatorOn-screen calculator
Utilities › MacrosRecord / play keystroke macros
File / Layout › PrintOn Windows, opens the standard print dialog to choose the printer, orientation, paper size and copies, then prints. Elsewhere, prints to the default printer.
File / Layout › Print to PDFWrites a paginated PDF named after the document (<name>.pdf) and opens it — a print-ready export.
Layout › Print PreviewPaginated on-screen preview
Spell-check and thesaurus data files are configurable (local hunspell/MyThes files or an http(s) URL that StarWord downloads and caches). See the configuration screen (Opening Menu › C, or --config).

Mouse top

OS clipboard top

In addition to WordStar's internal block commands, StarWord talks to your system clipboard:

CommandAction
Ctrl+Shift+XCut to OS clipboard
Ctrl+Shift+CCopy to OS clipboard
Ctrl+Shift+VPaste from OS clipboard

Command line top

Both DOS-style /X switches and -/-- flags are accepted:

OptionEffect
/D -d --documentDocument mode (word-wrap, justify) — default
/N -n --nondocumentNon-document mode (plain text)
/P -p --printPrint a clean copy to stdout and exit
/M -m --mergeMailMerge to stdout and exit
/C -c --configOpen the configuration screen
/? -h --helpShow command-line help

Terminal key conflicts top

A few WordStar control keys are also claimed by some terminals (notably Windows Terminal), which act on them before StarWord ever sees them. If a command seems to do the wrong thing, use the alternate key:

If this happensUse instead
^V pastes (or says nothing) instead of toggling Insert/Overtype — the terminal grabbed Ctrl+V for “paste”Press the Insert key (it toggles too), or unbind Ctrl+V in your terminal settings
^C copies a selection instead of paging down — the terminal grabbed Ctrl+C while text was selectedClick to clear the selection, or press PgDn
All cursor and navigation commands have a non-control alternative — the arrow keys, PgUp/PgDn, Home/End, Insert, Delete and Backspace — so you can always get the job done even when a terminal claims a Ctrl key.