Re: [dev] [st][PATCH] Add support for utmp in st

From: <random832_AT_fastmail.us>
Date: Fri, 10 Oct 2014 14:00:19 -0400

On Tue, Sep 23, 2014, at 01:18, Roberto E. Vargas Caballero wrote:
> St runs an interactive shell and not a login shell, and it means
> that profile is not loaded. The default terminal configuration
> in some system is not the correct for st, but since profile is
> not loaded there is no way of getting a script configures the
> correct values.

What exactly does "terminal configuration" mean here? TERM, LINES, and
COLUMNS? Shouldn't st itself be responsible for setting these? They
certainly don't belong in the profile.

What is utmp doing, exactly, and why does st want to run the user's
default shell instead of the SHELL that's passed in to st's environment
by its parent? Is it appropriate to be setting SHELL to utmp? Why set
SHELL at all? What program does utmp execute, and is it intentional that
utmp is not executed if the user specifies a command?
Received on Fri Oct 10 2014 - 20:00:19 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 20:12:08 CEST