blob: 350c472c8edc1be18014c07c1f812ac0cf479be4 (
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
72
73
74
75
76
77
78
|
.TH PLUMB 1
.SH NAME
plumb \- send message to plumber
.SH SYNOPSIS
.B plumb
[
.BI -s " src"
] [
.BI -d " dest"
] [
.BI -D " dir"
] [
.BI -k " kind"
] [
.BI -a " name value"
]
.I data
\&...
.SH DESCRIPTION
.I Plumb
sends a message to the plumber,
.IR plumber (8),
which is normally started by
.IR wm (1)'s
start up script.
.PP
The options and arguments are used as components of the message.
See
.IR plumbing (6)
for their interpretation.
The options are:
.TP
.BI -s " src"
Set the source to
.I src
(default: unspecified).
.TP
.BI -d " dest"
Set the destination to
.I dest
(default: unspecified).
.TP
.BI -D " dir"
Set the directory to
.I dir
(default: current directory as reported by
.IR pwd (1)
or
.IR workdir (2)).
.TP
.BI -k " kind"
Set the kind of data to
.I kind
(default:
.BR text )
.TP
.BI -a " name value"
Include an attribute
.RI ` name = value ';
there can be more than one.
.PP
The remaining arguments are sent, separated by spaces, as the
.I data
of the message.
The plumber
will apply its rules to the resulting message to decide how to route it.
.SH FILES
.TF /chan/plumb.input
.TP
.B /chan/plumb.input
.IR plumber (8)
input channel
.SH SOURCE
.B /appl/cmd/plumb.b
.SH SEE ALSO
.IR plumbmsg (2),
.IR plumbing (6),
.IR plumber (8)
|