summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-22 02:45:39 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-22 02:45:39 +0200
commitacda6a054fb131dbab9b7b16e4148e05a03ce66b (patch)
tree283fec3bc19c6f2b684b25b22e4a1f893275983a
parentd1122ad5e3222cc17bfb556c23273598a5fb60fa (diff)
default to v102 everywhere, instead of vt100, to synchronize with agetty
-rw-r--r--src/shared/util.c2
-rw-r--r--units/serial-getty@.service.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index def576de2..317abb801 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -4352,7 +4352,7 @@ bool tty_is_vc_resolve(const char *tty) {
const char *default_term_for_tty(const char *tty) {
assert(tty);
- return tty_is_vc_resolve(tty) ? "TERM=linux" : "TERM=vt100";
+ return tty_is_vc_resolve(tty) ? "TERM=linux" : "TERM=vt102";
}
bool dirent_is_file(const struct dirent *de) {
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
index ed6912d03..93bc643e6 100644
--- a/units/serial-getty@.service.m4
+++ b/units/serial-getty@.service.m4
@@ -35,7 +35,7 @@ Before=getty.target
IgnoreOnIsolate=yes
[Service]
-Environment=TERM=vt100
+Environment=TERM=vt102
ExecStart=-/sbin/agetty -s %I 115200,38400,9600
Restart=always
RestartSec=0