summaryrefslogtreecommitdiff
path: root/audio/cam
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-04-27 20:44:20 +0000
committermycroft <mycroft@pkgsrc.org>2000-04-27 20:44:20 +0000
commit2964322450813eeb52330757565b4e5fb77b8439 (patch)
tree03c8a8157317029fd29875057e0d2e45ea945dbc /audio/cam
parent748ee079bd99b5f9ad5c8d3ef14acad0503ef1cc (diff)
downloadpkgsrc-2964322450813eeb52330757565b4e5fb77b8439.tar.gz
Turn off the cursor.
Also, delete some changes we don't actually need.
Diffstat (limited to 'audio/cam')
-rw-r--r--audio/cam/files/patch-sum4
-rw-r--r--audio/cam/patches/patch-ad35
2 files changed, 21 insertions, 18 deletions
diff --git a/audio/cam/files/patch-sum b/audio/cam/files/patch-sum
index edd3d608fa0..09c9aee1685 100644
--- a/audio/cam/files/patch-sum
+++ b/audio/cam/files/patch-sum
@@ -1,6 +1,6 @@
-$NetBSD: patch-sum,v 1.5 2000/04/27 17:03:45 mycroft Exp $
+$NetBSD: patch-sum,v 1.6 2000/04/27 20:44:20 mycroft Exp $
MD5 (patch-aa) = 60ff2a4f5414bbb24c39ec3d2bfb415e
MD5 (patch-ab) = 3b84e793288fae99a40bd949557ae08a
MD5 (patch-ac) = ca4e653096374554dde227401dc07bec
-MD5 (patch-ad) = 43d485bc96d9eaa28382798e8dfdef85
+MD5 (patch-ad) = 84ce8af75f555d42f950e2091a5446e0
diff --git a/audio/cam/patches/patch-ad b/audio/cam/patches/patch-ad
index ac23f753476..09c3abfe030 100644
--- a/audio/cam/patches/patch-ad
+++ b/audio/cam/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.5 2000/04/27 17:03:47 mycroft Exp $
+$NetBSD: patch-ad,v 1.6 2000/04/27 20:44:21 mycroft Exp $
--- screens.c.orig Mon Oct 21 14:18:25 1996
-+++ screens.c Thu Apr 27 13:00:04 2000
-@@ -25,6 +25,7 @@
++++ screens.c Thu Apr 27 16:41:05 2000
+@@ -25,14 +25,15 @@
#include "cam.h"
#include <strings.h>
@@ -10,15 +10,16 @@ $NetBSD: patch-ad,v 1.5 2000/04/27 17:03:47 mycroft Exp $
void finish(int sig)
{
-@@ -33,6 +34,7 @@
- endwin();
+ close_mixer();
+ echo();
+- endwin();
clear();
refresh();
-+ reset_shell_mode();
++ endwin();
if (sig != 0)
exit(1);
}
-@@ -40,19 +42,21 @@
+@@ -40,19 +41,21 @@
void set_screen(void)
{
@@ -47,7 +48,7 @@ $NetBSD: patch-ad,v 1.5 2000/04/27 17:03:47 mycroft Exp $
mvaddstr(LINES-2,4,"Press 'h' for help");
}
-@@ -64,17 +68,17 @@
+@@ -64,17 +67,17 @@
mvaddstr(Y+1,X+8,"Left");
mvaddstr(Y+2,X+8,"Right");
attrset(COLOR_PAIR(COLOR_SLIDER) | A_ALTCHARSET);
@@ -73,7 +74,7 @@ $NetBSD: patch-ad,v 1.5 2000/04/27 17:03:47 mycroft Exp $
}
/*
-@@ -87,26 +91,27 @@
+@@ -87,21 +90,21 @@
{
if ((level == 1 ) || ( level == 2 )) {
attrset(A_NORMAL | A_ALTCHARSET);
@@ -101,13 +102,15 @@ $NetBSD: patch-ad,v 1.5 2000/04/27 17:03:47 mycroft Exp $
}
}
- void init_screen(void)
- {
-+ def_shell_mode();
- stdscr = initscr();
- if ( (COLS < 80) || (LINES < 25) ) {
- finish(0);
-@@ -181,9 +186,9 @@
+@@ -113,6 +116,7 @@
+ fprintf(stderr,"The screensize has to be minimum 80x25\n");
+ exit(1);
+ }
++ curs_set(0);
+ make_colors();
+ }
+
+@@ -181,9 +185,9 @@
char ch;
touchwin(stdscr);
help_win = newwin(15,50,(LINES - 15) / 2,(COLS - 50) / 2);