Liste des Groupes | Revenir à cu programmer |
On 2024-11-18, Eric Pozharski <apple.universe@posteo.net> wrote:with <20241117093714.675@kylheku.com> Kaz Kylheku wrote:On 2024-11-16, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com>
wrote:
*SKIP* [ 2 lines 2 levels deep]*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 byNow I understand what's going on (back then I've come to conclusions
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.
directions. What should I read?Firstly, I apologize for my bad here, Eric. This is not done in glibc,
but actually by a preloaded shared library called libstdbuf.so. That
comes from CoreUtils.
Les messages affichés proviennent d'usenet.