head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.54 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.52 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.50 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.48 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.8.0.46 pkgsrc-2009Q4-base:1.8 pkgsrc-2008Q4:1.8.0.44 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.42 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.40 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.38 pkgsrc-2008Q2-base:1.8 pkgsrc-2008Q1:1.8.0.36 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.34 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.32 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.30 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.28 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.26 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.24 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.22 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.20 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.18 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.16 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.14 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.12 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.10 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.8.0.8 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.8.0.6 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.8.0.4 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.8.0.2 pkgsrc-2003Q4-base:1.8 buildlink2-base:1.8 netbsd-1-5-RELEASE:1.7 netbsd-1-4-PATCH003:1.7 netbsd-1-4-PATCH002:1.3; locks; strict; comment @# @; 1.8 date 2000.12.15.00.41.09; author wiz; state dead; branches; next 1.7; 1.7 date 2000.09.18.14.45.22; author tron; state Exp; branches; next 1.6; 1.6 date 2000.05.11.04.32.44; author mrg; state dead; branches; next 1.5; 1.5 date 2000.03.18.09.45.02; author itojun; state Exp; branches; next 1.4; 1.4 date 2000.03.16.15.03.13; author mrg; state dead; branches; next 1.3; 1.3 date 2000.01.31.23.00.48; author mrg; state Exp; branches; next 1.2; 1.2 date 99.08.23.12.27.13; author mrg; state dead; branches; next 1.1; 1.1 date 99.07.21.00.26.58; author mrg; state Exp; branches; next ; desc @@ 1.8 log @Move packages from 'net' into new 'chat' category. Add chat to main Makefile. @ text @$NetBSD: patch-ad,v 1.7 2000/09/18 14:45:22 tron Exp $ --- source/irc.c.orig Thu Aug 31 13:52:49 2000 +++ source/irc.c Mon Sep 18 00:12:27 2000 @@@@ -154,6 +154,7 @@@@ * message anywhere */ int qflag; /* set if we ignore .ircrc */ int bflag; /* set if we load .ircrc before connecting */ +int tflag; /* don't use termcap ti/te sequences */ time_t idle_time; /* last time the user hit a key */ time_t start_time; /* epoch time we started */ @@@@ -207,6 +208,8 @@@@ -b\t\tload .ircrc before connecting to a server\n\ -l \tloads in place of your .ircrc\n\ -I \tloads in place of your .ircquick\n\ + -t\t\tdo not use termcap ti and te sequences at startup\n\ + -T\t\tuse termcap ti and te sequences at startup (default)\n\ -icb\t\tuse ICB connections by default\n\ -irc\t\tuse IRC connections by default\n\ icb [same switches] (default to -icb)\n"; @@@@ -538,6 +541,12 @@@@ break; case 'S': using_server_process = 1; + break; + case 't': + tflag = 1; + break; + case 'T': + tflag = 0; break; case 'q': if (bflag) @ 1.7 log @Add patches created by Matthew Green for a new command line option "-t": Don't use the termcap ti and te sequences when starting and exiting. With this option enabled scrolling back in a xterm window works again. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @update to ircII 4.4U. mainly a bug-fix release. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.5 2000/03/18 09:45:02 itojun Exp $ d3 9 a11 5 --- configure.in- Sat Mar 18 18:19:09 2000 +++ configure.in Sat Mar 18 18:19:25 2000 @@@@ -1128,7 +1128,9 @@@@ } } d13 22 a34 7 - if (inet6 != 2 || inet4 != 2) + if (inet4 != 0 && inet4 != 2) + goto bad; + if (inet6 != 0 && inet6 != 2) goto bad; if (aitop) @ 1.5 log @upgrade to 4.4S. try to address PR 9630 (compilation fails on IPv4-only? kernel). 4.4R -> 4.4S changes: - properly fix the terrible bug in send_text(). @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @update to ircII 4.4Q. new features include: o new /cat command. o new $chatpeers() function. o new /set make_notice_msg variable. o /encrypt -showkeys option added. o lastlog level HELP added. o more bugs fixed. o additional /bind-able metakeys: meta5_character, meta6_character, meta7_character, meta8_character o forward and backward scroll *really* works! o scrolling directly to the start also works! o most /ignore requests are now honoured by the ICB mode. o new /set no_ask_password variable added. o new /set xterm_path variable added. o new /set irchost variable added. o IPv6 [se:ve:er]:port support added. o translation table support in dumb mode. o new $wincols() and $winrows() functions which return the number of columns and rows in this window. o /set auto_unmark_away fixed after many years o bunches of bugs fixed o if /dcc get fails due to local permissions, the offer is not removed any longer, allowing the problem to be fixed. o +c (colourless) and +R (registered users only) channel modes o IRC 2.10 !channels supported o vasprintf(3) support o aliases of dynamic sizes! o channels *really* should stay attached to windows properly and hang around after reconnects, etc. o /join bug is gone o new /on window_swap that is triggered when you swap windows. o /window bind has original behaviour; stick to windows not channels. o ICB support extended. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2000/01/31 23:00:48 mrg Exp $ d3 5 a7 42 Index: source/icb.c =================================================================== RCS file: /home/cvs/ircii/source/icb.c,v retrieving revision 2.24 retrieving revision 2.26 diff -p -u -r2.24 -r2.26 --- source/icb.c 2000/01/06 01:00:55 2.24 +++ source/icb.c 2000/01/31 22:29:07 2.26 @@@@ -216,7 +216,7 @@@@ icb_got_status(line) group = ap[1] + 21; KILL_SPACE(group); clear_channel_list(parsing_server_index); - add_channel(group, parsing_server_index, 1, 0); + add_channel(group, parsing_server_index, CHAN_JOINED, 0); set_server_icbgroup(parsing_server_index, group); icb_set_fromuserhost(empty_string); message_from(group, LOG_CRAP); @@@@ -268,14 +268,32 @@@@ icb_got_status(line) do_say = 0; RESTORE_SPACE; } + else + if (my_stricmp(ap[0], "change") == 0) + { + /* look for "Group is now named XXX" */ + + if (my_strnicmp(ap[1], "Group is now named ", 19) == 0) + { + int len; + + group = ap[1] + 19; + len = strlen(group); + if (group[len - 1] == '.') + group[len - 1] = 0; /* kill the period */ + + clear_channel_list(parsing_server_index); + add_channel(group, parsing_server_index, CHAN_JOINED, 0); + set_server_icbgroup(parsing_server_index, group); + icb_set_fromuserhost(empty_string); + } + /* leave do_say set for both cases */ + } d9 5 a13 14 - /* run this hook even if do_say is no? for now, no. */ - /* HOOK: new? status? icb_status? */ - /* the hook is needed. or support here for it. there are a lot more status messages - * we need to deal with that come via here... */ #if 0 -*** info Change: Group is now named somaz +/* messages not yet understood */ #endif + if (do_say && do_hook(ICB_STATUS_LIST, "%s %s", ap[0], ap[1])) say("info %s: %s", ap[0], ap[1]); out: @@@@ -623,13 +641,16 @@@@ icb_put_msg2(to, line) size_t len, remain; d15 1 a15 21 /* HOOK: send_msg */ - save_message_from(); - level = set_lastlog_msg_level(LOG_MSG); - message_from(to, LOG_MSG); - if (do_hook(SEND_MSG_LIST, "%s %s", to, line)) - put_it("-> *%s* %s", to, line); - set_lastlog_msg_level(level); - restore_message_from(); + if (window_display) + { + save_message_from(); + level = set_lastlog_msg_level(LOG_MSG); + message_from(to, LOG_MSG); + if (do_hook(SEND_MSG_LIST, "%s %s", to, line)) + put_it("-> *%s* %s", to, line); + set_lastlog_msg_level(level); + restore_message_from(); + } /* deal with ICB 255 length limits */ /* command + 'm' + sep + to + space + (line +) nul */ @ 1.3 log @update ircII package to 4.4M, plus a couple of additional fixes since then. changes in 4.4M are: - .ircquick support (loaded when client starts) - new functions: hasvoice(), dcclist() and chatpeers() - new variable: MAKE_NOTICE_MSG - fixed long line sending in ICB mode: long lines are split and send to the server separately - new scripts based on my start up: default (suggested for a .ircrc), times (to add time to most chat) and otherstatus (to allow non-inverse status lines to be constructed) - fix by in xecho - make SHOW_CHANNEL_NAMES work in ICB mode. - incorporate IPv6 support additional fixes include: - ipv6 support in configure.in was a bit broken - /whois works in ICB mode - group name changes are now handled in ICB mode @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update to version 4.4L. this fixes: - channel_name_width==0 - missing ssize_t - freebsd curses fixes - nickname at starttime fixes for linux - /window kill_others fixes - NeXT support and adds these features: - socks5 support - configure --datadir, --srcdir (objdir) support. - find zcat/gzip/etc and use these as we can @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 1999/07/21 00:26:58 mrg Exp $ d3 1 a3 1 Index: source/edit.c d5 27 a31 26 RCS file: /local/cvs/ircii/source/edit.c,v retrieving revision 1.113 diff -p -u -r1.113 edit.c --- source/edit.c 1999/03/08 02:46:31 1.113 +++ source/edit.c 1999/07/19 08:17:44 @@@@ -141,6 +141,7 @@@@ static void funny_stuff _((char *, char static void cd _((char *, char *, char *)); static void e_wall _((char *, char *, char *)); static void send_squery _((char *, char *, char *)); +static void send_brick _((char *, char *, char *)); static void send_2comm _((char *, char *, char *)); static void send_comm _((char *, char *, char *)); static void send_invite _((char *, char *, char *)); @@@@ -231,6 +232,7 @@@@ static IrcCommand FAR irc_command[] = { "AWAY", "AWAY", away, SERVERREQ }, { "BEEP", 0, beepcmd, 0 }, { "BIND", NULL, bindcmd, 0 }, + { "BRICK", "BRICK", send_brick, SERVERREQ }, { "BYE", "QUIT", e_quit, NONOVICEABBREV }, { "CD", NULL, cd, 0 }, { "CHANNEL", "JOIN", e_channel, SERVERREQ }, @@@@ -1853,6 +1855,24 @@@@ send_squery(command, args, subargs) { put_it("*** Sent to service %s: %s", command, args); send_2comm(command, args, subargs); +} d33 4 a36 6 +static void +send_brick(command, args, subargs) + char *command, + *args, + *subargs; +{ d38 32 a69 1 + if (args && *args) d71 7 a77 4 + char *channel; + + channel = next_arg(args, &args); + send_to_server("%s %s :%s", command, channel, args); a78 3 + else + send_to_server("%s", command); } d80 2 a81 1 /* @ 1.1 log @add /brick @ text @d1 1 a1 1 $NetBSD$ @