-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpresence.1
62 lines (62 loc) · 952 Bytes
/
presence.1
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
.Dd $Mdocdate$
.Dt PRESENCE 1
.Os
.Sh NAME
.Nm presence
.Nd XMPP presence function
.
.Sh SYNOPSIS
.Nm presence
.Op Fl d Ar directory
.Op Fl p Ar priority
.Op Fl s Ar show
.Op Fl S Ar status
.Op Fl t Ar to
.Op Ar type
.
.Sh DESCRIPTION
The
.Nm
command writes a presence tag to a file named
.Sq in
in the directory specified by either flag
.Fl d
or environment variable
.Ev SJ_DIR .
Program
.Xr sj 1
does not call
.Nm .
.Nm
is for the user to call, after having started
.Xr sj 1 .
.Ss Options
.Bl -tag -width Ds
.It Fl d
Command line option
.Fl d ,
when provided, overrides the environment variable
.Ev SJ_DIR .
.It Fl p
.Ar priority
must be an integer between -128 and 127.
.It Fl s
.Ar show
must be a valid XMPP presence show.
.It Fl S
.Ar status
The XMPP presence status message.
.It Fl t
.Ar to
is the recipient.
.El
.Ss Argument
The optional argument
.Ar type
must be a valid XMPP presence type.
.
.Sh ENVIRONMENT
.Ev SJ_DIR
.
.Sh SEE ALSO
.Xr sj 1