At Mon, 30 Sep 2024 20:39:47 +0000 (UTC), RVP <r...@sdf.org> wrote:
Subject: Re: interactive shell detection in shrc
>
> and also by programs which start a shell in a pty: xterm/script/tmux/...
> However, xterm _doesn't_ set SHELL if what was passed is not in /etc/shells:

That situation is also entirely out of scope for this issue.  That's
either a system misconfiguration, or a feature, as documented clearly in
xterm(1):

        Xterm validates shell programs by finding their pathname in the
        text file /etc/shells.  It treats the environment variable
        “SHELL” specially because (like “TERM”), xterm both reads and
        updates the variable, and because the program started by xterm
        is not necessarily a shell.

--
                                        Greg A. Woods <gwo...@acm.org>

Kelowna, BC     +1 250 762-7675           RoboHack <wo...@robohack.ca>
Planix, Inc. <wo...@planix.com>     Avoncote Farms <wo...@avoncote.ca>

Attachment: pgpVWpSfLLfrC.pgp
Description: OpenPGP Digital Signature

Reply via email to