Annotation of lucent/sys/man/1/cpu, revision 1.1.1.1

1.1       root        1: .TH CPU 1
                      2: .SH NAME
                      3: cpu \- connection to cpu server
                      4: .SH SYNOPSIS
                      5: .B cpu
                      6: [
                      7: .B -h
                      8: .I server
                      9: ]
                     10: [
                     11: .B -c
                     12: .I cmd args ...
                     13: ]
                     14: .SH DESCRIPTION
                     15: .I Cpu
                     16: starts an
                     17: .IR rc (1)
                     18: running on the
                     19: .I server
                     20: machine, or the machine named in the
                     21: .B $cpu
                     22: environment variable if there is no
                     23: .B -h
                     24: option.
                     25: .IR Rc 's
                     26: standard input, output, and error files will be
                     27: .B /dev/cons
                     28: in the name space where the
                     29: .I cpu
                     30: command was invoked.
                     31: Normally,
                     32: .I cpu
                     33: is run in an
                     34: .IR 8½ (1)
                     35: window on a terminal, so
                     36: .IR rc
                     37: output goes to that window, and input comes from the keyboard
                     38: when that window is current.
                     39: .IR Rc 's
                     40: current directory is
                     41: the working directory of the
                     42: .I cpu
                     43: command itself.
                     44: .PP
                     45: The name space for the new
                     46: .I rc
                     47: is an analogue of the name space where the
                     48: .I cpu
                     49: command was invoked:
                     50: it is the same except for architecture-dependent bindings such as
                     51: .B /bin
                     52: and the use of fast paths to file servers, if available.
                     53: .PP
                     54: If a
                     55: .B -c
                     56: argument is present, the remainder of the command line is executed by
                     57: .I rc
                     58: on the server, and then
                     59: .I cpu
                     60: exits.
                     61: .PP
                     62: The name space is built by running
                     63: .B /usr/$user/lib/profile
                     64: with the root of the invoking name space bound to
                     65: .BR /mnt/term .
                     66: The
                     67: .B service
                     68: environment variable is set to
                     69: .BR cpu ;
                     70: the
                     71: .B cputype
                     72: and
                     73: .B objtype
                     74: environment variables reflect the server's architecture.
                     75: .SH FILES
                     76: The name space of the terminal side of the
                     77: .B cpu
                     78: command is mounted on the CPU side on directory
                     79: .BR /mnt/term .
                     80: .SH SOURCE
                     81: .B /sys/src/cmd/cpu.c
                     82: .SH SEE ALSO
                     83: .IR rc (1) ,
                     84: .IR 8½ (1)
                     85: .SH BUGS
                     86: Binds and mounts done after the terminal
                     87: .B lib/profile
                     88: is run are not reflected in the new name space.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.