Re: Keyboard scan codes with Term::Screen

2012-02-21 Thread Sean Murphy
Hi Igor, Any time you have suggestions on improving my code. Please comment. I am always trying to improve. Thanks for the tip I will try it out. It has been over 7 years since I have done any real serious programming. So I am very rusty. I had written a program in C from memory which got th

Re: Keyboard scan codes with Term::Screen

2012-02-20 Thread Igor Dovgiy
Hi Sean, I don't have Term::Screen installed, but I checked its source - and it looks like whenever some 'non-function' (i.e., not navigational) key is pressed, getch() just gives out the corresponding symbol. Perhaps you'd just check for the spacebar and enter key values (32 and 10, respectively)

Keyboard scan codes with Term::Screen

2012-02-19 Thread Sean Murphy
Hi All. I am trying to create my own CLI navigation program. I am using Term::Screen since it is nice and simple. I am aware that there are other modules out there which does all this. But I want to learn more about the navigation of the cursor around the screen. Initially I am working with som