Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.1.9 #79

Merged
merged 31 commits into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1eee2a0
cleanup
mcpcpc Oct 23, 2020
8be6f1c
cleanup
mcpcpc Oct 23, 2020
9d77bc0
add commands to readme
mcpcpc Oct 23, 2020
a52898b
add CTRL+H
mcpcpc Oct 23, 2020
87bd0bb
handUserInput: change else-if to switch
mcpcpc Oct 23, 2020
747ce37
add ? back into to optarg
mcpcpc Oct 23, 2020
ef59df0
add comments
mcpcpc Oct 23, 2020
f034a90
add CTCP ACTION
mcpcpc Oct 24, 2020
c3cf3d6
CTCP: add VERSION, CLIENTINFO, and PING support
mcpcpc Oct 25, 2020
3e7cf1e
CTCP: add TIME
mcpcpc Oct 26, 2020
2848944
version: bump to 0.1.9
mcpcpc Oct 26, 2020
3031afd
remove -w argument
mcpcpc Oct 26, 2020
e79addb
change: static to dynamic nick width
mcpcpc Oct 26, 2020
21d06ce
man page: remove -w argument
mcpcpc Oct 26, 2020
f0aba1c
change: : NIC_MIN to NIC_MAX
mcpcpc Oct 26, 2020
de58a50
version: add copyright info
mcpcpc Oct 26, 2020
0de4707
main: remove return(0) after -v
mcpcpc Oct 26, 2020
a8f58dc
handleUserInput: remove last printf
mcpcpc Oct 26, 2020
aa155d5
remove media from master branch
mcpcpc Oct 26, 2020
9313931
README: add CTCP to features
mcpcpc Oct 26, 2020
01800cf
README: add TLS definition
mcpcpc Oct 26, 2020
fc24702
fix: CTCP TIME command
mcpcpc Oct 27, 2020
640e423
rawParser: fix for channel name not printing
mcpcpc Oct 27, 2020
607a335
rawParser: refactor
mcpcpc Oct 27, 2020
223d2e5
handleUserInput: add CTCP ACTION alias
mcpcpc Oct 27, 2020
e6b628f
handleUserInput: fix spacing
mcpcpc Oct 27, 2020
8aa794d
messageWrap: change strlen to strnlen
mcpcpc Oct 27, 2020
0f12e11
raw: replace strlen with strnlen
mcpcpc Oct 27, 2020
1caebc6
paramPrintPriv: new ACTION message color
mcpcpc Oct 28, 2020
9525bb8
fix ACTION message indicator
mcpcpc Oct 28, 2020
98a739b
README: add CPCT ACTION command
mcpcpc Oct 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .github/kirc.png
Binary file not shown.
Binary file removed .github/tty.gif
Binary file not shown.
25 changes: 15 additions & 10 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-->

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

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

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

## Features

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

```shell
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]
kirc [-s hostname] [-p port] [-c channels] [-n nickname] [-r realname] [-u username] [-k password] [-a token] [-x command] [-o logfile] [-e|v|V]
```

### Command Aliases

```shell
<message> Send a PRIVMSG to the current channel.
@<channel|nick> <message> Send a message to a specified channel or nick
/<command> Send command to IRC server (see RFC 2812 for full list).
/#<channel> Assign new default message channel.
<message> Send a PRIVMSG to the current channel.
@<channel|nick> <message> Send a message to a specified channel or nick
@@<channel|nick> <message> Send a CTCP ACTION message to a specified channel or nick
/<command> Send command to IRC server (see RFC 2812 for full list).
/#<channel> Assign new default message channel.
```

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

## Support Documentation

Expand Down
3 changes: 0 additions & 3 deletions kirc.1
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ Specifies the USER connection username
.BI \-k " pass"
Specifies the PASS connection password
.TP
.BI \-w " nick_width"
Specifies max character width printed in the left column
.TP
.BI \-x " command"
Specifies additional commands to send to the host after initial connection.
.TP
Expand Down
Loading