summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-29 19:57:50 -0500
committerJune McEnroe <june@causal.agency>2019-11-29 19:57:50 -0500
commitb573f846248084efe5c6f0014a8cb24d6c84a3fd (patch)
tree45630cbe8d5d241d439c2a174f55b18de60ae608
downloadlitterbox-b573f846248084efe5c6f0014a8cb24d6c84a3fd.tar.gz
litterbox-b573f846248084efe5c6f0014a8cb24d6c84a3fd.zip
Add litterbox manual page
-rw-r--r--litterbox.1131
1 files changed, 131 insertions, 0 deletions
diff --git a/litterbox.1 b/litterbox.1
new file mode 100644
index 0000000..6bdad8a
--- /dev/null
+++ b/litterbox.1
@@ -0,0 +1,131 @@
+.Dd November 29, 2019
+.Dt LITTERBOX 1
+.Os
+.
+.Sh NAME
+.Nm litterbox
+.Nd IRC logger
+.
+.Sh SYNOPSIS
+.Nm
+.Op Fl h Ar host
+.Op Fl j Ar join
+.Op Fl n Ar nick
+.Op Fl p Ar port
+.Op Fl u Ar user
+.Op Fl w Ar pass
+.Op Ar path
+.
+.Nm
+.Fl i | m
+.Op Ar path
+.
+.Sh DESCRIPTION
+The
+.Nm
+daemon logs IRC activity to a database
+which may be queried with
+.Xr scoop 1 .
+.
+.Pp
+The arguments are as follows:
+.
+.Bl -tag -width "-h host"
+.It Fl h Ar host
+Connect to
+.Ar host .
+.
+.It Fl i
+Initialize the database.
+.
+.It Fl j Ar join
+Join the comma-separated list of channels
+.Ar join .
+.
+.It Fl m
+Migrate the database to the latest version.
+.
+.It Fl n Ar nick
+Set the nickname to
+.Ar nick .
+The default nickname is
+.Dq litterbox .
+.
+.It Fl p Ar port
+Connect to
+.Ar port .
+The default port is 6697.
+.
+.It Fl u Ar user
+Set the username to
+.Ar user .
+The default username is the same as the nickname.
+.
+.It Fl w Ar pass
+Log in with the server password
+.Ar pass .
+.
+.It Ar path
+The path to the database file.
+The database must be initialized with
+.Fl i .
+See
+.Sx FILES
+for the default path.
+.El
+.
+.Sh FILES
+.Bl -tag -width Ds
+.It Pa $XDG_DATA_DIRS/litterbox/database.sqlite
+The database file is 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/litterbox/database.sqlite
+The most likely path to the database file.
+.El
+.
+.Sh SEE ALSO
+.Xr scoop 1
+.
+.Sh STANDARDS
+The
+.Nm
+daemon implements the following:
+.
+.Bl -item
+.It
+.Rs
+.%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
+.Re
+.
+.It
+.Rs
+.%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
+.El
+.
+.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 .
w.c?id=a281bdc5e1700e25022536a5482b1fb41ece4219&follow=1'>Show indicator in status when window has pending inputJune McEnroe 2022-02-20Use separate edit buffers for each IDJune McEnroe 2022-02-20Make sure new cap is actually larger than new lengthJune McEnroe 2022-02-20Remove unused mbs.len field from struct EditJune McEnroe 2022-02-19Remove unneeded includes in ui.cJune McEnroe 2022-02-19Reimplement tab completeJune McEnroe 2022-02-19Handle errors from editFn, etc.June McEnroe 2022-02-19Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe In other words, warn when a function is missing static. I don't see why this isn't in -Wextra. 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe I know, it feels wrong. 2022-02-18Implement new line editing "library"June McEnroe Losing tab complete and text macros, for now. This new implementation works on an instance of a struct and does not interact with the rest of catgirl, making it possible to copy into another project. Unlike existing line editing libraries, this one is entirely abstract and can be rendered externally. My goal with this library is to be able to implement vi mode. Since it operates on struct instances rather than globals, it might also be possible to give catgirl separate line editing buffers for each window, which would be a nice UX improvement. 2022-02-18Simplify cursor positioning in inputJune McEnroe Do some extra work by adding the portion before the cursor to the input window twice, but simplify the interaction with the split point. This fixes the awkward behaviour when moving the cursor across colour codes where the code would be partially interpreted up to the cursor. 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe