Skip to content

Commit 3bb2b8d

Browse files
mcpcpcMichael Czigler
andauthored
released at 0.3.2 (#130)
Co-authored-by: Michael Czigler <[email protected]>
1 parent 851eed5 commit 3bb2b8d

File tree

9 files changed

+1146
-1016
lines changed

9 files changed

+1146
-1016
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
1-
# These are supported funding model platforms
2-
31
github: mcpcpc
4-
patreon: # Replace with a single Patreon username
5-
open_collective: # Replace with a single Open Collective username
6-
ko_fi: # Replace with a single Ko-fi username
7-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
liberapay: # Replace with a single Liberapay username
10-
issuehunt: # Replace with a single IssueHunt username
11-
otechie: # Replace with a single Otechie username
122
custom: https://www.paypal.me/mcpcpc/usd5

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
kirc
22
*.a
3-
*.o
4-
*.txt
5-
tags
6-
*.out
7-
*.log
8-
*.diff
9-
.*.swp
3+
*.o

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021-2022 Michael Czigler
3+
Copyright (c) 2021-2023 Michael Czigler
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
.POSIX:
22
ALL_WARNING = -Wall -Wextra -pedantic
33
ALL_LDFLAGS = $(LDFLAGS)
4-
ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS) -std=c99 $(ALL_WARNING)
54
PREFIX = /usr/local
65
LDLIBS = -lm
76
BINDIR = $(PREFIX)/bin
87
MANDIR = $(PREFIX)/share/man
98

10-
all: kirc
9+
all: clean kirc
1110
install: all
1211
mkdir -p $(DESTDIR)$(BINDIR)
1312
mkdir -p $(DESTDIR)$(MANDIR)/man1
@@ -17,8 +16,7 @@ install: all
1716
chmod 644 $(DESTDIR)$(MANDIR)/man1/kirc.1
1817
kirc: kirc.o
1918
$(CC) $(ALL_LDFLAGS) -o kirc kirc.o $(LDLIBS)
20-
kirc.o: kirc.c
21-
$(CC) $(ALL_CFLAGS) -c kirc.c
19+
kirc.o: kirc.c kirc.h
2220
clean:
2321
rm -f kirc *.o
2422
uninstall:

README

Lines changed: 0 additions & 64 deletions
This file was deleted.

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# kirc
2+
3+
kirc (KISS for IRC) is a tiny IRC client written in POSIX C99.
4+
5+
## Installation
6+
7+
Building and installing from source:
8+
9+
git clone https://github.com/mcpcpc/kirc
10+
cd kirc
11+
make
12+
make install
13+
14+
## Usage
15+
16+
Consult `man kirc` for a full list and explanation of available arguments.
17+
18+
kirc [-s hostname] [-p port] [-c channels] [-n nickname] [-r realname]
19+
[-u username] [-k password] [-a token] [-o logfile] [-e|x|v|V]
20+
21+
## Command Aliases
22+
23+
<message> send PRIVMSG to the current channel.
24+
@<channel|nick> <message> send PRIVMSG to a specified channel or nick.
25+
@@<channel|nick> <message> send CTCP ACTION message to a specified channel
26+
or nick (if no channel or nick is specified, the
27+
message will be sent to the default channel).
28+
/<command> send command to the IRC server (see RFC 2812).
29+
/#<channel> assign new default message channel.
30+
31+
## Key Bindings
32+
33+
CTRL+B or LEFT ARROW move the cursor one character to the left.
34+
CTRL+F or RIGHT ARROW move the cursor one character to the right.
35+
CTRL+P or UP ARROW move to previous record in the input history buffer.
36+
CTRL+N or DOWN ARROW move to next record in the input history buffer.
37+
CTRL+E move the cursor to the end of the line.
38+
CTRL+A or HOME move the cursor to the start of the line.
39+
CTRL+W delete the previous word.
40+
CTRL+U delete the entire line.
41+
CTRL+K delete the from current character to end of line.
42+
CTRL+D delete the character to the right of cursor.
43+
CTRL+C force quit kirc.
44+
CTRL+T swap character at cursor with previous character.
45+
CTRL+H equivalent to backspace.
46+
47+
## Support Documentation
48+
49+
Please refer to the [official homepage](http://kirc.io/docs.html) for examples,
50+
troubleshooting and use cases.
51+
52+
## Contact
53+
54+
For any further questions or concerns, feel free to send me an
55+
[email](michaelczigler[at]mcpcpc[dot]com).

kirc.1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
.TH KIRC 1 kirc\-VERSION
1+
.\"Manpage for kirc.
2+
.TH KIRC 1 "NOVEMBER 2020" Linux "User Manuals"
23
.SH NAME
34
kirc \- KISS for IRC
45
.SH SYNOPSIS

0 commit comments

Comments
 (0)