[systemd-commits] src/util.c units/serial-getty at .service.m4

Lennart Poettering lennart at kemper.freedesktop.org
Tue Jan 4 12:48:49 PST 2011


 src/util.c                     |    2 +-
 units/serial-getty at .service.m4 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 60b4f27794f3f3b5bd1c67b42d09eb4c21838aed
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Jan 4 21:45:52 2011 +0100

    serial: use TERM=vt100 instead of TERM=vt100-nav
    
    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.

diff --git a/src/util.c b/src/util.c
index 2c7b1f9..08bdec2 100644
--- a/src/util.c
+++ b/src/util.c
@@ -3521,7 +3521,7 @@ const char *default_term_for_tty(const char *tty) {
 
         /* FIXME: Proper handling of /dev/console would be cool */
 
-        return "TERM=vt100-nav";
+        return "TERM=vt100";
 }
 
 static const char *const ioprio_class_table[] = {
diff --git a/units/serial-getty at .service.m4 b/units/serial-getty at .service.m4
index b6ca80b..b3bc37e 100644
--- a/units/serial-getty at .service.m4
+++ b/units/serial-getty at .service.m4
@@ -22,7 +22,7 @@ After=rc-local.service
 Before=getty.target
 
 [Service]
-Environment=TERM=vt100-nav
+Environment=TERM=vt100
 m4_ifdef(`TARGET_FEDORA',
 ExecStartPre=-/sbin/securetty %I
 )m4_dnl



More information about the systemd-commits mailing list