xref: /plan9/sys/man/8/drawterm (revision 238ca1fe340c2ddde96f1c246538fcd9a2198a9f)
DRAWTERM 8
NAME
drawterm - connect to Plan 9 CPU servers from other operating systems
SYNOPSIS
drawterm [ -d ] [ -a authaddr ] [ -c cpuaddr ] [ -e encryption-hash-algs ] [ -k keypattern ] [ -s secstoreaddr ] [ -u user ] [ -C cmd args ... ]
DESCRIPTION
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 .LR e , .LR k , and .L 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 http://swtch.com/drawterm/ .

SOURCE
/sys/src/cmd/unix/drawterm
DIAGNOSTICS
Drawterm prints most diagnostics in its own window.
"SEE ALSO
cpu (1), rio (1)
BUGS
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.