chiark / gitweb /
serial: use TERM=vt100 instead of TERM=vt100-nav
authorLennart Poettering <lennart@poettering.net>
Tue, 4 Jan 2011 20:45:52 +0000 (21:45 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 Jan 2011 20:45:52 +0000 (21:45 +0100)
TERM=vt100-nav was necessary for compat with some ppc hvc devices, a
long time ago. Unfortunately vt100-nav terminfo is not installed by
default on most distros, hence change the default to v100 which is
available universally and still should be a relatively safe and
conservative default.

Should it turn out that vt100 is not really the best choice we can
revert this change again and then ask distros to move vt100-nav into
their default install.

src/util.c
units/serial-getty@.service.m4

index 2c7b1f9a56bd4cd7ae0f83619668a49eaeba4cbe..08bdec223eda8f2bebd6d345050c49aca74b40b3 100644 (file)
@@ -3521,7 +3521,7 @@ const char *default_term_for_tty(const char *tty) {
 
         /* FIXME: Proper handling of /dev/console would be cool */
 
 
         /* FIXME: Proper handling of /dev/console would be cool */
 
-        return "TERM=vt100-nav";
+        return "TERM=vt100";
 }
 
 static const char *const ioprio_class_table[] = {
 }
 
 static const char *const ioprio_class_table[] = {
index b6ca80bc97d56a82d0a63dc5b8e23e1574846bd5..b3bc37ed2a05cde86f1269fba6c0a2c57b1d34f1 100644 (file)
@@ -22,7 +22,7 @@ After=rc-local.service
 Before=getty.target
 
 [Service]
 Before=getty.target
 
 [Service]
-Environment=TERM=vt100-nav
+Environment=TERM=vt100
 m4_ifdef(`TARGET_FEDORA',
 ExecStartPre=-/sbin/securetty %I
 )m4_dnl
 m4_ifdef(`TARGET_FEDORA',
 ExecStartPre=-/sbin/securetty %I
 )m4_dnl