diff options
author | June McEnroe <june@causal.agency> | 2019-05-04 17:50:38 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-05-04 17:50:38 -0400 |
commit | d2a90f4df164c99a7156dc2385a2b9ebce45ee2d (patch) | |
tree | cdafff701a6aeddbe8737f1b40da761d64f9c044 /bin/man1 | |
parent | Add relay.1 (diff) | |
download | src-d2a90f4df164c99a7156dc2385a2b9ebce45ee2d.tar.gz src-d2a90f4df164c99a7156dc2385a2b9ebce45ee2d.zip |
Move relay to bin
Diffstat (limited to 'bin/man1')
-rw-r--r-- | bin/man1/relay.1 | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/bin/man1/relay.1 b/bin/man1/relay.1 new file mode 100644 index 00000000..402c4726 --- /dev/null +++ b/bin/man1/relay.1 @@ -0,0 +1,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 |