Hello Robin! Robin Humble wrote in <[email protected]>: |On Sat, Aug 24, 2024 at 12:35:39AM +0200, Steffen Nurpmeso wrote: |> $ ( echo blah | Mail root >/dev/null) & |>This will do what you want. | |ah, ok - thanks! | |>|is there an internal mode that describes this style of usage of s-nail? |>|if so, maybe that could be used to avoid all tcsetattr entirely? |> |>So if we were doing right the above instead really had to redirect |>stderr to /dev/null, .. yet that is not correct at the moment, too. | |I see (sort of). seems like it's very hard to know when you're in a |backgrounded process. would blocking SIGTTOU help?
I have not yet done the patch yet, i am still hanging in finally implementing correct sh(1)ell-compatible field splitting. I recognized that termios.c states *@ FIXME everywhere: tcsetattr() generates SIGTTOU when we're not in *@ FIXME foreground pgrp, and can fail with EINTR!! but, ARGH!, it does so since June 2019 already!! |>a real patch will be in v14.10 somewhen in fall i hope. | |good luck! Yes. Thanks. |>(Adding your email to THANKS is ok?) | |sure. thanks :) Great. Will do! |cheers, |robin --End of <[email protected]> Ciao, --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
