Liste des Groupes | Revenir à cu programmer |
with <20241117093714.675@kylheku.com> Kaz Kylheku wrote:On 2024-11-16, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com> wrote:>*SKIP* [ 18 lines 2 levels deep]So my question is - is there a way to set up a pipe or socketpair**
so that it appears to be a tty from the exec'd programs point of
view, eg ttyname() returns non null?The GNU C Library has a mechanism to override this, driven by>
environment variables, and a wrapper utility callet "stdbuf" which
uses the environment variables to tell a child process what buffering
discipline to use for stdin, stdour or stderr.
Now I understand what's going on (back then I've come to conclusions and
called names (AKA -- I'd been pissed off by 9 out of 12); I was
wrong). But variables? Neither stdbuf(1) nor setbuf(3) give any
directions. What should I read?
Les messages affichés proviennent d'usenet.