aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pine4/files
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2004-08-12 08:04:44 +0800
committerdougb <dougb@FreeBSD.org>2004-08-12 08:04:44 +0800
commit0256f783f03dc0f80aaf81887906ff3a827f65b3 (patch)
tree4762cdf97c39f5a7ed5f723887e9229f6ec8d861 /mail/pine4/files
parent2f02c4bde45bac5b7265f64d6ce6a22575e748ec (diff)
downloadfreebsd-ports-gnome-0256f783f03dc0f80aaf81887906ff3a827f65b3.tar.gz
freebsd-ports-gnome-0256f783f03dc0f80aaf81887906ff3a827f65b3.tar.zst
freebsd-ports-gnome-0256f783f03dc0f80aaf81887906ff3a827f65b3.zip
This patch allows Pine to display color in a cons25 terminal without
inappropriate scrolling. The problem is related to the behavior of cons25 when something is written to the lower right corner. This will cause a "blank" square in that position for some terminals, but the effect is harmless. Pointed out by: Lars Eighner <eighner@io.com> URL: http://www.washington.edu/pine/pine-info/2002.01/msg00038.html
Diffstat (limited to 'mail/pine4/files')
-rw-r--r--mail/pine4/files/patch-pine_screen.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/pine4/files/patch-pine_screen.c b/mail/pine4/files/patch-pine_screen.c
new file mode 100644
index 000000000000..af76a22c9c59
--- /dev/null
+++ b/mail/pine4/files/patch-pine_screen.c
@@ -0,0 +1,15 @@
+--- pine/screen.c.orig Wed Apr 7 10:35:42 2004
++++ pine/screen.c Tue Aug 10 22:35:37 2004
+@@ -208,7 +208,12 @@
+ char this_label[MAX_LABEL+1];
+
+ j = 6*i - 1;
++
++ /*
++ Change this line so that color works on cons25 terminals
+ if(i == 1 && !label_color)
++ */
++ if(i == 1)
+ max_column--; /* Some terminals scroll if you write in the
+ lower right hand corner. If user has a
+ label_color set we'll take our chances.