diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-14 00:07:42 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:24 +0700 |
commit | 901d10e94874d539c6f5b21523789a5e2343b0a9 (patch) | |
tree | a0cbb4e9775ece61b013b3c50e51146d85543ec3 /network/ircII/NOTES_TO_SELF | |
parent | ee5489e7ef85645b40c47b57d803c4ffe4f6c62f (diff) |
network/ircII: Updated for version 20210616_2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ircII/NOTES_TO_SELF')
-rw-r--r-- | network/ircII/NOTES_TO_SELF | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/network/ircII/NOTES_TO_SELF b/network/ircII/NOTES_TO_SELF new file mode 100644 index 0000000000..13128c3b0e --- /dev/null +++ b/network/ircII/NOTES_TO_SELF @@ -0,0 +1,44 @@ +Notes to self: + +wserv and ircio are executed correctly (in the new libexec/ircII dir), +tested them with the following results: + +wserv seems to work fine, in the brief bit of testing I did +with it (/window create and related commands). + +ircio (the -S option) doesn't work with libera.chat: with SSL +it fails to connect at all, and without SSL it connects but the +server closes the connection before (or during?) sending the +MOTD. I thought it might be due to the 4K buffer size in ircio, +but the MOTD on libera is a lot shorter than that. + +I haven't tried other IRC nets with -S, because I don't actually think +anyone cares about it (other ircII forked clients like BitchX and Epic +never even included it). + +-- + +The help and support scripts are installed in /usr/share/irc. I +thought about changing this to /usr/share/ircII, but don't really see +the point. + +-- + +Compiling with -Wall, we get: + +/tmp/SBo/ircii/source/hook.c:292:40: warning: ā%3.3uā directive +output may be truncated writing between 3 and 10 bytes into a region +of size 4 [-Wformat-truncation=] + +On further investigation, it's a bogus warning: yes, 3.3%u could +produce up to 10 digits... but before line 292, there's code that +rejects any number above 999. This means sprintf will write 3 bytes of +digits followed by the terminating \0. + +-- + +We compile with ncurses, not termcap... but the code in term.c uses +termcap functions. These are actually provided by ncurses doing +termcap emulation. See curs_termcap(3x). In practice this works fine, +and lets us use terminals like rxvt-unicode, for which terminfo +entries exist but are too new to be included in crusty old termcap. |