🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24890

Re: get text strings from keyboard

#24890
From: Ken Lee
Date: Thu, 22 Feb 1996 18:39
12 lines
1035 bytes
In article <Pine.SGI.3.91.960222115042.25886A-100000@mozart.bme.ohio-state.edu>,
xiaoyi@mozart.bme.ohio-state.edu (Xiaoyi Wu) writes:
|> what i am doing now is use KeyPress 
|> mask to detect keyboard inputs, and i think i must be missing somehting 
|> here since although XLookupString claims to fill a string buffer i am 
|> only getting ONE character at a time.

I think you need to re-read your Xlib manual.  KeyPress events normally
contain only one character at a time.

-- 
Ken Lee, X/Motif Consulting, http://www.rahul.net/kenton/index.shtml
Technical Details
Message-ID: <4gid90$15o@murrow.corp.sgi.com>
Path: arc1-ca.pugleaf.net!saimin.esd.sgi.com!kenton
References: <Pine.SGI.3.91.960222115042.25886A-100000@mozart.bme.ohio-state.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!saimin.esd.sgi.com!kenton
From: kenton@rahul.net (Ken Lee)
Newsgroups: comp.windows.x,comp.lang.c
Subject: Re: get text strings from keyboard
Date: 22 Feb 1996 18:39:28 GMT
Organization: X/Motif Consultant, http://www.rahul.net/kenton/index.shtml
Sender: kenton@saimin.esd.sgi.com (Ken Lee)
Message-ID: <4gid90$15o@murrow.corp.sgi.com>
References: <Pine.SGI.3.91.960222115042.25886A-100000@mozart.bme.ohio-state.edu>
NNTP-Posting-Host: saimin.esd.sgi.com