🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24891

Re: get text strings from keyboard

#24891
From: Xiaoyi Wu
Date: Thu, 22 Feb 1996 19:07
25 lines
1596 bytes
Ken Lee wrote:
> 
> 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

yeah i got it. thanks.

-- 
Xiaoyi

/======================================================================\
| Xiaoyi Wu        || If you can't convince them, confuse them.        |
| 614-421-0934 (h) ||  xiaoyi@mozart.bme.ohio-state.edu                |
| 614-292-1555 (o) ||  http://chopin.bme.ohio-state.edu/~xiaoyi/hi.html|
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Technical Details
Message-ID: <312CBEF4.446B@mozart.bme.ohio-state.edu>
Path: arc1-ca.pugleaf.net!magnus.acs.ohio-state.edu!news
References: <Pine.SGI.3.91.960222115042.25886A-100000@mozart.bme.ohio-state.edu> <4gid90$15o@murrow.corp.sgi.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!magnus.acs.ohio-state.edu!news
From: Xiaoyi Wu <xiaoyi@mozart.bme.ohio-state.edu>
Newsgroups: comp.windows.x,comp.lang.c
Subject: Re: get text strings from keyboard
Date: Thu, 22 Feb 1996 14:07:32 -0500
Organization: The Ohio State University
Message-ID: <312CBEF4.446B@mozart.bme.ohio-state.edu>
References: <Pine.SGI.3.91.960222115042.25886A-100000@mozart.bme.ohio-state.edu> <4gid90$15o@murrow.corp.sgi.com>
NNTP-Posting-Host: mozart.bme.ohio-state.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP22)