diff options
author | tron <tron@pkgsrc.org> | 2000-09-18 14:45:22 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-09-18 14:45:22 +0000 |
commit | dfca6ded36abc115e673683252d7cedd2e3fe58f (patch) | |
tree | b462ecb1820ee2d0cfec28494060a9d2dd3f55d7 /net | |
parent | ea7b33d406875fb042080887b288891441e7d9b9 (diff) | |
download | pkgsrc-dfca6ded36abc115e673683252d7cedd2e3fe58f.tar.gz |
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.
Diffstat (limited to 'net')
-rw-r--r-- | net/ircII/files/patch-sum | 6 | ||||
-rw-r--r-- | net/ircII/patches/patch-ab | 12 | ||||
-rw-r--r-- | net/ircII/patches/patch-ad | 34 | ||||
-rw-r--r-- | net/ircII/patches/patch-ae | 35 | ||||
-rw-r--r-- | net/ircII/patches/patch-af | 34 |
5 files changed, 120 insertions, 1 deletions
diff --git a/net/ircII/files/patch-sum b/net/ircII/files/patch-sum index 799d04a95ec..83f059109db 100644 --- a/net/ircII/files/patch-sum +++ b/net/ircII/files/patch-sum @@ -1,4 +1,8 @@ -$NetBSD: patch-sum,v 1.17 2000/08/03 05:46:47 tron Exp $ +$NetBSD: patch-sum,v 1.18 2000/09/18 14:45:22 tron Exp $ MD5 (patch-aa) = d1cb763698a4ebdcadb252aaf0d02d7a +MD5 (patch-ab) = 01fe6560aa4dadb10d37074b42189a56 MD5 (patch-ac) = 89781cbbd9c98e02392b56b82fd50804 +MD5 (patch-ad) = 5db55f87dc75b2408cc9b566c50a9084 +MD5 (patch-ae) = 6082ecc404c0ff9c9cfc82125a59cb30 +MD5 (patch-af) = 06d56558277f5cd4a8cc37ae931a16db diff --git a/net/ircII/patches/patch-ab b/net/ircII/patches/patch-ab new file mode 100644 index 00000000000..5233e42b9b4 --- /dev/null +++ b/net/ircII/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.10 2000/09/18 14:45:22 tron Exp $ + +--- include/irc.h.orig Tue Jul 18 19:12:16 2000 ++++ include/irc.h Mon Sep 18 00:12:27 2000 +@@ -334,6 +334,7 @@ + extern int current_numeric; + extern int qflag; + extern int bflag; ++extern int tflag; + extern struct in_addr local_ip_address; + extern int client_default_icb; + diff --git a/net/ircII/patches/patch-ad b/net/ircII/patches/patch-ad new file mode 100644 index 00000000000..40d9b949d5f --- /dev/null +++ b/net/ircII/patches/patch-ad @@ -0,0 +1,34 @@ +$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 <file>\tloads <file> in place of your .ircrc\n\ + -I <file>\tloads <file> 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) diff --git a/net/ircII/patches/patch-ae b/net/ircII/patches/patch-ae new file mode 100644 index 00000000000..01481ea4432 --- /dev/null +++ b/net/ircII/patches/patch-ae @@ -0,0 +1,35 @@ +$NetBSD: patch-ae,v 1.3 2000/09/18 14:45:23 tron Exp $ + +--- source/term.c.orig Sun Jun 11 09:04:56 2000 ++++ source/term.c Mon Sep 18 00:12:27 2000 +@@ -339,7 +339,7 @@ + + if (CS) + tputs_x(tgoto(CS, LI - 1, 0)); +- if (TE) ++ if (!tflag && TE) + tputs_x(TE); + term_move_cursor(0, LI - 1); + term_reset_flag = 1; +@@ -381,7 +381,7 @@ + # endif /* mips */ + #endif /* SIGSTOP && SIGTSTP */ + +- if (TI) ++ if (!tflag && TI) + tputs_x(TI); + } + +@@ -461,10 +461,10 @@ + term_clear_to_eol = term_null_function; + + TE = tgetstr("te", &ptr); +- if (TE && (TI = tgetstr("ti", &ptr)) != (char *) 0) ++ if (!tflag && TE && (TI = tgetstr("ti", &ptr)) != (char *) 0 ) + tputs_x(TI); + else +- TI = (char *) 0; ++ TE = TI = (char *) 0; + + /* if ((ND = tgetstr("nd", &ptr)) || (ND = tgetstr("kr", &ptr))) */ + if ((ND = tgetstr("nd", &ptr)) != NULL) diff --git a/net/ircII/patches/patch-af b/net/ircII/patches/patch-af new file mode 100644 index 00000000000..6502577ef18 --- /dev/null +++ b/net/ircII/patches/patch-af @@ -0,0 +1,34 @@ +$NetBSD: patch-af,v 1.3 2000/09/18 14:45:23 tron Exp $ + +--- doc/ircII.1.orig Thu Jul 13 06:57:30 2000 ++++ doc/ircII.1 Mon Sep 18 16:41:29 2000 +@@ -14,6 +14,8 @@ + .RB [ \-F ] + .RB [ \-s ] + .RB [ \-S ] ++.RB [ \-t ] ++.RB [ \-T ] + .RB [ \-d ] + .IR [ nickname + .IR [ "server list" ]] +@@ -76,6 +78,20 @@ + Start up the ircio process to connect to the + .I IRC + server. ++.TP ++.B \-t ++Don't use the termcap ++.I ti ++and ++.I te ++sequences when starting and exiting. ++.TP ++.B \-T ++Do use the termcap ++.I ti ++and ++.I te ++sequences when starting and exiting if they exist (default). + .TP + .B \-d + Start in "dumb" mode. |