about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-11-27 19:13:27 -0500
committerJune McEnroe <june@causal.agency>2018-11-27 19:13:27 -0500
commit85ea911b799181e375b1553458853e54ed25f28f (patch)
tree5e04e7be0a0099a60021c0235f7795be6025b1bf
parentAdd M-m key to insert a blank line (diff)
downloadcatgirl-85ea911b799181e375b1553458853e54ed25f28f.tar.gz
catgirl-85ea911b799181e375b1553458853e54ed25f28f.zip
Rename project catgirl
This simplifies things.
-rw-r--r--.gitignore2
-rw-r--r--Makefile22
-rw-r--r--README10
-rw-r--r--catgirl.1 (renamed from chatte.1)10
-rw-r--r--catgirl.7 (renamed from chatte.7)10
-rw-r--r--chat.h2
-rw-r--r--input.c2
-rw-r--r--man.sh2
-rw-r--r--sshd_config2
9 files changed, 31 insertions, 31 deletions
diff --git a/.gitignore b/.gitignore
index d3a0af8..b701a89 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
 *.o
 *.t
-chatte
+catgirl
 chroot.tar
 root
 tags
diff --git a/Makefile b/Makefile
index ece6649..3efcbd8 100644
--- a/Makefile
+++ b/Makefile
@@ -27,12 +27,12 @@ OBJS += url.o
 TESTS += format.t
 TESTS += term.t
 
-all: tags chatte test
+all: tags catgirl test
 
 tags: *.h *.c
 	ctags -w *.h *.c
 
-chatte: $(OBJS)
+catgirl: $(OBJS)
 	$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
 
 $(OBJS): chat.h
@@ -45,16 +45,16 @@ test: $(TESTS)
 .c.t:
 	$(CC) $(CFLAGS) -DTEST $(LDFLAGS) $< $(LDLIBS) -o $@
 
-install: chatte chatte.1
+install: catgirl catgirl.1
 	install -d $(PREFIX)/bin $(MANPATH)/man1
-	install chatte $(PREFIX)/bin/chatte
-	install -m 644 chatte.1 $(MANPATH)/man1/chatte.1
+	install catgirl $(PREFIX)/bin/catgirl
+	install -m 644 catgirl.1 $(MANPATH)/man1/catgirl.1
 
 uninstall:
-	rm -f $(PREFIX)/bin/chatte
-	rm -f $(MANPATH)/man1/chatte.1
+	rm -f $(PREFIX)/bin/catgirl
+	rm -f $(MANPATH)/man1/catgirl.1
 
-chroot.tar: chatte chatte.1 man.sh
+chroot.tar: catgirl catgirl.1 man.sh
 	install -d -o root -g wheel \
 		root \
 		root/bin \
@@ -88,7 +88,7 @@ chroot.tar: chatte chatte.1 man.sh
 	tar -c -f chroot.tar -C root bin etc home lib libexec usr
 
 clean:
-	rm -rf tags chatte $(OBJS) $(TESTS) root chroot.tar
+	rm -rf tags catgirl $(OBJS) $(TESTS) root chroot.tar
 
-README: chatte.7
-	mandoc chatte.7 | sed $$'s/.\b//g' > README
+README: catgirl.7
+	mandoc catgirl.7 | col -b -x > README
diff --git a/README b/README
index bc7d86c..d060f24 100644
--- a/README
+++ b/README
@@ -1,10 +1,10 @@
-CHATTE(7)              Miscellaneous Information Manual              CHATTE(7)
+CATGIRL(7)             Miscellaneous Information Manual             CATGIRL(7)
 
 NAME
-     chatte – IRC for catgirls
+     catgirl – IRC client
 
 DESCRIPTION
-     chatte is a curses IRC client originally intended for use over anonymous
+     catgirl is a curses IRC client originally intended for use over anonymous
      SSH.
 
      It requires LibreSSL and targets FreeBSD and Darwin.
@@ -29,6 +29,6 @@ FILES
      man.sh       man(1) implementation for chroot
 
 SEE ALSO
-     chatte(1)
+     catgirl(1)
 
-Causal Agency                 September 15, 2018                 Causal Agency
+Causal Agency                  November 27, 2018                 Causal Agency
diff --git a/chatte.1 b/catgirl.1
index f788ff1..2ffd7d0 100644
--- a/chatte.1
+++ b/catgirl.1
@@ -1,10 +1,10 @@
-.Dd September 8, 2018
-.Dt CHATTE 1
+.Dd November 27, 2018
+.Dt CATGIRL 1
 .Os "Causal Agency"
 .
 .Sh NAME
-.Nm chatte
-.Nd IRC for catgirls
+.Nm catgirl
+.Nd IRC client
 .
 .Sh SYNOPSIS
 .Nm
@@ -363,7 +363,7 @@ usually the client IP address.
 .El
 .
 .Sh EXAMPLES
-.Dl chatte -h ascii.town -j '&chatte'
+.Dl catgirl -h ascii.town -j '&catgirl'
 .
 .Sh STANDARDS
 .Rs
diff --git a/chatte.7 b/catgirl.7
index 5d5b31c..e54d822 100644
--- a/chatte.7
+++ b/catgirl.7
@@ -1,10 +1,10 @@
-.Dd September 15, 2018
-.Dt CHATTE 7
+.Dd November 27, 2018
+.Dt CATGIRL 7
 .Os "Causal Agency"
 .
 .Sh NAME
-.Nm chatte
-.Nd IRC for catgirls
+.Nm catgirl
+.Nd IRC client
 .
 .Sh DESCRIPTION
 .Nm
@@ -60,4 +60,4 @@ implementation for chroot
 .El
 .
 .Sh SEE ALSO
-.Xr chatte 1
+.Xr catgirl 1
diff --git a/chat.h b/chat.h
index cb05124..1a56992 100644
--- a/chat.h
+++ b/chat.h
@@ -14,7 +14,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#define SOURCE_URL "https://code.causal.agency/june/chatte"
+#define SOURCE_URL "https://code.causal.agency/june/catgirl"
 
 #include <stdarg.h>
 #include <stdbool.h>
diff --git a/input.c b/input.c
index 84ca71c..3a3d499 100644
--- a/input.c
+++ b/input.c
@@ -144,7 +144,7 @@ static void inputClose(struct Tag tag, char *params) {
 static void inputMan(struct Tag tag, char *params) {
 	(void)tag;
 	(void)params;
-	eventWait((const char *[]) { "man", "1", "chatte", NULL });
+	eventWait((const char *[]) { "man", "1", "catgirl", NULL });
 }
 
 static const struct {
diff --git a/man.sh b/man.sh
index 494eeda..9d686f9 100644
--- a/man.sh
+++ b/man.sh
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec mandoc /usr/share/man/man1/chatte.1 | LESSSECURE=1 less
+exec mandoc /usr/share/man/man1/catgirl.1 | LESSSECURE=1 less
diff --git a/sshd_config b/sshd_config
index 98a70b6..47b5a33 100644
--- a/sshd_config
+++ b/sshd_config
@@ -4,7 +4,7 @@ Match User chat
 	PasswordAuthentication yes
 	PermitEmptyPasswords yes
 	ChrootDirectory /home/chat
-	ForceCommand chatte
+	ForceCommand catgirl
 
 	AllowAgentForwarding no
 	AllowTcpForwarding no