[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] ioctl TIOCLINUX, subcode=6 (man console_ioctl)

From: Benno Schulenberg
Subject: [Nano-devel] ioctl TIOCLINUX, subcode=6 (man console_ioctl)
Date: Thu, 26 Jun 2014 19:44:25 +0200

On Thu, Jun 26, 2014, at 15:42, Mark Majeres wrote:
> Just to clarify, I was suggesting the code at the second link for
> usage, not libtermkey.  I'll include the link again.  It is only a few
> lines of code, and my understanding is that it's independent of the
> terminal.  The keystrokes are coming from the linux kernel via an
> ioctl call.

As far as I understand that, not the keystroke is coming via the
ioctl, but just the shift state.  I don't think that is any good:
what if there is a many-milliseconds delay between getting the
keystroke via ncurses and calling the ioctl?  Also, this works
on Linux; does it too on BSD?



-- - A fast, anti-spam email service.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]