From cb459a3c1a73c3481b1ce6a5674f603c08a3901f Mon Sep 17 00:00:00 2001 From: Michael Czigler <37268479+mcpcpc@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:05:34 -0400 Subject: 0.1.4 (#54) * cleanup style * remove keyboard_hit() function * integrate kline input hander * add new input indicators * only use edit function * improve function names * fix input printing * fix new line behavior after user input * fix /? command * remove Known Bugs, add commands * add arrow key information * remove left and right brackets around commands * add missing language fence * fix typo * remove duplicate ioctl instance * Update README.md * Update README.md * fix direct message color * Delete example2.png * Delete example.png * remove extra line * fix line printing * more cleanup and better colors * refactor Co-authored-by: Michael Czigler --- README.md | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 96ef0ba..851d55b 100644 --- a/README.md +++ b/README.md @@ -29,16 +29,7 @@ * [TLS/SSL](https://en.m.wikipedia.org/wiki/Transport_Layer_Security) protocol capable (via external TLS utilities). * Full chat history logging. * Multi-channel joining at server connection. -* Simple shortcut commands and full support for all IRC commands in the [RFC 2812](https://tools.ietf.org/html/rfc2812) standard: - -```shell - Send a PRIVMSG to the current channel. -@ Send a message to a specified channel or nick -/ Send command to IRC server (see RFC 2812 for full list). -/# Assign new default message channel. -/? Print current message channel. -``` - +* Simple command aliases and full support for all [RFC 2812](https://tools.ietf.org/html/rfc2812) commands. * Color scheme definition via [ANSI 8-bit colors](https://en.wikipedia.org/wiki/ANSI_escape_code), allowing for uniform color definition across all shell applications. ## Installation & Usage @@ -75,6 +66,26 @@ Consult `man kirc` for a full list and explanation of available `kirc` arguments 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] ``` +### Command Aliases + +```shell + Send a PRIVMSG to the current channel. +@ Send a message to a specified channel or nick +/ Send command to IRC server (see RFC 2812 for full list). +/# Assign new default message channel. +/? Print current message channel. +``` + +### User Input Key Bindings + +* **CTRL+B** or **LEFT ARROW** moves the cursor one character to the left. +* **CTRL+F** or **RIGHT ARROW** moves the cursor one character to the right. +* **CTRL+A** moves the cursor to the end of the line. +* **CTRL+E** or **HOME** moves the cursor to the start of the line. +* **CTRL+W** deletes the previous word. +* **CTRL+U** deletes the entire line. +* **CTRL+K** deletes the from current character to end of line. + ## Transport Layer Security (TLS) Support There is no native TLS/SSL support. Instead, users can achieve this functionality by using third-party utilities (e.g. stunnel, [socat](https://linux.die.net/man/1/socat), ghosttunnel, etc). @@ -154,10 +165,6 @@ Applying a new color scheme is easy! One of the quickest ways is to use an appli * **KISS** is an acronym for [Keep It Simple Stupid](https://en.wikipedia.org/wiki/KISS_principle), which is a design principle noted by the U.S. Navy in 1960s. The KISS principle states that most systems work best if they are kept simple rather than made complicated; therefore, simplicity should be a key goal in design, and unnecessary complexity should be avoided. * **POSIX** is an acronym for [Portable Operating System Interface](https://opensource.com/article/19/7/what-posix-richard-stallman-explains), which is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems. The *C99* Standard is preferred over other versions (e.g. *C89* or *C11*) since this currently the only one specified by [POSIX](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html). -## Known Bugs - -Some users may experience abnormal *BACKSPACE* key press behavior, particularly when trying to return to a previous line being editted. This has been confirmed to be an [upstream issue](https://github.com/mcpcpc/kirc/issues/39) and has been reported accordingly to the known impacted terminal emulators. While we wait for the upstream fixes, I would recommend using [urxvt](https://wiki.archlinux.org/index.php/Rxvt-unicode) or a terminal multiplexer (such as [screen](https://www.gnu.org/software/screen/) or [tmux](https://github.com/tmux/tmux/wiki)), which seemed to have resolved this by setting the [terminfo](https://osr507doc.sco.com/en/man/html.M/terminfo.M.html) `` flag as default. Alternatively, you can try to set terminfo `` flag manually by passing the command escape sequence `echo -e "\x1b[?45h"` or using the *tputs* function before starting *kirc*. - ## Contact For any further questions or concerns, feel free to reach out to me, [mcpcpc](https://github.com/mcpcpc), on `#kirc` -- cgit v1.2.3