hirc

IRC client
Log | Files | Refs

commit f0d2c9210da310ad510f7a2ee723de87216e7b65
parent 86c120c1673cf68e48917744145f2a69c31b5eda
Author: hhvn <dev@hhvn.uk>
Date:   Mon,  6 Dec 2021 16:56:14 +0000

hirc.1.header hirc.1.footer main.c: add examples

Diffstat:
Mhirc.1.footer | 10++++++++++
Mhirc.1.header | 2++
Mmain.c | 1-
3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/hirc.1.footer b/hirc.1.footer @@ -1,4 +1,14 @@ .\" vim: set syntax=nroff : +.Sh EXAMPLES +.Ss Commands +.Dl /set def.nick hhvn +Set your default nickname to 'hhvn'. + +.Dl /connect -network hlircnet irc.hlirc.net +Connect to 'irc.hlirc.net' with the network name 'hlircnet'. + +.Dl /bind ^[1 /select 1 +Bind alt-1 so that it selects buffer 1. .Sh SEE ALSO .Xr irssi 1 .Sh AUTHOR diff --git a/hirc.1.header b/hirc.1.header @@ -108,3 +108,5 @@ If a variable does exist, but is empty, nothing is printed. The divider is inspired by weechat's feature where it creates a bar seperating two elements of a line. If divider.toggle is set to 1, the divider will appear in all messages in channels. The left hand side of the divider will be padded out to the length specified in divider.margin, and divider.string is inserted between the left and right hand side elements. +.Ss Variables +The following variables can be set using the /set command: diff --git a/main.c b/main.c @@ -220,7 +220,6 @@ main(int argc, char *argv[]) { } if (argc == 2 && strcmp(argv[1], "-d") == 0) { - printf(".Ss Variables\n"); printf(".Bl -tag\n"); for (i=0; config[i].name; i++) { printf(".It %s\n", config[i].name);