2020-04-06 20:30:03 +00:00
|
|
|
.Dd April 6, 2020
|
2020-01-31 23:11:30 +00:00
|
|
|
.Dt CATGIRL 1
|
|
|
|
.Os
|
|
|
|
.
|
|
|
|
.Sh NAME
|
|
|
|
.Nm catgirl
|
|
|
|
.Nd IRC client
|
|
|
|
.
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2020-03-25 22:56:09 +00:00
|
|
|
.Op Fl Relv
|
2020-02-09 02:44:50 +00:00
|
|
|
.Op Fl C Ar copy
|
2020-02-10 10:50:28 +00:00
|
|
|
.Op Fl H Ar hash
|
2020-02-13 01:12:34 +00:00
|
|
|
.Op Fl N Ar send
|
2020-02-09 02:21:21 +00:00
|
|
|
.Op Fl O Ar open
|
2020-02-12 01:02:37 +00:00
|
|
|
.Op Fl S Ar bind
|
2020-02-01 06:17:15 +00:00
|
|
|
.Op Fl a Ar auth
|
|
|
|
.Op Fl c Ar cert
|
2020-01-31 23:11:30 +00:00
|
|
|
.Op Fl h Ar host
|
2020-03-31 18:30:42 +00:00
|
|
|
.Op Fl i Ar patt
|
2020-01-31 23:11:30 +00:00
|
|
|
.Op Fl j Ar join
|
2020-02-01 06:17:15 +00:00
|
|
|
.Op Fl k Ar priv
|
2020-01-31 23:11:30 +00:00
|
|
|
.Op Fl n Ar nick
|
|
|
|
.Op Fl p Ar port
|
|
|
|
.Op Fl r Ar real
|
2020-02-11 00:40:13 +00:00
|
|
|
.Op Fl s Ar save
|
2020-01-31 23:11:30 +00:00
|
|
|
.Op Fl u Ar user
|
|
|
|
.Op Fl w Ar pass
|
2020-02-06 03:49:56 +00:00
|
|
|
.Op Ar config ...
|
2020-01-31 23:11:30 +00:00
|
|
|
.
|
2020-02-13 06:39:25 +00:00
|
|
|
.Nm
|
|
|
|
.Fl g Ar cert
|
|
|
|
.
|
2020-01-31 23:11:30 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2020-02-06 07:56:55 +00:00
|
|
|
program is a TLS-only
|
|
|
|
curses IRC client.
|
2020-01-31 23:11:30 +00:00
|
|
|
.
|
|
|
|
.Pp
|
2020-02-06 03:49:56 +00:00
|
|
|
Options can be loaded from files
|
|
|
|
listed on the command line.
|
|
|
|
Files are searched for in
|
|
|
|
.Pa $XDG_CONFIG_DIRS/catgirl
|
|
|
|
unless the path starts with
|
|
|
|
.Ql /
|
|
|
|
or
|
|
|
|
.Ql \&. .
|
|
|
|
Each option is placed on a line,
|
|
|
|
and lines beginning with
|
|
|
|
.Ql #
|
|
|
|
are ignored.
|
|
|
|
The options are listed below
|
|
|
|
following their corresponding flags.
|
|
|
|
.
|
|
|
|
.Pp
|
2020-01-31 23:11:30 +00:00
|
|
|
The arguments are as follows:
|
|
|
|
.Bl -tag -width Ds
|
2020-02-09 02:44:50 +00:00
|
|
|
.It Fl C Ar util , Cm copy = Ar util
|
|
|
|
Set the utility used by
|
|
|
|
.Ic /copy .
|
2020-02-12 05:48:43 +00:00
|
|
|
Use more than once to add arguments to
|
|
|
|
.Ar util .
|
2020-02-09 02:44:50 +00:00
|
|
|
The default is the first available of
|
|
|
|
.Xr pbcopy 1 ,
|
|
|
|
.Xr wl-copy 1 ,
|
|
|
|
.Xr xclip 1 ,
|
|
|
|
.Xr xsel 1 .
|
|
|
|
.
|
2020-02-10 10:50:28 +00:00
|
|
|
.It Fl H Ar hash , Cm hash = Ar hash
|
|
|
|
Set the initial value of
|
|
|
|
the nick color hash function.
|
|
|
|
.
|
2020-02-13 01:12:34 +00:00
|
|
|
.It Fl N Ar util , Cm notify = Ar util
|
|
|
|
Send notifications using a utility.
|
|
|
|
Use more than once to add arguments to
|
|
|
|
.Ar util .
|
|
|
|
Two additional arguments are passed to
|
|
|
|
.Ar util :
|
|
|
|
a title and a description,
|
|
|
|
appropriate for
|
|
|
|
.Xr notify-send 1 .
|
|
|
|
.
|
2020-02-09 02:21:21 +00:00
|
|
|
.It Fl O Ar util , Cm open = Ar util
|
2020-02-09 02:44:50 +00:00
|
|
|
Set the utility used by
|
2020-02-09 02:21:21 +00:00
|
|
|
.Ic /open .
|
2020-02-12 05:48:43 +00:00
|
|
|
Use more than once to add arguments to
|
|
|
|
.Ar util .
|
2020-02-09 02:21:21 +00:00
|
|
|
The default is the first available of
|
|
|
|
.Xr open 1 ,
|
|
|
|
.Xr xdg-open 1 .
|
|
|
|
.
|
2020-02-12 03:39:29 +00:00
|
|
|
.It Fl R , Cm restrict
|
|
|
|
Disable the
|
|
|
|
.Ic /copy ,
|
|
|
|
.Ic /debug ,
|
2020-02-14 03:22:11 +00:00
|
|
|
.Ic /exec ,
|
2020-02-12 03:39:29 +00:00
|
|
|
.Ic /join ,
|
|
|
|
.Ic /msg ,
|
|
|
|
.Ic /open ,
|
|
|
|
.Ic /query ,
|
|
|
|
.Ic /quote
|
|
|
|
commands.
|
|
|
|
.
|
2020-02-12 01:02:37 +00:00
|
|
|
.It Fl S Ar host , Cm bind = Ar host
|
|
|
|
Bind to source address
|
|
|
|
.Ar host
|
|
|
|
when connecting to the server.
|
|
|
|
.
|
2020-02-13 06:43:16 +00:00
|
|
|
.It Fl a Ar user : Ns Ar pass , Cm sasl-plain = Ar user : Ns Ar pass
|
2020-02-01 06:17:15 +00:00
|
|
|
Authenticate as
|
|
|
|
.Ar user
|
|
|
|
with
|
|
|
|
.Ar pass
|
|
|
|
using SASL PLAIN.
|
|
|
|
Since this requires the account password
|
|
|
|
in plain text,
|
|
|
|
it is recommended to use SASL EXTERNAL instead with
|
|
|
|
.Fl e .
|
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl c Ar path , Cm cert = Ar path
|
2020-02-01 06:17:15 +00:00
|
|
|
Load the TLS client certificate from
|
|
|
|
.Ar path .
|
|
|
|
If the private key is in a separate file,
|
|
|
|
it is loaded with
|
|
|
|
.Fl k .
|
|
|
|
With
|
|
|
|
.Fl e ,
|
|
|
|
authenticate using SASL EXTERNAL.
|
2020-02-13 06:39:25 +00:00
|
|
|
Certificates can be generated with
|
|
|
|
.Fl g .
|
2020-02-01 06:17:15 +00:00
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl e , Cm sasl-external
|
2020-02-01 06:17:15 +00:00
|
|
|
Authenticate using SASL EXTERNAL,
|
|
|
|
also known as CertFP.
|
|
|
|
The TLS client certificate is loaded with
|
|
|
|
.Fl c .
|
2020-02-13 06:39:25 +00:00
|
|
|
For more information, see
|
|
|
|
.Sx Configuring CertFP .
|
|
|
|
.
|
|
|
|
.It Fl g Ar path
|
|
|
|
Generate a TLS client certificate using
|
|
|
|
.Xr openssl 1
|
|
|
|
and write it to
|
|
|
|
.Ar path .
|
2020-02-01 06:17:15 +00:00
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl h Ar host , Cm host = Ar host
|
2020-01-31 23:11:30 +00:00
|
|
|
Connect to
|
|
|
|
.Ar host .
|
|
|
|
.
|
2020-03-31 18:30:42 +00:00
|
|
|
.It Fl i Ar pattern, Cm ignore = Ar pattern
|
|
|
|
Add a case-insensitive message filtering pattern,
|
|
|
|
which may contain
|
|
|
|
.Ql * ,
|
|
|
|
.Ql \&?
|
|
|
|
and
|
|
|
|
.Ql []
|
|
|
|
wildcards as in
|
|
|
|
.Xr sh 1 .
|
|
|
|
The format of the pattern is as follows:
|
|
|
|
.Bd -ragged -offset indent
|
|
|
|
.Ar nick Ns Op Ar !user@host
|
|
|
|
.Op Ar command
|
|
|
|
.Op Ar channel
|
|
|
|
.Ed
|
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl j Ar join , Cm join = Ar join
|
2020-01-31 23:11:30 +00:00
|
|
|
Join the comma-separated list of channels
|
|
|
|
.Ar join .
|
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl k Ar path , Cm priv = Ar priv
|
2020-02-01 06:17:15 +00:00
|
|
|
Load the TLS client private key from
|
|
|
|
.Ar path .
|
|
|
|
.
|
2020-03-25 22:56:09 +00:00
|
|
|
.It Fl l , Cm log
|
|
|
|
Log chat events to files in paths
|
|
|
|
.Pa $XDG_DATA_HOME/catgirl/log/network/channel/YYYY-MM-DD.log .
|
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl n Ar nick , Cm nick = Ar nick
|
2020-01-31 23:11:30 +00:00
|
|
|
Set nickname to
|
|
|
|
.Ar nick .
|
|
|
|
The default nickname is the user's name.
|
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl p Ar port , Cm port = Ar port
|
2020-01-31 23:11:30 +00:00
|
|
|
Connect to
|
|
|
|
.Ar port .
|
|
|
|
The default port is 6697.
|
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl r Ar real , Cm real = Ar real
|
2020-01-31 23:11:30 +00:00
|
|
|
Set realname to
|
|
|
|
.Ar real .
|
|
|
|
The default realname is the same as the nickname.
|
|
|
|
.
|
2020-02-11 00:40:13 +00:00
|
|
|
.It Fl s Ar name , Cm save = Ar name
|
|
|
|
Load and save the contents of windows from
|
|
|
|
.Ar name
|
|
|
|
in
|
|
|
|
.Pa $XDG_DATA_DIRS/catgirl ,
|
|
|
|
or an absolute or relative path if
|
|
|
|
.Ar name
|
|
|
|
starts with
|
|
|
|
.Ql /
|
|
|
|
or
|
|
|
|
.Ql \&. .
|
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl u Ar user , Cm user = Ar user
|
2020-01-31 23:11:30 +00:00
|
|
|
Set username to
|
|
|
|
.Ar user .
|
|
|
|
The default username is the same as the nickname.
|
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl v , Cm debug
|
2020-02-01 07:26:35 +00:00
|
|
|
Log raw IRC messages to the
|
|
|
|
.Sy <debug>
|
|
|
|
window
|
|
|
|
as well as standard error
|
|
|
|
if it is not a terminal.
|
|
|
|
.
|
2020-02-06 03:49:56 +00:00
|
|
|
.It Fl w Ar pass , Cm pass = Ar pass
|
2020-01-31 23:11:30 +00:00
|
|
|
Log in with the server password
|
|
|
|
.Ar pass .
|
|
|
|
.El
|
2020-02-06 03:22:52 +00:00
|
|
|
.
|
2020-02-13 06:39:25 +00:00
|
|
|
.Ss Configuring CertFP
|
|
|
|
.Bl -enum
|
|
|
|
.It
|
|
|
|
Generate a new TLS client certificate:
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
catgirl -g ~/.config/catgirl/example.pem
|
|
|
|
.Ed
|
|
|
|
.It
|
|
|
|
Connect to the server using the certificate:
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
cert = example.pem
|
|
|
|
# or: catgirl -c example.pem
|
|
|
|
.Ed
|
|
|
|
.It
|
|
|
|
Identify with services or use
|
|
|
|
.Cm sasl-plain ,
|
|
|
|
then add the certificate fingerprint
|
|
|
|
to your account:
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
/msg NickServ CERT ADD
|
|
|
|
.Ed
|
|
|
|
.It
|
|
|
|
Enable SASL EXTERNAL
|
|
|
|
to require successful authentication
|
|
|
|
when connecting:
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
cert = example.pem
|
|
|
|
sasl-external
|
|
|
|
# or: catgirl -e -c example.pem
|
|
|
|
.Ed
|
|
|
|
.El
|
|
|
|
.
|
2020-02-06 03:22:52 +00:00
|
|
|
.Sh COMMANDS
|
2020-02-08 02:53:50 +00:00
|
|
|
Any unique prefix can be used to abbreviate a command.
|
|
|
|
For example,
|
|
|
|
.Ic /join
|
|
|
|
can be typed
|
|
|
|
.Ic /j .
|
|
|
|
.
|
2020-02-06 03:22:52 +00:00
|
|
|
.Ss Chat Commands
|
|
|
|
.Bl -tag -width Ds
|
2020-02-15 02:10:40 +00:00
|
|
|
.It Ic /away Op Ar message
|
|
|
|
Set or clear your away status.
|
2020-02-15 09:47:46 +00:00
|
|
|
.It Ic /cs Ar command
|
|
|
|
Send a command to ChanServ.
|
2020-02-15 02:36:58 +00:00
|
|
|
.It Ic /invite Ar nick
|
|
|
|
Invite a user to the channel.
|
2020-02-06 06:05:09 +00:00
|
|
|
.It Ic /join Ar channel
|
|
|
|
Join a channel.
|
2020-02-12 07:39:23 +00:00
|
|
|
.It Ic /list Op Ar channel
|
|
|
|
List channels.
|
2020-02-06 03:22:52 +00:00
|
|
|
.It Ic /me Op Ar action
|
|
|
|
Send an action message.
|
2020-02-09 20:35:02 +00:00
|
|
|
.It Ic /msg Ar nick message
|
|
|
|
Send a private message.
|
2020-02-08 08:19:56 +00:00
|
|
|
.It Ic /names
|
|
|
|
List users in the channel.
|
2020-02-08 05:02:10 +00:00
|
|
|
.It Ic /nick Ar nick
|
|
|
|
Change nicknames.
|
2020-02-06 03:22:52 +00:00
|
|
|
.It Ic /notice Ar message
|
|
|
|
Send a notice.
|
2020-02-15 09:47:46 +00:00
|
|
|
.It Ic /ns Ar command
|
|
|
|
Send a command to NickServ.
|
2020-02-08 06:25:07 +00:00
|
|
|
.It Ic /part Op Ar message
|
|
|
|
Leave the channel.
|
2020-02-08 06:34:55 +00:00
|
|
|
.It Ic /query Ar nick
|
|
|
|
Start a private conversation.
|
2020-02-06 03:22:52 +00:00
|
|
|
.It Ic /quit Op Ar message
|
|
|
|
Quit IRC.
|
|
|
|
.It Ic /quote Ar command
|
|
|
|
Send a raw IRC command.
|
2020-03-22 18:19:11 +00:00
|
|
|
.It Ic /say Ar message
|
|
|
|
Send a regular message.
|
2020-02-08 08:25:50 +00:00
|
|
|
.It Ic /topic Op Ar topic
|
|
|
|
Show or set the topic of the channel.
|
2020-02-09 21:45:49 +00:00
|
|
|
.It Ic /whois Ar nick
|
|
|
|
Query information about a user.
|
2020-02-06 03:22:52 +00:00
|
|
|
.El
|
|
|
|
.
|
|
|
|
.Ss UI Commands
|
|
|
|
.Bl -tag -width Ds
|
2020-02-08 07:26:00 +00:00
|
|
|
.It Ic /close Op Ar name | num
|
|
|
|
Close the named, numbered or current window.
|
2020-02-09 02:44:50 +00:00
|
|
|
.It Ic /copy Op Ar nick | substring
|
|
|
|
Copy the most recent URL from
|
|
|
|
.Ar nick
|
|
|
|
or matching
|
|
|
|
.Ar substring .
|
2020-02-08 07:33:41 +00:00
|
|
|
.It Ic /debug
|
|
|
|
Toggle logging in the
|
|
|
|
.Sy <debug>
|
|
|
|
window.
|
2020-02-14 03:22:11 +00:00
|
|
|
.It Ic /exec Ar command
|
|
|
|
Run
|
|
|
|
.Ar command
|
|
|
|
with
|
|
|
|
.Ev SHELL
|
|
|
|
and interpret its output
|
|
|
|
as input to the current window,
|
|
|
|
including as commands.
|
2020-02-09 19:09:27 +00:00
|
|
|
.It Ic /help Op Ar search
|
|
|
|
View this manual.
|
|
|
|
Type
|
|
|
|
.Ic q
|
|
|
|
to return to
|
|
|
|
.Nm .
|
2020-03-31 18:30:42 +00:00
|
|
|
.It Ic /ignore Op Ar pattern
|
|
|
|
List message filtering patterns
|
|
|
|
or temporarily add a pattern.
|
|
|
|
To permanently add a pattern, use
|
|
|
|
.Fl i .
|
2020-02-13 10:05:53 +00:00
|
|
|
.It Ic /move Oo Ar name Oc Ar num
|
|
|
|
Move named window to number.
|
2020-02-08 23:29:01 +00:00
|
|
|
.It Ic /open Op Ar count
|
|
|
|
Open each of
|
|
|
|
.Ar count
|
|
|
|
most recent URLs.
|
|
|
|
.It Ic /open Ar nick | substring
|
|
|
|
Open the most recent URL from
|
|
|
|
.Ar nick
|
|
|
|
or matching
|
|
|
|
.Ar substring .
|
2020-03-31 18:30:42 +00:00
|
|
|
.It Ic /unignore Ar pattern
|
|
|
|
Temporarily remove a message filtering pattern.
|
2020-02-06 03:25:34 +00:00
|
|
|
.It Ic /window Ar name
|
|
|
|
Switch to window by name.
|
2020-02-06 03:22:52 +00:00
|
|
|
.It Ic /window Ar num , Ic / Ns Ar num
|
|
|
|
Switch to window by number.
|
|
|
|
.El
|
2020-02-06 07:56:55 +00:00
|
|
|
.
|
2020-02-25 07:12:35 +00:00
|
|
|
.Ss Operator Commands
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Ic /ban Op Ar mask ...
|
|
|
|
List or ban masks from the channel.
|
2020-04-06 20:30:03 +00:00
|
|
|
.It Ic /deop Op Ar nick ...
|
|
|
|
Revoke channel operator status from users or yourself.
|
|
|
|
.It Ic /devoice Op Ar nick ...
|
|
|
|
Revoke voice from users or yourself in the channel.
|
2020-02-25 07:12:35 +00:00
|
|
|
.It Ic /except Op Ar mask ...
|
|
|
|
List or add masks to the channel ban exception list.
|
|
|
|
.It Ic /invex Op Ar mask ...
|
|
|
|
List or add masks to the channel invite list.
|
|
|
|
.It Ic /kick Ar nick Op Ar message
|
|
|
|
Kick a user from the channel.
|
|
|
|
.It Ic /mode Oo Ar modes Oc Op Ar param ...
|
|
|
|
Show or set channel modes.
|
|
|
|
In the
|
|
|
|
.Sy <network>
|
|
|
|
window,
|
|
|
|
show or set user modes.
|
2020-04-06 20:30:03 +00:00
|
|
|
.It Ic /op Op Ar nick ...
|
|
|
|
Grant users or yourself channel operator status.
|
2020-02-25 07:12:35 +00:00
|
|
|
.It Ic /unban Ar mask ...
|
|
|
|
Unban masks from the channel.
|
|
|
|
.It Ic /unexcept Ar mask ...
|
|
|
|
Remove masks from the channel ban exception list.
|
|
|
|
.It Ic /uninvex Ar mask ...
|
|
|
|
Remove masks from the channel invite list.
|
2020-04-06 20:30:03 +00:00
|
|
|
.It Ic /voice Op Ar nick ...
|
|
|
|
Grant users or yourself voice in the channel.
|
2020-02-25 07:12:35 +00:00
|
|
|
.El
|
|
|
|
.
|
2020-02-07 07:05:18 +00:00
|
|
|
.Sh KEY BINDINGS
|
2020-02-09 09:44:46 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
interface provides
|
|
|
|
.Xr emacs 1 Ns -like
|
|
|
|
line editing
|
|
|
|
as well as keys for IRC formatting.
|
|
|
|
The prefixes
|
|
|
|
.Ic C-
|
|
|
|
and
|
|
|
|
.Ic M-
|
|
|
|
represent the control and meta (alt)
|
|
|
|
modifiers, respectively.
|
|
|
|
.
|
2020-02-07 07:05:18 +00:00
|
|
|
.Ss Line Editing
|
|
|
|
.Bl -tag -width Ds -compact
|
|
|
|
.It Ic C-a
|
|
|
|
Move to beginning of line.
|
2020-02-09 08:41:46 +00:00
|
|
|
.It Ic C-b
|
|
|
|
Move left.
|
2020-02-09 08:56:18 +00:00
|
|
|
.It Ic C-d
|
|
|
|
Delete next character.
|
2020-02-07 07:05:18 +00:00
|
|
|
.It Ic C-e
|
|
|
|
Move to end of line.
|
2020-02-09 08:41:46 +00:00
|
|
|
.It Ic C-f
|
|
|
|
Move right.
|
2020-02-09 08:56:18 +00:00
|
|
|
.It Ic C-k
|
|
|
|
Delete to end of line.
|
2020-02-12 06:16:40 +00:00
|
|
|
.It Ic C-t
|
|
|
|
Transpose characters.
|
2020-02-07 07:05:18 +00:00
|
|
|
.It Ic C-u
|
2020-02-09 08:56:18 +00:00
|
|
|
Delete to beginning of line.
|
2020-02-09 09:32:32 +00:00
|
|
|
.It Ic C-w
|
|
|
|
Delete previous word.
|
2020-03-30 18:56:26 +00:00
|
|
|
.It Ic C-x
|
|
|
|
Expand a text macro beginning with
|
|
|
|
.Ql \e .
|
2020-02-09 12:09:51 +00:00
|
|
|
.It Ic C-y
|
|
|
|
Paste previously deleted text.
|
2020-03-23 19:03:55 +00:00
|
|
|
.It Ic M-Enter
|
|
|
|
Insert a newline without sending a command.
|
2020-02-09 09:20:07 +00:00
|
|
|
.It Ic M-b
|
|
|
|
Move to previous word.
|
2020-02-09 09:32:32 +00:00
|
|
|
.It Ic M-d
|
|
|
|
Delete next word.
|
2020-02-09 09:20:07 +00:00
|
|
|
.It Ic M-f
|
|
|
|
Move to next word.
|
2020-02-09 09:44:46 +00:00
|
|
|
.It Ic Tab
|
2020-03-30 18:56:26 +00:00
|
|
|
Complete nick, channel, command or macro.
|
2020-02-07 07:05:18 +00:00
|
|
|
.El
|
|
|
|
.
|
|
|
|
.Ss Window Keys
|
|
|
|
.Bl -tag -width Ds -compact
|
|
|
|
.It Ic C-l
|
|
|
|
Redraw the UI.
|
2020-02-09 12:46:30 +00:00
|
|
|
.It Ic C-n
|
|
|
|
Switch to next window.
|
2020-02-11 01:29:19 +00:00
|
|
|
.It Ic C-o
|
|
|
|
Switch to previously selected window.
|
2020-02-09 12:46:30 +00:00
|
|
|
.It Ic C-p
|
|
|
|
Switch to previous window.
|
2020-02-12 06:00:39 +00:00
|
|
|
.It Ic C-v
|
|
|
|
Scroll down a page.
|
2020-03-31 18:31:10 +00:00
|
|
|
.It Ic M--
|
|
|
|
Toggle visibility of filtered messages.
|
2020-02-09 13:17:05 +00:00
|
|
|
.It Ic M-/
|
|
|
|
Switch to previously selected window.
|
2020-02-09 13:14:22 +00:00
|
|
|
.It Ic M-a
|
|
|
|
Cycle through unread windows.
|
2020-02-09 23:16:01 +00:00
|
|
|
.It Ic M-l
|
|
|
|
List the contents of the window
|
|
|
|
without word-wrapping.
|
|
|
|
Press
|
|
|
|
.Ic Enter
|
|
|
|
to return to
|
|
|
|
.Nm .
|
2020-02-07 07:05:18 +00:00
|
|
|
.It Ic M-m
|
|
|
|
Insert a blank line in the window.
|
|
|
|
.It Ic M- Ns Ar n
|
|
|
|
Switch to window by number 0\(en9.
|
2020-02-09 17:13:51 +00:00
|
|
|
.It Ic M-u
|
|
|
|
Scroll to first unread line.
|
2020-02-12 06:00:39 +00:00
|
|
|
.It Ic M-v
|
|
|
|
Scroll up a page.
|
2020-02-07 07:05:18 +00:00
|
|
|
.El
|
|
|
|
.
|
2020-02-07 07:46:40 +00:00
|
|
|
.Ss IRC Formatting
|
|
|
|
.Bl -tag -width Ds -compact
|
|
|
|
.It Ic C-z b
|
|
|
|
Toggle bold.
|
|
|
|
.It Ic C-z c
|
|
|
|
Set or reset color.
|
|
|
|
.It Ic C-z i
|
|
|
|
Toggle italics.
|
|
|
|
.It Ic C-z o
|
|
|
|
Reset formatting.
|
|
|
|
.It Ic C-z r
|
|
|
|
Toggle reverse color.
|
|
|
|
.It Ic C-z u
|
|
|
|
Toggle underline.
|
|
|
|
.El
|
|
|
|
.
|
|
|
|
.Pp
|
|
|
|
To set colors, follow
|
|
|
|
.Ic C-z c
|
|
|
|
by one or two digits for the foreground color,
|
|
|
|
optionally followed by a comma
|
|
|
|
and one or two digits for the background color.
|
|
|
|
To reset color, follow
|
|
|
|
.Ic C-z c
|
|
|
|
by a non-digit.
|
|
|
|
.
|
|
|
|
.Pp
|
|
|
|
The color numbers are as follows:
|
|
|
|
.Bl -column "99" "orange (dark yellow)" "15" "pink (light magenta)"
|
|
|
|
.It \ 0 Ta white Ta \ 8 Ta yellow
|
|
|
|
.It \ 1 Ta black Ta \ 9 Ta light green
|
|
|
|
.It \ 2 Ta blue Ta 10 Ta cyan
|
|
|
|
.It \ 3 Ta green Ta 11 Ta light cyan
|
|
|
|
.It \ 4 Ta red Ta 12 Ta light blue
|
|
|
|
.It \ 5 Ta brown (dark red) Ta 13 Ta pink (light magenta)
|
|
|
|
.It \ 6 Ta magenta Ta 14 Ta gray
|
|
|
|
.It \ 7 Ta orange (dark yellow) Ta 15 Ta light gray
|
2020-02-13 06:43:16 +00:00
|
|
|
.It 99 Ta default Ta Ta
|
2020-02-07 07:46:40 +00:00
|
|
|
.El
|
|
|
|
.
|
2020-02-14 03:30:58 +00:00
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Ev SHELL
|
|
|
|
The path executed by
|
|
|
|
.Ic /exec
|
|
|
|
with
|
|
|
|
.Fl c Ar command .
|
|
|
|
If unset,
|
|
|
|
.Pa /bin/sh
|
|
|
|
is used.
|
|
|
|
.It Ev USER
|
|
|
|
The default nickname.
|
|
|
|
.El
|
|
|
|
.
|
2020-02-06 07:56:55 +00:00
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Pa $XDG_CONFIG_DIRS/catgirl
|
2020-02-11 00:40:13 +00:00
|
|
|
Configuration files are searched for first in
|
2020-02-06 07:56:55 +00:00
|
|
|
.Ev $XDG_CONFIG_HOME ,
|
|
|
|
usually
|
|
|
|
.Pa ~/.config ,
|
|
|
|
followed by the colon-separated list of paths
|
|
|
|
.Ev $XDG_CONFIG_DIRS ,
|
|
|
|
usually
|
|
|
|
.Pa /etc/xdg .
|
|
|
|
.It Pa ~/.config/catgirl
|
|
|
|
The most likely location of configuration files.
|
2020-02-11 00:40:13 +00:00
|
|
|
.
|
|
|
|
.It Pa $XDG_DATA_DIRS/catgirl
|
|
|
|
Save files are searched for first in
|
|
|
|
.Ev $XDG_DATA_HOME ,
|
|
|
|
usually
|
|
|
|
.Pa ~/.local/share ,
|
|
|
|
followed by the colon-separated list of paths
|
|
|
|
.Ev $XDG_DATA_DIRS ,
|
|
|
|
usually
|
|
|
|
.Pa /usr/local/share:/usr/share .
|
|
|
|
.It Pa ~/.local/share/catgirl
|
|
|
|
The most likely location of save files.
|
2020-02-06 07:56:55 +00:00
|
|
|
.El
|
|
|
|
.
|
2020-02-15 09:28:57 +00:00
|
|
|
.Sh EXIT STATUS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
client exits 0
|
|
|
|
if requested by the user,
|
|
|
|
.Dv EX_UNAVAILABLE
|
|
|
|
(69)
|
|
|
|
if the connection is lost,
|
|
|
|
and >0 if an error occurs.
|
|
|
|
.
|
2020-02-06 07:56:55 +00:00
|
|
|
.Sh EXAMPLES
|
|
|
|
Command line:
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
catgirl -h chat.freenode.net -j '#ascii.town'
|
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Configuration file:
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
host = chat.freenode.net
|
|
|
|
join = #ascii.town
|
|
|
|
.Ed
|
2020-03-31 19:09:34 +00:00
|
|
|
.Pp
|
|
|
|
Filtering joins, parts and quits from a channel:
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
ignore = * [JPQ][OAU][IR][NT] #example
|
|
|
|
.Ed
|
2020-02-06 07:56:55 +00:00
|
|
|
.
|
|
|
|
.Sh STANDARDS
|
|
|
|
.Bl -item
|
|
|
|
.It
|
|
|
|
.Rs
|
2020-02-16 23:10:40 +00:00
|
|
|
.%A Adam
|
|
|
|
.%A Attila Molnar
|
|
|
|
.%T IRCv3.2 invite-notify Extension
|
|
|
|
.%I IRCv3 Working Group
|
|
|
|
.%U https://ircv3.net/specs/extensions/invite-notify-3.2
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
|
|
|
.%A Alexey Sokolov
|
|
|
|
.%A St\('ephan Kochen
|
|
|
|
.%A Kyle Fuller
|
2020-02-09 05:53:55 +00:00
|
|
|
.%A Kiyoshi Aman
|
2020-02-16 23:10:40 +00:00
|
|
|
.%A James Wheare
|
|
|
|
.%T IRCv3 Message Tags
|
2020-02-09 05:53:55 +00:00
|
|
|
.%I IRCv3 Working Group
|
2020-02-16 23:10:40 +00:00
|
|
|
.%U https://ircv3.net/specs/extensions/message-tags
|
2020-02-09 05:53:55 +00:00
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
2020-02-16 23:10:40 +00:00
|
|
|
.%A C. Kalt
|
|
|
|
.%T Internet Relay Chat: Client Protocol
|
|
|
|
.%I IETF
|
|
|
|
.%N RFC 2812
|
|
|
|
.%D April 2000
|
|
|
|
.%U https://tools.ietf.org/html/rfc2812
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
2020-03-22 18:32:20 +00:00
|
|
|
.%A Christine Dodrill
|
|
|
|
.%T IRCv3.2 chghost Extension
|
|
|
|
.%I IRCv3 Working Group
|
|
|
|
.%U https://ircv3.net/specs/extensions/chghost-3.2
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
2020-02-16 23:10:40 +00:00
|
|
|
.%A Daniel Oaks
|
|
|
|
.%T IRC Formatting
|
|
|
|
.%I ircdocs
|
|
|
|
.%U https://modern.ircdocs.horse/formatting.html
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
2020-02-16 23:16:29 +00:00
|
|
|
.%A J. Oikarinen
|
|
|
|
.%A D. Reed
|
|
|
|
.%T Internet Relay Chat Protocol
|
|
|
|
.%I IETF
|
|
|
|
.%N RFC 1459
|
|
|
|
.%D May 1993
|
|
|
|
.%U https://tools.ietf.org/html/rfc1459
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
|
|
|
.%A Jack Allnutt
|
|
|
|
.%T Modern IRC Client Protocol
|
|
|
|
.%I ircdocs
|
|
|
|
.%U https://modern.ircdocs.horse/index.html
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
2020-02-16 23:10:40 +00:00
|
|
|
.%A K. Zeilenga, Ed.
|
|
|
|
.%T The PLAIN Simple Authentication and Security Layer (SASL) Mechanism
|
|
|
|
.%I IETF
|
|
|
|
.%N RFC 4616
|
|
|
|
.%D August 2006
|
|
|
|
.%U https://tools.ietf.org/html/rfc4616
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
|
|
|
.%A Kiyoshi Aman
|
|
|
|
.%T IRCv3.1 extended-join Extension
|
|
|
|
.%I IRCv3 Working Group
|
|
|
|
.%U https://ircv3.net/specs/extensions/extended-join-3.1
|
2020-02-06 07:56:55 +00:00
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
|
|
|
.%A Kyle Fuller
|
|
|
|
.%A St\('ephan Kochen
|
|
|
|
.%A Alexey Sokolov
|
|
|
|
.%A James Wheare
|
|
|
|
.%T IRCv3.2 server-time Extension
|
|
|
|
.%I IRCv3 Working Group
|
|
|
|
.%U https://ircv3.net/specs/extensions/server-time-3.2
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
|
|
|
.%A Lee Hardy
|
|
|
|
.%A Perry Lorier
|
|
|
|
.%A Kevin L. Mitchell
|
|
|
|
.%A William Pitcock
|
|
|
|
.%T IRCv3.1 Client Capability Negotiation
|
|
|
|
.%I IRCv3 Working Group
|
|
|
|
.%U https://ircv3.net/specs/core/capability-negotiation-3.1.html
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
|
|
|
.%A Mantas Mikul\[u0117]nas
|
|
|
|
.%T IRCv3.2 userhost-in-names Extension
|
|
|
|
.%I IRCv3 Working Group
|
|
|
|
.%U https://ircv3.net/specs/extensions/userhost-in-names-3.2
|
|
|
|
.Re
|
2020-02-15 02:36:58 +00:00
|
|
|
.It
|
|
|
|
.Rs
|
2020-02-16 23:10:40 +00:00
|
|
|
.%A S. Josefsson
|
|
|
|
.%T The Base16, Base32, and Base64 Data Encodings
|
|
|
|
.%I IETF
|
|
|
|
.%N RFC 4648
|
|
|
|
.%D October 2006
|
|
|
|
.%U https://tools.ietf.org/html/rfc4648
|
2020-02-06 07:56:55 +00:00
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
2020-02-16 23:10:40 +00:00
|
|
|
.%A Waldo Bastian
|
|
|
|
.%A Ryan Lortie
|
|
|
|
.%A Lennart Poettering
|
|
|
|
.%T XDG Base Directory Specification
|
|
|
|
.%D November 24, 2010
|
|
|
|
.%U https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
2020-02-15 09:59:50 +00:00
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
|
|
|
.%A William Pitcock
|
2020-02-06 07:56:55 +00:00
|
|
|
.%A Jilles Tjoelker
|
|
|
|
.%T IRCv3.1 SASL Authentication
|
|
|
|
.%I IRCv3 Working Group
|
|
|
|
.%U https://ircv3.net/specs/extensions/sasl-3.1.html
|
|
|
|
.Re
|
|
|
|
.It
|
|
|
|
.Rs
|
2020-02-16 23:10:40 +00:00
|
|
|
.%A William Pitcock
|
|
|
|
.%T IRCv3.1 multi-prefix Extension
|
2020-02-06 07:56:55 +00:00
|
|
|
.%I IRCv3 Working Group
|
2020-02-16 23:10:40 +00:00
|
|
|
.%U https://ircv3.net/specs/extensions/multi-prefix-3.1
|
2020-02-06 07:56:55 +00:00
|
|
|
.Re
|
|
|
|
.El
|
|
|
|
.
|
2020-02-29 06:03:46 +00:00
|
|
|
.Ss Extensions
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
client can take advantage of the
|
|
|
|
.Sy causal.agency/consumer
|
|
|
|
vendor-specific IRCv3 capability
|
|
|
|
implemented by
|
|
|
|
.Xr pounce 1 .
|
|
|
|
The consumer position is stored in the
|
|
|
|
.Cm save
|
|
|
|
file.
|
|
|
|
.
|
2020-02-06 07:56:55 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
.An June Bug Aq Mt june@causal.agency
|
|
|
|
.
|
|
|
|
.Sh BUGS
|
|
|
|
Send mail to
|
|
|
|
.Aq Mt june@causal.agency
|
|
|
|
or join
|
|
|
|
.Li #ascii.town
|
|
|
|
on
|
|
|
|
.Li chat.freenode.net .
|