drawterm – connect to Plan 9 CPU servers from other operating systems

drawterm [ –d ] [ –a authaddr ] [ –c cpuaddr ] [ –e encryption–hash–algs ] [ –k keypattern ] [ –s secstoreaddr ] [ –u user ] [ –C cmd args ... ]

Drawterm is not a Plan 9 program. It is a program that users of non–Plan 9 systems can use to establish graphical cpu(1) connections with Plan 9 CPU servers. Just as a real Plan 9 terminal does, drawterm serves its local name space as well as some devices (the keyboard, mouse, and screen) to a remote CPU server, which mounts this name space on /mnt/term and starts a shell. Typically, either explicitly or via the profile, one uses the shell to start rio(1).

By default, drawterm uses the CPU server $cpu or cpu. and the authentication server $auth or auth. The –a, –c, and –s options specify alternate authentication, CPU and secstore servers, respectively. (Edit the source to set appropriate local defaults.)

Cmd is a command to be executed remotely. Options e, k, and u have the same meaning as in cpu(1).

Drawterm has been ported to FreeBSD, Irix, Linux, NetBSD, and Windows. Binaries can be downloaded from


Drawterm prints most diagnostics in its own window.

cpu(1), rio(1)

Although at first drawterm may seem like a Plan 9 terminal, in fact it is just a way to provide a CPU server with some terminal devices. The difference is important because one cannot run terminal–resident programs when using drawterm. The illusion can be improved by delicate adjustments in /usr/$user/lib/profile.

It would be nice to be able to change the default servers without recompiling.

Copyright © 2024 Plan 9 Foundation. All rights reserved.