frotz@dri.com (Frotz) (05/24/91)
Sorry, I guess that I am showing my PC experience here. What I want it to port a number of scripts from VMS (which has reads with timeouts) to perl on Un*x... What I would like is for some kind of keyboard input that can be scanned (rather than blocked on) like on a PC (and no, VMS' read barely cuts it...). What I want is the following capabilities... 1) Keyboard scanning. (Is there a character ready to be read?) 2) Timers. (I can live with comparing against a clock. Latency: 1 sec.) This will provide me a way to provide single character menus with defaults and timeouts... I want to be able to quide and help my users as much as possible when running my scripts. (These people are being targeted as temporary personnel who may or may not know much about our current site procedures, etc...) I know that I can do this on a PC. I can get fairly close on VMS. Can I do this under perl4@03 under Ultrix. On second thought, it doesn't have to be portable, but it would be nice to have the same perl code run on a DOS version of perl... -- Frotz