All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hounschell <markh@compro.net>
To: linux-kernel@vger.kernel.org
Subject: line BRK detection on ttyS0
Date: Wed, 22 Sep 2010 15:36:48 -0400	[thread overview]
Message-ID: <4C9A5AD0.5070804@compro.net> (raw)

Does the kernel support sending a SIGINT from a line BRK on ttyS0 to a thread of a process
where the process has a controlling terminal that is NOT ttyS0 and the thread is using ttyS0
in a cfmakeraw mode? I see doc that implies that ttyS0 must be the controlling terminal but
can my thread have a controlling terminal while my main process has it's own? My thread
cannot use the \377 \0 \0 char sequence because it is receiving and transmitting 8-bit binary
data. Is there a way for the kernel to inform my thread, not my main process, of a line BRK?
Or a way for my thread to ask the kernel if a line BRK occurred on ttyS0?

Thanks and regards
Mark


             reply	other threads:[~2010-09-22 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22 19:36 Mark Hounschell [this message]
2010-09-23  0:03 ` line BRK detection on ttyS0 Alan Cox
2010-09-23 20:48   ` Mark Hounschell
2010-09-23 21:23     ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C9A5AD0.5070804@compro.net \
    --to=markh@compro.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.