summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-01-24 09:41:24 +0000
committerfjoe <fjoe@FreeBSD.org>2003-01-24 09:41:24 +0000
commit58a36bda7ef94df9b4f18d818edbbf6b8fc4623c (patch)
tree3e15931329089f57463c09d7bd3e7119708cdb9b /news
parent4f473de9472999fa95a95388a18a050c54c9ba7c (diff)
downloadFreeBSD-ports-58a36bda7ef94df9b4f18d818edbbf6b8fc4623c.zip
FreeBSD-ports-58a36bda7ef94df9b4f18d818edbbf6b8fc4623c.tar.gz
try to fix 'last character sympthome' problem with syscons
(patches submitted to developers as well)
Diffstat (limited to 'news')
-rw-r--r--news/husky-msged/files/patch-areas.c18
-rw-r--r--news/husky-msged/files/patch-config.c19
-rw-r--r--news/husky-msged/files/patch-list.c10
-rw-r--r--news/husky-msged/files/patch-msged.c20
-rw-r--r--news/husky-msged/files/patch-nshow.c28
-rw-r--r--news/husky-msged/files/patch-nshow.h11
-rw-r--r--news/husky-msged/files/patch-wrap.c11
7 files changed, 117 insertions, 0 deletions
diff --git a/news/husky-msged/files/patch-areas.c b/news/husky-msged/files/patch-areas.c
new file mode 100644
index 0000000..e38f92e
--- /dev/null
+++ b/news/husky-msged/files/patch-areas.c
@@ -0,0 +1,18 @@
+--- areas.c.orig Fri Jan 24 15:07:44 2003
++++ areas.c Fri Jan 24 15:09:38 2003
+@@ -739,7 +739,6 @@
+
+ TTBeginOutput();
+ WndClearLine(0, cm[MN_NTXT]);
+- WndClearLine(maxy - 1, cm[MN_NTXT]);
+ hCurr = WndTop();
+ hWnd = WndOpen(0, 1, wid, dep, NBDR | NOSAVE, 0, cm[MN_BTXT]);
+ WndBox(0, 0, maxx - 1, maxy - 3, cm[MN_BTXT], SBDR);
+@@ -796,7 +795,6 @@
+ dep = maxy - 2;
+
+ WndClearLine(0, cm[MN_NTXT]);
+- WndClearLine(maxy - 1, cm[MN_NTXT]);
+ hCurr = WndTop();
+ hWnd = WndOpen(0, 1, wid, dep, NBDR, 0, cm[MN_BTXT]);
+ WndBox(0, 0, maxx - 1, maxy - 3, cm[MN_BTXT], SBDR);
diff --git a/news/husky-msged/files/patch-config.c b/news/husky-msged/files/patch-config.c
new file mode 100644
index 0000000..1254c73
--- /dev/null
+++ b/news/husky-msged/files/patch-config.c
@@ -0,0 +1,19 @@
+--- config.c.orig Fri Jan 24 15:26:47 2003
++++ config.c Fri Jan 24 15:31:42 2003
+@@ -3978,7 +3978,7 @@
+ areasort();
+ group_build_arealist();
+ printf (" \n");
+- InitScreen();
++ InitScreen(0);
+ mygetcwd(tmp, PATHLEN);
+ ST->home = xstrdup(tmp);
+
+@@ -4003,6 +4003,5 @@
+
+ WndClose(hWnd);
+ WndCurr(hCurr);
+- TTScolor(cm[CM_NTXT]);
+- TTClear(hMnScr->x1, hMnScr->y1, hMnScr->x2, hMnScr->y2);
++ InitScreen(1);
+ }
diff --git a/news/husky-msged/files/patch-list.c b/news/husky-msged/files/patch-list.c
new file mode 100644
index 0000000..05a427f
--- /dev/null
+++ b/news/husky-msged/files/patch-list.c
@@ -0,0 +1,10 @@
+--- list.c.orig Fri Jan 24 15:01:23 2003
++++ list.c Fri Jan 24 15:04:28 2003
+@@ -639,7 +639,6 @@
+
+ TTBeginOutput();
+ WndClearLine(0, cm[MN_NTXT]);
+- WndClearLine(maxy - 1, cm[MN_NTXT]);
+ WndWriteStr(2, 0, cm[LS_TTXT], CurArea.description);
+ hCurr = WndTop();
+ hWnd = WndOpen(0, 1, maxx - 1, maxy - 2, NBDR | NOSAVE, 0, cm[LS_NTXT]);
diff --git a/news/husky-msged/files/patch-msged.c b/news/husky-msged/files/patch-msged.c
new file mode 100644
index 0000000..a0406a0
--- /dev/null
+++ b/news/husky-msged/files/patch-msged.c
@@ -0,0 +1,20 @@
+--- ./msged.c.orig Tue Nov 27 01:13:44 2001
++++ ./msged.c Fri Jan 24 15:35:36 2003
+@@ -1863,7 +1863,7 @@
+ fputs("\nEnter the command \"EXIT\" to return to " PROG ".\n", stderr);
+ shell_to_dos();
+ cursor(0);
+- InitScreen();
++ InitScreen(1);
+ BuildHotSpots();
+ DrawHeader();
+ ShowNewArea();
+@@ -2017,7 +2017,7 @@
+ WndClose(hMnScr);
+ KillHotSpots();
+ TTclose();
+- InitScreen();
++ InitScreen(1);
+ adapt_margins();
+ BuildHotSpots();
+ ShowNewArea();
diff --git a/news/husky-msged/files/patch-nshow.c b/news/husky-msged/files/patch-nshow.c
new file mode 100644
index 0000000..dcaf478
--- /dev/null
+++ b/news/husky-msged/files/patch-nshow.c
@@ -0,0 +1,28 @@
+--- ./nshow.c.orig Thu Jun 21 03:21:35 2001
++++ ./nshow.c Fri Jan 24 15:35:24 2003
+@@ -36,7 +36,7 @@
+ int groupmove = 0;
+ HotGroup Hot;
+
+-int InitScreen(void)
++int InitScreen(int draw_statbar)
+ {
+ if (SW->usemouse == NO)
+ {
+@@ -56,6 +56,8 @@
+ else
+ maxy = term.NRow;
+ hMnScr = WndOpen(0, 0, maxx - 1, maxy - 1, NBDR, 0, cm[CM_NTXT]);
++ if (draw_statbar && SW->statbar)
++ WndClearLine(maxy - 1, cm[CM_ITXT]);
+ SW->redraw = TRUE;
+ return 0;
+ }
+@@ -468,7 +470,6 @@
+ if (l - 2 < maxx - 1)
+ WndPutsn(l - 2, maxy - 1, (maxx - 1) - (l - 2),
+ cm[CM_ITXT] | F_ALTERNATE, line + (l - 2));
+- WndClear(maxx - 1, maxy - 1, maxx - 1, maxy - 1, cm[CM_ITXT]);
+ }
+ if (!m)
+ {
diff --git a/news/husky-msged/files/patch-nshow.h b/news/husky-msged/files/patch-nshow.h
new file mode 100644
index 0000000..2954d5d
--- /dev/null
+++ b/news/husky-msged/files/patch-nshow.h
@@ -0,0 +1,11 @@
+--- ./nshow.h.orig Fri Jan 24 15:28:13 2003
++++ ./nshow.h Fri Jan 24 15:28:35 2003
+@@ -11,7 +11,7 @@
+
+ extern int groupmove;
+
+-int InitScreen(void);
++int InitScreen(int draw_statbar);
+ void AddHG(HotGroup * h, int num, int id, int x1, int y1, int x2, int y2);
+ void BuildHotSpots(void);
+ void KillHotSpots(void);
diff --git a/news/husky-msged/files/patch-wrap.c b/news/husky-msged/files/patch-wrap.c
new file mode 100644
index 0000000..b2305c7d
--- /dev/null
+++ b/news/husky-msged/files/patch-wrap.c
@@ -0,0 +1,11 @@
+--- ./wrap.c.orig Fri Jan 24 15:26:18 2003
++++ ./wrap.c Fri Jan 24 15:26:35 2003
+@@ -2357,7 +2357,7 @@
+ /* Redraw the screen. */
+
+ cursor(0);
+- InitScreen();
++ InitScreen(1);
+ BuildHotSpots();
+ DrawHeader();
+ ShowNewArea();
OpenPOWER on IntegriCloud