On Sun, Oct 12, 2014, at 03:48, k0ga_AT_shike2.com wrote:
> And the profile runs in the same tty that st opens. St by default
> executes a non login shell, so profile is not loaded, but utmp executes
> a login shell (because it creates the utmp session, so it is more
> logical for it to execute a login shell).
Why shouldn't a non-login shell have a utmp session? And if this option
is to use a login shell, rather than merely using utmp, then I don't
think it should be a compile-time option - just because someone
sometimes wants a login shell (which could be done before, if desired,
by running e.g. sh -l) doesn't mean they always want one.
> I work with systems where BACKSPACE deletes the previous
> character, and it is really painful you cannot generate a BACKSPACE
> character with some terminal emulators. The position of St developers
> is very clear about this topic, st must generates the correct ascii
> value for each key.
What character does DEL generate? I'm assuming it generates either
DELETE or "Remove Here", and either way it's going to be equally painful
that you can't generate one of the sequences that a VT220 does.
Meanwhile, the VT220 has no key that generates Backspace.
You didn't comment on the prior/next/find/select issue, either.
> > Their meaning is defined in the standard. The method of obtaining
> > default values is not, but that means it's the implementation's
> > responsibility, not that it doesn't mean anything at all.
>
> Can you put here in which part of POSIX they are defined?. I'm
> sorry, but they are not standard (although are commons), and
> even there are some shells (dash for example) that don't set them.
http://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html
> > But unsetting it, along with the initial call to cresize, should be fine
> > on most systems, so maybe I've been too harsh about this.
>
> I'm sorry, but this is a work of the shell, because it is not possible
> for a terminal (a real one, not emulated) to set variables.
A real terminal has a fixed size, which is known in termcap/terminfo. If
a terminal supports multiple sizes, you would historically have had to
alter the variables manually.
Received on Sun Oct 12 2014 - 16:25:56 CEST