Go to file
C. McEnroe 90c59ecba4 Make sure -D_GNU_SOURCE ends up in CFLAGS on Linux 2020-02-11 19:03:39 -05:00
.gitignore Add simple configure script 2020-02-06 23:50:04 -05:00
LICENSE Add copy of GPL 2020-02-09 15:25:28 -05:00
Makefile Factor out XDG base directory code 2020-02-10 19:57:10 -05:00
README.7 Add note about setting PKG_CONFIG_PATH 2020-02-11 18:33:19 -05:00
catgirl.1 Add C-o as alias of M-/ 2020-02-10 20:29:19 -05:00
chat.c Set self.nick to * initially 2020-02-11 17:52:55 -05:00
chat.h Define ColorCap instead of hardcoding 100 2020-02-11 17:43:36 -05:00
command.c Only automatically switch to expected joins 2020-02-10 20:24:07 -05:00
complete.c Fix completeReplace iteration 2020-02-11 03:40:33 -05:00
config.c Factor out XDG base directory code 2020-02-10 19:57:10 -05:00
configure Make sure -D_GNU_SOURCE ends up in CFLAGS on Linux 2020-02-11 19:03:39 -05:00
edit.c Avoid VLAs in tab complete 2020-02-09 14:17:04 -05:00
handle.c Rename query ID on nick change 2020-02-11 18:23:04 -05:00
irc.c Search for cert and priv in config dirs 2020-02-06 02:21:04 -05:00
ui.c Call completeClear when closing a window 2020-02-11 18:18:48 -05:00
url.c Match URLs surrounded by parentheses 2020-02-10 01:23:19 -05:00
xdg.c Move XDG_SUBDIR out of chat.h 2020-02-11 17:37:18 -05:00

README.7

.Dd February 11, 2020
.Dt README 7
.Os "Causal Agency"
.
.Sh NAME
.Nm catgirl
.Nd IRC client
.
.Sh DESCRIPTION
.Xr catgirl 1
is a TLS-only terminal IRC client.
.
.Ss Notable Features
.Bl -bullet
.It
Tab complete:
most recently seen or mentioned nicks
are completed first.
Commas are inserted between multple nicks.
.It
Indicators:
the prompt clearly shows whether input
will be interpreted as a command
or sent as a message.
An indicator appears when scrolled up
in the chat history.
.It
Nick coloring:
color generation based on usernames
remains stable across nick changes.
Mentions of users in messages are colored.
.It
URL detection:
recent URLs from a particular user
or matching a substring
can be opened or copied.
.It
History:
window contents can be saved
and restored on startup.
.El
.
.Ss Non-features
.Bl -bullet
.It
Dynamic configuration:
all configuration happens
in a simple text file
or on the command line.
.It
Multi-network:
a terminal multiplexer such as
.Xr screen 1
or
.Xr tmux 1
(or just your regular terminal emulator tabs)
can be used to connect
.Nm
to multiple networks.
.It
Reconnection:
when the connection to the server is lost,
.Nm
exits.
It can be run in a loop
or connected to a bouncer,
such as
.Lk https://git.causal.agency/pounce "pounce" .
.It
Cleartext IRC:
TLS is now ubiquitous
and certificates are easy to obtain.
.El
.
.Sh INSTALLING
.Nm
requires LibreSSL
.Pq Fl ltls
and ncurses
.Pq Fl lncursesw .
It primarily targets
.Fx
and macOS,
as well as Linux.
.Bd -literal -offset indent
\&./configure
make all
sudo make install PREFIX=/usr/local
.Ed
.
.Pp
If your system installs LibreSSL
in a non-standard path, set
.Ev PKG_CONFIG_PATH
for
.Nm ./configure .
For example,
.Bd -literal -offset indent
PKG_CONFIG_PATH=/opt/libressl/lib/pkgconfig ./configure
.Ed
.
.Sh FILES
.Bl -tag -width "complete.c" -compact
.It Pa chat.h
global state and declarations
.It Pa chat.c
startup and event loop
.It Pa irc.c
IRC connection and parsing
.It Pa ui.c
curses interface
.It Pa handle.c
IRC message handling
.It Pa command.c
input command handling
.It Pa edit.c
line editing
.It Pa complete.c
tab complete
.It Pa url.c
URL detection
.It Pa config.c
configuration parsing
.It Pa xdg.c
XDG base directories
.El
.
.Sh CONTRIBUTING
The upstream URL of this project is
.Aq Lk https://git.causal.agency/catgirl .
I'm happy to receive contributions in any form at
.Aq Mt june@causal.agency .
For sending patches by email, see
.Aq Lk https://git-send-email.io .
.
.Sh SEE ALSO
.Xr catgirl 1