Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!world!daniel From: daniel@world.std.com (Daniel Smith) Newsgroups: comp.lang.perl Subject: Re: grabchars in perl? Message-ID: <1991Jun5.160015.10752@world.std.com> Date: 5 Jun 91 16:00:15 GMT References: <1991Jun5.052344.22684@newshost.anu.edu.au> Organization: The World @ Software Tool & Die Lines: 27 In <1991Jun5.052344.22684@newshost.anu.edu.au> rjm@vulcan.anu.edu.au (Robert J. McArthur) writes: > Has anyone implemented the grabchars package in perl? > For those who don't know, grabchars is a PD program from comp.sources.misc > that implements timed reads from ttys and non-CR-requiring input. eg. you > can just type one letter in answer to a y/n question without needing the > CR. wow, they're using in Australia and Moscow and Berlin and... I wrote grabchars, and will see if I can do a port sometime in the next week. I had been thinking of doing a 2.0 C version that would handle function/arrow keys, allow templates (like: 2 lower case letters, then a number, then 3 upper case letters) and perhaps a little more. Have to resist the creeping feature syndrome (as well as I can!). For the moment, grabchars can be called from perl. If anyone is interested in collaborating, let me know. Daniel -- daniel@island.com .....Daniel Smith, Island Graphics, (415) 491 0765 x 250(w) daniel@world.std.com ...4000 CivicCenterDrive SanRafael MarinCounty CA 94903 dansmith@well.sf.ca.us .I must write this, or Island will take away my coffee. Could we continue with the petty bickering? I find it most intriguing-Data:TNG