On Sun, 21.07.13 00:17, Ramkumar Ramachandra (artag...@gmail.com) wrote:

Heya,

> I noticed that my TERM is set to "linux", even when I boot the
> console-getty.service.  Isn't it supposed to be "console" instead,
> since VT emulation is not guaranteed?  Should we explicitly pass the
> term argument to agetty?

We have some code in place that follows where the console is pointing
and then determines the right default TERM from that. It uses
/sys/class/tty/console/active for this.

See default_term_for_tty(), tty_is_vc_resolve(), tty_is_vc() and
resolve_dev_console() in src/shared/util.c for details.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to