Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cpu(1) [plan9 man page]

CPU(1)							      General Commands Manual							    CPU(1)

NAME
cpu - connection to cpu server SYNOPSIS
cpu [ -h server ] [ -c cmd args ... ] DESCRIPTION
Cpu starts an rc(1) running on the server machine, or the machine named in the $cpu environment variable if there is no -h option. Rc's standard input, output, and error files will be /dev/cons in the name space where the cpu command was invoked. Normally, cpu is run in an 81/2(1) window on a terminal, so rc output goes to that window, and input comes from the keyboard when that window is current. Rc's cur- rent directory is the working directory of the cpu command itself. The name space for the new rc is an analogue of the name space where the cpu command was invoked: it is the same except for architecture- dependent bindings such as /bin and the use of fast paths to file servers, if available. If a -c argument is present, the remainder of the command line is executed by rc on the server, and then cpu exits. The name space is built by running /usr/$user/lib/profile with the root of the invoking name space bound to /mnt/term. The service envi- ronment variable is set to cpu; the cputype and objtype environment variables reflect the server's architecture. FILES
The name space of the terminal side of the cpu command is mounted on the CPU side on directory /mnt/term. SOURCE
/sys/src/cmd/cpu.c SEE ALSO
rc(1), 81/2(1) BUGS
Binds and mounts done after the terminal lib/profile is run are not reflected in the new name space. CPU(1)

Check Out this Related Man Page

DRAWTERM(1)						      General Commands Manual						       DRAWTERM(1)

NAME
drawterm - connect to Plan 9 CPU servers from other operating systems SYNOPSIS
drawterm [-d] [-a authserver] [-c cpuserver] [-e encription_hash_algs] [-k keyspec] [-s secstoreserver] [-u username] [-C command 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, a 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, OPTIONS
This program follows the syntax of the cpu(1) Plan 9 command. A summary of options is included below. -h Show summary of options. -a Specifies the authentication server to use. If not present uses the $auth environment variable, if present, or tries with a host name of auth. -c Specifies the cpu server to use. If not present uses the $cpu environment variable, if present, or tries with a host name of cpu. -u Specifies the username to authenticate with. If not present uses the $USER environment variable, if present, or asks interactively for an username. -s Specifies the secstore server to use. -C Specifies a command to be executed remotely. -e,-k Allow for selecting the hash algorithm and keys used, they have the same meaning as in cpu(1). SOURCE
In Plan 9 distributions, /sys/src/cmd/unix/drawterm. DIAGNOSTICS
Drawterm prints most diagnostics in its own window. 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 deli- cate adjustments in /usr/$user/lib/profile. Should import latest /dev/draw to allow resize of window Should copy 9term code and make console window a real 9term window instead. Should implement /dev/label. SEE ALSO
cpu(1), rio(1) in the Plan 9 documentation AUTHOR
drawterm was written by Russ Cox <rsc@swtch.com>. This manual page was written by Russ Cox <rsc@swtch.com>, with modifications by Martin Ferrari <tincho@debian.org> for the Debian project. October 16, 2008 DRAWTERM(1)
Man Page