termios cfmakeraw, disable buffer

Lundberg, Johannes johannes at brilliantservice.co.jp
Wed Aug 24 06:06:10 UTC 2016


​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.


More information about the freebsd-current mailing list