# Keyboard events

**URL:** <https://www.ruby-forum.com/t/keyboard-events/142162>\
**Category:** Ruby\
**Created:** [July 3, 2008, 11:27pm UTC](https://www.ruby-forum.com/t/keyboard-events/142162 "2008-07-03T23:27:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fw59](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/7ea924/32.png) [@fw59](https://www.ruby-forum.com/u/fw59)\
**Post date:** [July 3, 2008, 11:27pm UTC](https://www.ruby-forum.com/t/keyboard-events/142162/1 "2008-07-03T23:27:50Z")

</div>

Hallo again people,

Im trying to write a script, which shall outputs data when a button  
from the keyboard is pressed. Only the button, without pressing  
.  
I was searching in the gems-list, but i did not find the right stuff.  
If somebody has some idea - thanks.

Greetings,  
Katja

---

<div class="post-metadata">

**Author:** ![fw59](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/7ea924/32.png) [@fw59](https://www.ruby-forum.com/u/fw59)\
**Post date:** [July 4, 2008, 12:03am UTC](https://www.ruby-forum.com/t/keyboard-events/142162/2 "2008-07-04T00:03:35Z")

</div>

On Thu, Jul 3, 2008 at 4:18 PM, psy [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hallo again people,
> 
> Im trying to write a script, which shall outputs data when a button  
> from the keyboard is pressed. Only the button, without pressing  
> .

I believe the highline gem can do this.

[http://highline.rubyforge.org/](http://highline.rubyforge.org/)

---

<div class="post-metadata">

**Author:** ![fw59](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/7ea924/32.png) [@fw59](https://www.ruby-forum.com/u/fw59)\
**Post date:** [July 4, 2008, 12:06am UTC](https://www.ruby-forum.com/t/keyboard-events/142162/3 "2008-07-04T00:06:30Z")

</div>

On 3 Jul 2008, at 22:18, psy wrote:

> 

Hello,

Have you seen eventmachine’s keyboard events?

Thanks,  
George

---

<div class="post-metadata">

**Author:** ![fw59](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/7ea924/32.png) [@fw59](https://www.ruby-forum.com/u/fw59)\
**Post date:** [July 4, 2008, 12:25am UTC](https://www.ruby-forum.com/t/keyboard-events/142162/4 "2008-07-04T00:25:48Z")

</div>

On Fri, 4 Jul 2008 07:02:53 +0900  
George M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello,
> 
> Have you seen eventmachine’s keyboard events?
> 
> Thanks,  
> George

“Gordon T.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I believe the highline gem can do this.
> 
> [http://highline.rubyforge.org/](http://highline.rubyforge.org/)

Thanks, i will check both.
