JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Add support for utmp in st
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Thu, 28 Aug 2014 10:48:29 +0000 (12:48 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 23 Sep 2014 05:12:41 +0000 (07:12 +0200)
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.

St doesn't update the utmp files, this is the job of another
suckless tool, utmp. Utmp also opens a login shell (it is the
logical behaviour when you create a new user record) it is a
good option execute utmp and then get a correct input in
utmp, wtmp and lastlog file, and execute the content of the
profile.


No differences found