diff options
author | Michael Czigler <37268479+mcpcpc@users.noreply.github.com> | 2020-10-07 11:05:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 11:05:34 -0400 |
commit | cb459a3c1a73c3481b1ce6a5674f603c08a3901f (patch) | |
tree | d4efdf2a9a2b81cdd601ff47c95674875f4a2d20 /README.md | |
parent | minor style and formatting fixes (#52) (diff) | |
download | kirc-cb459a3c1a73c3481b1ce6a5674f603c08a3901f.tar.gz kirc-cb459a3c1a73c3481b1ce6a5674f603c08a3901f.tar.bz2 kirc-cb459a3c1a73c3481b1ce6a5674f603c08a3901f.tar.xz kirc-cb459a3c1a73c3481b1ce6a5674f603c08a3901f.tar.zst kirc-cb459a3c1a73c3481b1ce6a5674f603c08a3901f.zip |
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 <mcpcpc@users.noreply.github.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 35 |
1 files changed, 21 insertions, 14 deletions
@@ -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 -<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. -/? 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 +<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. +/? 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) `<bw>` flag as default. Alternatively, you can try to set terminfo `<bw>` 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` |