LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2012, 03:41 PM   #1
mishuk55
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
key stroke read


how to read keyboard buffer and interpret its codes?
 
Old 05-12-2012, 04:51 PM   #2
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82

Rep: Reputation: 23
Quote:
Originally Posted by mishuk55 View Post
how to read keyboard buffer and interpret its codes?
There are tools for this that might help you out. Look for ureadkey/readkey or keypressed.
 
Old 05-12-2012, 10:10 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
Also xev will let you watch keystrokes as they happen.
 
Old 05-13-2012, 08:33 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
To give some more general advice, a single-line question (actually not even a full question) with absolutely no context or detail is very hard to provide any useful answers to.

What "keyboard buffer" are you talking about, exactly? Read it with what, a program? A script? Directly from the command line? Exactly what information do you actually need from it, and in what format? For what reason?

Please read the excellent guide by Eric Raymond, How To Ask Questions The Smart Way, then come back and explain exactly what your actual goals are.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash - Read user input: URLs without the enter key stroke make Programming 2 09-23-2010 04:29 PM
How to initiate/trigger a key stroke in Linux sr71919 Linux - General 4 02-13-2010 01:08 AM
Key stroke problem satimis Fedora 0 06-19-2007 12:17 PM
How do i adjust key stroke speed,10.0? akihandyman Mandriva 1 07-17-2004 06:16 PM
Key Stroke Logger MrTheGeek Linux - Security 1 02-03-2002 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration