summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-09-04 16:01:15 +0000
committerjkh <jkh@FreeBSD.org>1999-09-04 16:01:15 +0000
commit101b5429b35890e216ab09cb682af79180f96353 (patch)
tree65bdcc4ed2696e6d41cbe1bead2991bd8cb85c73 /usr.sbin/sade/system.c
parent5e3e53cfb3692a343a529ee1c71e3fef162c91db (diff)
downloadFreeBSD-src-101b5429b35890e216ab09cb682af79180f96353.zip
FreeBSD-src-101b5429b35890e216ab09cb682af79180f96353.tar.gz
o Catch up with pnp changes - kget no longer saves pnp data.
o Catch up with ncurses updates - some internal function names have changed.
Diffstat (limited to 'usr.sbin/sade/system.c')
-rw-r--r--usr.sbin/sade/system.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c
index fc57fe3..b0c6c66 100644
--- a/usr.sbin/sade/system.c
+++ b/usr.sbin/sade/system.c
@@ -18,6 +18,7 @@
#include "sysinstall.h"
#include <signal.h>
+#include <termios.h>
#include <sys/reboot.h>
#include <machine/console.h>
#include <sys/fcntl.h>
@@ -257,15 +258,12 @@ void
systemChangeTerminal(char *color, const u_char c_term[],
char *mono, const u_char m_term[])
{
- extern void init_acs(void);
-
if (OnVTY) {
if (ColorDisplay) {
setenv("TERM", color, 1);
setenv("TERMCAP", c_term, 1);
reset_shell_mode();
setterm(color);
- init_acs();
cbreak(); noecho();
}
else {
@@ -273,7 +271,6 @@ systemChangeTerminal(char *color, const u_char c_term[],
setenv("TERMCAP", m_term, 1);
reset_shell_mode();
setterm(mono);
- init_acs();
cbreak(); noecho();
}
}
OpenPOWER on IntegriCloud