parent
d9c47aa94b
commit
85ea911b79
|
@ -1,6 +1,6 @@
|
||||||
*.o
|
*.o
|
||||||
*.t
|
*.t
|
||||||
chatte
|
catgirl
|
||||||
chroot.tar
|
chroot.tar
|
||||||
root
|
root
|
||||||
tags
|
tags
|
||||||
|
|
22
Makefile
22
Makefile
|
@ -27,12 +27,12 @@ OBJS += url.o
|
||||||
TESTS += format.t
|
TESTS += format.t
|
||||||
TESTS += term.t
|
TESTS += term.t
|
||||||
|
|
||||||
all: tags chatte test
|
all: tags catgirl test
|
||||||
|
|
||||||
tags: *.h *.c
|
tags: *.h *.c
|
||||||
ctags -w *.h *.c
|
ctags -w *.h *.c
|
||||||
|
|
||||||
chatte: $(OBJS)
|
catgirl: $(OBJS)
|
||||||
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
|
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
|
||||||
|
|
||||||
$(OBJS): chat.h
|
$(OBJS): chat.h
|
||||||
|
@ -45,16 +45,16 @@ test: $(TESTS)
|
||||||
.c.t:
|
.c.t:
|
||||||
$(CC) $(CFLAGS) -DTEST $(LDFLAGS) $< $(LDLIBS) -o $@
|
$(CC) $(CFLAGS) -DTEST $(LDFLAGS) $< $(LDLIBS) -o $@
|
||||||
|
|
||||||
install: chatte chatte.1
|
install: catgirl catgirl.1
|
||||||
install -d $(PREFIX)/bin $(MANPATH)/man1
|
install -d $(PREFIX)/bin $(MANPATH)/man1
|
||||||
install chatte $(PREFIX)/bin/chatte
|
install catgirl $(PREFIX)/bin/catgirl
|
||||||
install -m 644 chatte.1 $(MANPATH)/man1/chatte.1
|
install -m 644 catgirl.1 $(MANPATH)/man1/catgirl.1
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(PREFIX)/bin/chatte
|
rm -f $(PREFIX)/bin/catgirl
|
||||||
rm -f $(MANPATH)/man1/chatte.1
|
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 \
|
install -d -o root -g wheel \
|
||||||
root \
|
root \
|
||||||
root/bin \
|
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
|
tar -c -f chroot.tar -C root bin etc home lib libexec usr
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf tags chatte $(OBJS) $(TESTS) root chroot.tar
|
rm -rf tags catgirl $(OBJS) $(TESTS) root chroot.tar
|
||||||
|
|
||||||
README: chatte.7
|
README: catgirl.7
|
||||||
mandoc chatte.7 | sed $$'s/.\b//g' > README
|
mandoc catgirl.7 | col -b -x > README
|
||||||
|
|
10
README
10
README
|
@ -1,10 +1,10 @@
|
||||||
CHATTE(7) Miscellaneous Information Manual CHATTE(7)
|
CATGIRL(7) Miscellaneous Information Manual CATGIRL(7)
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
chatte – IRC for catgirls
|
catgirl – IRC client
|
||||||
|
|
||||||
DESCRIPTION
|
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.
|
SSH.
|
||||||
|
|
||||||
It requires LibreSSL and targets FreeBSD and Darwin.
|
It requires LibreSSL and targets FreeBSD and Darwin.
|
||||||
|
@ -29,6 +29,6 @@ FILES
|
||||||
man.sh man(1) implementation for chroot
|
man.sh man(1) implementation for chroot
|
||||||
|
|
||||||
SEE ALSO
|
SEE ALSO
|
||||||
chatte(1)
|
catgirl(1)
|
||||||
|
|
||||||
Causal Agency September 15, 2018 Causal Agency
|
Causal Agency November 27, 2018 Causal Agency
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
.Dd September 8, 2018
|
.Dd November 27, 2018
|
||||||
.Dt CHATTE 1
|
.Dt CATGIRL 1
|
||||||
.Os "Causal Agency"
|
.Os "Causal Agency"
|
||||||
.
|
.
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm chatte
|
.Nm catgirl
|
||||||
.Nd IRC for catgirls
|
.Nd IRC client
|
||||||
.
|
.
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -363,7 +363,7 @@ usually the client IP address.
|
||||||
.El
|
.El
|
||||||
.
|
.
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
.Dl chatte -h ascii.town -j '&chatte'
|
.Dl catgirl -h ascii.town -j '&catgirl'
|
||||||
.
|
.
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
.Rs
|
.Rs
|
|
@ -1,10 +1,10 @@
|
||||||
.Dd September 15, 2018
|
.Dd November 27, 2018
|
||||||
.Dt CHATTE 7
|
.Dt CATGIRL 7
|
||||||
.Os "Causal Agency"
|
.Os "Causal Agency"
|
||||||
.
|
.
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm chatte
|
.Nm catgirl
|
||||||
.Nd IRC for catgirls
|
.Nd IRC client
|
||||||
.
|
.
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -60,4 +60,4 @@ implementation for chroot
|
||||||
.El
|
.El
|
||||||
.
|
.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr chatte 1
|
.Xr catgirl 1
|
2
chat.h
2
chat.h
|
@ -14,7 +14,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* 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 <stdarg.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
2
input.c
2
input.c
|
@ -144,7 +144,7 @@ static void inputClose(struct Tag tag, char *params) {
|
||||||
static void inputMan(struct Tag tag, char *params) {
|
static void inputMan(struct Tag tag, char *params) {
|
||||||
(void)tag;
|
(void)tag;
|
||||||
(void)params;
|
(void)params;
|
||||||
eventWait((const char *[]) { "man", "1", "chatte", NULL });
|
eventWait((const char *[]) { "man", "1", "catgirl", NULL });
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
|
|
2
man.sh
2
man.sh
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec mandoc /usr/share/man/man1/chatte.1 | LESSSECURE=1 less
|
exec mandoc /usr/share/man/man1/catgirl.1 | LESSSECURE=1 less
|
||||||
|
|
|
@ -4,7 +4,7 @@ Match User chat
|
||||||
PasswordAuthentication yes
|
PasswordAuthentication yes
|
||||||
PermitEmptyPasswords yes
|
PermitEmptyPasswords yes
|
||||||
ChrootDirectory /home/chat
|
ChrootDirectory /home/chat
|
||||||
ForceCommand chatte
|
ForceCommand catgirl
|
||||||
|
|
||||||
AllowAgentForwarding no
|
AllowAgentForwarding no
|
||||||
AllowTcpForwarding no
|
AllowTcpForwarding no
|
||||||
|
|
Loading…
Reference in New Issue