summary refs log tree commit diff
path: root/bin/man1/relay.1
blob: 402c47266d8f087e63092c6b6ac7964fe57b6820 (plain) (blame)
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
.Dd April 28, 2019
.Dt RELAY 1
.Os
.
.Sh NAME
.Nm relay
.Nd IRC relay bot
.
.Sh SYNOPSIS
.Nm
.Ar host
.Ar port
.Ar nick
.Ar chan
.
.Sh DESCRIPTION
.Nm
is one half of an IRC relay pair.
It connects to
.Ar host Ns : Ns Ar port
over TLS
as
.Ar nick
and joins
.Ar chan .
.
.Pp
.Nm
outputs messages from
.Ar chan
to standard output
and sends messages to
.Ar chan
from standard input.
Two
.Nm
processes can be connected with
.Xr mkfifo 1 .
.
.Sh EXAMPLES
.Bd -literal -offset indent
mkfifo a b
relay a.example.com 6697 relay '#example' <>a >b
relay b.example.com 6697 relay '#example' <>b >a
.Ed
.
.Sh SEE ALSO
.Xr mkfifo 1
light'> 2019-02-10Skip only one character if a match fails due to parentJune McEnroe Really it should skip forward until the parent changes, but this is simpler. 2019-02-10Remove pattend from hiJune McEnroe 2019-02-10Replace uses of pattend with newline patternsJune McEnroe 2019-02-10Add hi debug outputJune McEnroe 2019-02-10Actually do HTML &quot; escapingJune McEnroe 2019-02-10Set git commit.verboseJune McEnroe 2019-02-10Add back missing static keywordJune McEnroe