diff options
author | jkh <jkh@FreeBSD.org> | 1999-09-04 16:01:15 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-09-04 16:01:15 +0000 |
commit | 101b5429b35890e216ab09cb682af79180f96353 (patch) | |
tree | 65bdcc4ed2696e6d41cbe1bead2991bd8cb85c73 /usr.sbin/sysinstall/system.c | |
parent | 5e3e53cfb3692a343a529ee1c71e3fef162c91db (diff) | |
download | FreeBSD-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/sysinstall/system.c')
-rw-r--r-- | usr.sbin/sysinstall/system.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c index fc57fe3..b0c6c66 100644 --- a/usr.sbin/sysinstall/system.c +++ b/usr.sbin/sysinstall/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(); } } |