about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-08 22:16:17 -0400
committerJune McEnroe <june@causal.agency>2018-09-08 22:16:17 -0400
commit239622018a851699c2cdee5a2580ef6f0ad7264f (patch)
tree65a73d437e4998ceae0441a35470f3003d3efda9
parentFix reverse iteration in urlOpen (diff)
downloadcatgirl-239622018a851699c2cdee5a2580ef6f0ad7264f.tar.gz
catgirl-239622018a851699c2cdee5a2580ef6f0ad7264f.zip
Document command line options in chatte.1
-rw-r--r--chatte.1104
1 files changed, 104 insertions, 0 deletions
diff --git a/chatte.1 b/chatte.1
new file mode 100644
index 0000000..fa9a5f1
--- /dev/null
+++ b/chatte.1
@@ -0,0 +1,104 @@
+.Dd September 8, 2018
+.Dt CHATTE 1
+.Os "Causal Agency"
+.Sh NAME
+.Nm chatte
+.Nd IRC for catgirls
+.Sh SYNOPSIS
+.Nm
+.Op Fl v
+.Op Fl W Ar pass
+.Op Fl h Ar host
+.Op Fl j Ar chan
+.Op Fl l Ar path
+.Op Fl n Ar nick
+.Op Fl p Ar port
+.Op Fl u Ar user
+.Op Fl w Ar pass
+.Sh DESCRIPTION
+.Nm
+is a curses IRC client
+which only supports TLS.
+.Pp
+The arguments are as follows:
+.Bl -tag -width Ds
+.It Fl W Ar pass
+Send
+.Ql WEBIRC
+command with
+.Ar pass .
+See
+.Sx ENVIRONMENT
+for details.
+.It Fl h Ar host
+Connect to
+.Ar host .
+.It Fl j Ar chan
+Join
+.Ar chan
+after connecting.
+.Ar chan
+may be a comma-separated list.
+.It Fl l Ar path
+Log messages to subdirectories by target
+and files by date under
+.Ar path .
+.It Fl n Ar nick
+Set nickname to
+.Ar nick .
+.It Fl p Ar port
+Connect to
+.Ar port .
+The default port is 6697.
+.It Fl u Ar user
+Set username to
+.Ar user .
+The default username is
+the same as the nickname.
+.It Fl v
+Show raw IRC protocol in the
+.Ql (irc)
+view.
+.It Fl w Ar pass
+Log in with
+.Ar pass .
+.El
+.Pp
+If
+.Fl h
+or
+.Fl n
+are not provided,
+they will be prompted for.
+.Sh ENVIRONMENT
+.Bl -tag
+.It Ev SSH_CLIENT
+If
+.Fl W
+is passed and
+.Ev SSH_CLIENT
+is set,
+the
+.Ql WEBIRC
+command is used
+to set the hostname
+to the first word of
+.Ev SSH_CLIENT ,
+usually the client IP address.
+.El
+.Sh EXAMPLES
+.Bd -literal -offset indent
+chatte -h ascii.town -j '&chatte'
+.Ed
+.Sh STANDARDS
+.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
+.Sh CAVEATS
+.Nm
+does not support unencrypted connections.
18-08-07 00:12:08 -0400'>2018-08-07Make safe filling the who bufferJune McEnroe 2018-08-07Add reverse and reset IRC formatting codesJune McEnroe 2018-08-06Rewrite line editing again, add formattingJune McEnroe 2018-08-06Fix allocation size in vaswprintfJune McEnroe This is so embarrassing. It only started crashing once it had strings that were long enough, and then it took me so long to notice this mistake. I was worried I was still doing va_list wrong somehow. 2018-08-06Implement word wrappingJune McEnroe 2018-08-06Use wchar_t strings for all of UIJune McEnroe vaswprintf is a nightmare. 2018-08-06Rename line editing functionsJune McEnroe 2018-08-05Initialize all possible color pairsJune McEnroe This is actually possible with use_default_colors! 2018-08-05Refactor color initializationJune McEnroe 2018-08-05Add ^L redrawJune McEnroe 2018-08-05Use 16 colors if availableJune McEnroe Fall back to using bold if there are only 8 colors. This also allowed bright background colors in 16-color terminals. I must port this system to torus. I'll be able to remove the awful termcap patch hack. 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe Oh boy that's embarrassing. 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe Don't really have a way to implement the M-* keys, and currently missing C-w. 2018-08-04Handle /topicJune McEnroe