The DEC TPU Editor,
Rebuilt for Modern Systems


Frequently Asked Questions
Curious about how Sector7 can facilitate your application migration? Explore our FAQs for expert insights.
VX/TPU is Sector7’s modern reimplementation of DEC’s TPU (Text Processing Utility) environment from OpenVMS: the same scripting language, built-in commands, buffers, windows, and extensibility model familiar from DECTPU and EVE, rebuilt to run on desktop systems today using ncurses on macOS and Linux and PDCurses on Windows.
VX/TPU ships as a single C++17 source file. Typical builds use Clang plus Homebrew ncurses on macOS, GCC with libncurses-dev on Linux (for example Debian/Ubuntu), and MSVC plus PDCurses on Windows. The editor is exercised under bash, zsh, and PowerShell 7.
VX/TPU targets script-level compatibility with the classic DECTPU built-in surface: patterns, markers, buffers, key maps, SET/SHOW, HELP, processes, journaling, LEARN sequences, and the TPU programming language constructs. Anything that depended on OpenVMS-specific integration may need review after migration.
Press Ctrl-Z by default (it is a normal KEY_MAP entry and can be remapped). The command line accepts the same file, movement, editing, search, buffer, window, and process operations documented in VX/TPU’s reference sections on this page.
Use CREATE_KEY_MAP, ADD_KEY_MAP, DEFINE_KEY, GOLD-style prefixes, and per-buffer SET (KEY_MAP_LIST) to match site standards. On launch VX/TPU automatically COMPILEs $TPU_STARTUP or ~/.tpurc, so teams can share the same bindings and procedures across machines.
Yes. Each buffer keeps a 200-snapshot undo/redo history (UNDO/REDO plus GOLD shortcuts). Clipboard integration uses READ_CLIPBOARD and WRITE_CLIPBOARD with pbcopy/pbpaste on macOS, wl-clipboard or xclip paths on Linux, and Win32 APIs on Windows. Rectangular edits use BOX SELECT, BOX CUT, BOX COPY, and BOX PASTE.
Run tpu --test yourfile.tpu to execute TPU code headlessly. Built-in ASSERT, ASSERT_EQ, and TEST sections are designed for scripted CI runs, similar in spirit to Sector7’s own multi-test regression suite.
VX/TPU is supplied as part of Sector7’s OpenVMS migration and modernization toolchains. For evaluations, licensing arrangements, or roadmap questions, reach out through the Sector7 contact channels on this site or your existing account team.
