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?