Skip to content

Commit bcab03c

Browse files
authored
0.1.9 (#79)
* cleanup * cleanup * add commands to readme * add CTRL+H * handUserInput: change else-if to switch * add ? back into to optarg * add comments * add CTCP ACTION * CTCP: add VERSION, CLIENTINFO, and PING support * CTCP: add TIME * version: bump to 0.1.9 * remove -w argument * change: static to dynamic nick width * man page: remove -w argument * change: : NIC_MIN to NIC_MAX * version: add copyright info * main: remove return(0) after -v * handleUserInput: remove last printf * remove media from master branch * README: add CTCP to features * README: add TLS definition * fix: CTCP TIME command * rawParser: fix for channel name not printing * rawParser: refactor * handleUserInput: add CTCP ACTION alias * handleUserInput: fix spacing * messageWrap: change strlen to strnlen * raw: replace strlen with strnlen * paramPrintPriv: new ACTION message color * fix ACTION message indicator * README: add CPCT ACTION command Co-authored-by: Michael Czigler <[email protected]>
1 parent 25986a3 commit bcab03c

File tree

5 files changed

+208
-132
lines changed

5 files changed

+208
-132
lines changed

.github/kirc.png

-439 KB
Binary file not shown.

.github/tty.gif

-624 KB
Binary file not shown.

README

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
-->
77

88
<h3 align="center">
9-
<img src="https://raw.githubusercontent.com/mcpcpc/kirc/master/.github/kirc.png" alt="kirc" height="170px">
9+
<img src="https://raw.githubusercontent.com/mcpcpc/kirc/gh-pages/kirc.png" alt="kirc" height="170px">
1010
</h3>
1111

1212
<p align="center">KISS for IRC, a tiny IRC client written in POSIX C99.</p>
@@ -19,16 +19,17 @@
1919
</p>
2020

2121
<p align="center">
22-
<img src=".github/tty.gif" width="550">
22+
<img src="https://raw.githubusercontent.com/mcpcpc/kirc/gh-pages/tty.gif" width="550">
2323
</p>
2424

2525
## Features
2626

2727
* Excellent cross-platform compatibility.
2828
* Asynchronous user input and server messager handling.
2929
* No dependencies other than a C99 compiler.
30-
* Native SASL PLAIN and EXTERNAL authentication support.
31-
* TLS/SSL protocol capable (via external TLS utilities).
30+
* Simple Authentication and Security Layer (SASL) procotol support.
31+
* Client-to-client protocol (CTCP) support.
32+
* Transport Layer Security (TLS) protocol support (via external utilities).
3233
* Full chat history logging.
3334
* Multi-channel joining at server connection.
3435
* Simple command aliases and full support for all RFC 2812 commands.
@@ -65,16 +66,17 @@ make install
6566
Consult `man kirc` for a full list and explanation of available `kirc` arguments.
6667

6768
```shell
68-
kirc [-s hostname] [-p port] [-c channels] [-n nickname] [-r realname] [-u username] [-k password] [-a token] [-x command] [-w nick_width] [-o logfile] [-e|v|V]
69+
kirc [-s hostname] [-p port] [-c channels] [-n nickname] [-r realname] [-u username] [-k password] [-a token] [-x command] [-o logfile] [-e|v|V]
6970
```
7071

7172
### Command Aliases
7273

7374
```shell
74-
<message> Send a PRIVMSG to the current channel.
75-
@<channel|nick> <message> Send a message to a specified channel or nick
76-
/<command> Send command to IRC server (see RFC 2812 for full list).
77-
/#<channel> Assign new default message channel.
75+
<message> Send a PRIVMSG to the current channel.
76+
@<channel|nick> <message> Send a message to a specified channel or nick
77+
@@<channel|nick> <message> Send a CTCP ACTION message to a specified channel or nick
78+
/<command> Send command to IRC server (see RFC 2812 for full list).
79+
/#<channel> Assign new default message channel.
7880
```
7981

8082
### User Input Key Bindings
@@ -86,7 +88,10 @@ kirc [-s hostname] [-p port] [-c channels] [-n nickname] [-r realname] [-u usern
8688
* **CTRL+W** deletes the previous word.
8789
* **CTRL+U** deletes the entire line.
8890
* **CTRL+K** deletes the from current character to end of line.
89-
* **CTRL+C** Force quit kirc
91+
* **CTRL+C** Force quit kirc.
92+
* **CTRL+D** deletes the character to the right of cursor.
93+
* **CTRL+T** swap character at cursor with previous character.
94+
* **CTRL+H** equivalent to backspace.
9095

9196
## Support Documentation
9297

kirc.1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ Specifies the USER connection username
4141
.BI \-k " pass"
4242
Specifies the PASS connection password
4343
.TP
44-
.BI \-w " nick_width"
45-
Specifies max character width printed in the left column
46-
.TP
4744
.BI \-x " command"
4845
Specifies additional commands to send to the host after initial connection.
4946
.TP

0 commit comments

Comments
 (0)