From owner-freebsd-hackers Fri Aug 8 08:18:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA23693 for hackers-outgoing; Fri, 8 Aug 1997 08:18:44 -0700 (PDT) Received: from comtat.kazan.su (root@comtat.kazan.su [193.125.80.35]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA23563 for ; Fri, 8 Aug 1997 08:15:58 -0700 (PDT) Received: from goff.comtat.kazan.su (root@goff.comtat.kazan.su [194.135.143.34]) by comtat.kazan.su (8.8.5-mih-280197/8.7.Ru) with ESMTP id TAA15194 for ; Fri, 8 Aug 1997 19:14:51 +0400 (MSD) Received: (from root@localhost) by goff.comtat.kazan.su (8.8.5/8.8.5R.S) id TAA05710 for hackers@freebsd.org; Fri, 8 Aug 1997 19:14:51 +0400 (MSD) Date: Fri, 8 Aug 97 15:14:51 +0000 From: root@goff.comtat.kazan.su (System Administrator) To: hackers@freebsd.org Message-ID: Subject: How to get state of ctrl, alt, shift keys ? Reply-To: root@timur.kazan.su X-Mailer: BML [UNIX Beauty Mail v.1.39] Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, All! Can anybody help me? I need for my programm to get stat of the keys ctl,alt,shift - well, You know for this combinations, like Ctrl+PgUP and so on. Question: How can I do this? In Linux I use ioctl call with parameter TIOCLINUX and get (int) with values. Is there are some similar simple way to FreeBSD ? I would be thankful for reply to this question. And, if it is possible, send a copy of reply to my E-mail, cause I'm not in mailinglist :( With best wishes, Timur Bakeyev.