Robert Elz wrote in
 <23591.1724975...@jacaranda.noi.kre.to>:
 |    Date:        Fri, 30 Aug 2024 00:39:40 +0200
 |    From:        Steffen Nurpmeso <stef...@sdaoden.eu>
 |    Message-ID:  <20240829223940.CDUfy6-w@steffen%sdaoden.eu>
 |
 || On Linux it seems not even to cause TTOU if you set
 || attributes which are effectively identical to what is already
 || active
 |
 |Yes, my wording was sloppy - any of the ioctls which could change
 |the terminal attributes cause SIGTTOU, regardless of whether there's
 |an actual change or not.

  mx_termios_cmd(26,1)
          mx_termios_cmd FIRST TIME
          mx_termios_cmd QUERIED NORM, SET IT AGAIN
  a_termios_onsig(22) (is TTOU=1)
  a_termios_onsig(18) (is TTOU=0)
          mx_termios_cmd THEREAFTER

You are right.  (Race aside.  18 is SIGCONT.)

--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)

Reply via email to