sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 29c41e17d648c075428727f5c272fe14b523f2b3
parent e796acc6596fa257740d3f7c61853c2146183a47
Author: Alexis Ben Miloud--Josselin <alexis.bmj+suckless@protonmail.com>
Date:   Tue, 26 Mar 2019 22:47:29 +0100

sic: add usage page

Diffstat:
Atools.suckless.org/sic/usage/index.md | 25+++++++++++++++++++++++++
1 file changed, 25 insertions(+), 0 deletions(-)

diff --git a/tools.suckless.org/sic/usage/index.md b/tools.suckless.org/sic/usage/index.md @@ -0,0 +1,25 @@ +Usage +===== +Since sic uses stdin and stdout as its user interfaces, it is easy to +combine it with other tools if you need more features. That way sic +becomes an even better IRC client. + +History +------- +If you want to store what is being said, you can use the tee(1) command +with sic: + + # sic | tee -a sic_history + +Highlighting +------------ +If you want to receive an alert in case someone mention your username, +you can use awk(1): + + # sic | awk '/username/ ~ {printf "\a"}1' + +Using a tool like awk(1) would even allows you to be highlighted on +specific channels for example. You can of course combine it with the +tee(1) command above: + + # sic | tee -a sic_history | awk '/username/ ~ {printf "\a"}1'