summaryrefslogtreecommitdiff
path: root/man/1/9win
blob: c3d7e70e3b93ec34076f8427ceaa579253a18326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.TH 9WIN 1
.SH NAME
9win \- create a Plan 9 window within Inferno
.SH SYNOPSIS
.B 9win
[
-s
]
[
.B -x width
]
[
.B -y height
]
[
.IR cmd
[
.I arg ...
]
]
.SH DESCRIPTION
.I 9win
creates a window for a graphical Plan 9 command (default
.BR rio )
to run in. If provided,
.I width
and
.I height
give a desired width and height for the new window.
.I Cmd
gives the command to run,
and
.I arg
its arguments.
.PP
The
.B -s
option tells
.I 9win
to run in server mode. Used by
.IR 9cpu (1),
it exports on its standard input
a namespace
suitable for a graphical Plan 9 program to run
within. With this option, no command may be given.
.SH SOURCE
.B /appl/cmd/9win.b
.SH SEE ALSO
.IR 9cpu (1),
.IR import (4)
.SH FILES
.B /dev/winname
.br
.B /dev/mouse
.br
.B /dev/cons
.br
.B /dev/consctl
.br
	Files served by
.IR 9win .
.SH BUGS
.I 9win
does not export a full
.I rio
environment, so Plan 9 programs
that wish to create new windows will not work correctly
(unless running inside a
.I rio
started by
.IR 9win )