Re: [hackers] [ubase] Set TERM to linux if needed for su and login || sin

From: FRIGN <dev_AT_frign.de>
Date: Tue, 3 Jun 2014 19:39:40 +0200

On Tue, 3 Jun 2014 19:35:22 +0200
"Roberto E. Vargas Caballero" <k0ga_AT_shike2.com> wrote:

> login takes the value of TERM from its parent. If you executed login
> in a telnet session, the telnet daemon will put the value. If you
> have a SystemV inittab, then you configure in it the correct value of
> TERM for every terminal. If you have a BSD /etc/ttys, then you configure
> in it the correct value for every terminal. There is no other usages
> of login, so the only way of getting a null value is a misconfiguration,
> so you should to assume that the terminal only can handle the minimal
> set of features, the features of a dumb terminal.

Agreed. We can't work around any misconfiguration (see Gnome, GNU, ...).

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Tue Jun 03 2014 - 19:39:40 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 03 2014 - 19:48:09 CEST