termios cfmakeraw, disable buffer

From: Lundberg, Johannes <johannes_at_brilliantservice.co.jp>
Date: Tue, 23 Aug 2016 23:05:53 -0700
​Hi

I'm having problem with the Wayland compositors.
When opened the tty, it is set to raw mode with cfmakeraw and console is
switched to graphics mode with ioctls.

So far so good, however, when exiting the compositor (or I think when
buffer is full) all the key presses that occurred in the Wayland compositor
gets printed out in the console.

How can I avoid this?​

​Thanks!​

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
Received on Wed Aug 24 2016 - 04:06:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC