lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 17 Jul 2007 22:01:16 -0700
From:	"Shawn Rutledge" <shawn.t.rutledge@...il.com>
To:	"Jan Engelhardt" <jengelh@...putergmbh.de>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: attempting to open a VT from elsewhere and take raw keyboard input

Yes I know that X does it; I'm trying to write a new windowing system
which also does that, and the question is how they did it.  I would
have expected if I just open /dev/tty1, set raw mode, and set some
termios flags I'd get every key press and release; and it would be my
choice whether to use blocking or non-blocking I/O.

On 7/17/07, Jan Engelhardt <jengelh@...putergmbh.de> wrote:
>
> On Jul 17 2007 01:51, Shawn Rutledge wrote:
> >
> > I'm messing around with framebuffer graphics stuff and trying to write
> > a keyboard driver similar to the one in X, which will allow you to
> > start up the graphics system from any tty (not just a virtual
> > console),
>
> right, I can start X these days over SSH (either init5 or startx)
>
> > find an available VT, switch to that VT,
>
> X does that automatically ('regular' X, not considering Xdmcp or such)
>
> > and then take input from the physically attached keyboard rather
> > than necessarily
>
> X does that too.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ