From: Stefan Schmiedl Date: 2001-12-31T12:17:02+09:00 Subject: [ruby-talk:29791] Re: Fetch a character from keyboard buffer ATT News (2001-12-31 12:01): > What is the win32api call in ruby to fetch the next character from the > keyboard buffer? require 'Win32API' getch = Win32API.new("crtdll", "_getch", [], 'L') puts getch.Call.chr should work ... although I did not try it myself .-) happy new year to everybody around here s. -- Stefan Schmiedl EDV-Beratung, Programmierung, Schulung Loreleystr. 5, 94315 Straubing, Germany Tel. (0 94 21) 74 01 06 Public Key: http://xss.de/stefan.public shhhh ... I can't hear my code!