Subject: | |
From: | |
Reply To: | |
Date: | Fri, 13 Mar 1998 15:05:17 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Fri, 13 Mar 1998 10:57:11 -0800, Jacek Piskorz <[log in to unmask]>
wrote:
>Hi!
>I need help!
>How can I get in Cobol number of key, for example number of cursor keys,
>Prev, Next, Scrool down, up ........
>I don't want use function keys to scrool data on the screen but cursor
keys.
>How can I do it?
I've been waiting for someone else to reply to this, but seeing as how no
one has, here I go!
I did this a long time ago. It is not easy. You must open the terminal
for input/output using FOPEN/HPFOPEN and send commands to the terminal to
tell it not to deal with the cursor control keys locally, but to send them
to the host computer (your program) so you can process them. This means
you must use FREAD/FWRITE and other intrinsics, which is not impossible in
COBOL, just sort of messy. It gets *real* messy if you're trying to mix
View forms (block mode) and character I/O.
I know of one company in particular (SMGA) that does this with their
products,
but I don't know if he (Shawn Gordon) would be willing to share his
expertise
or not. You might try searching the Interex CSL and see if there is some
freeware in there that does something along these lines.
Good luck!
Jim Phillips Manager of Information Systems
E-Mail: [log in to unmask] Therm-O-Link, Inc.
Phone: (330) 527-2124 P. O. Box 285
Fax: (330) 527-2123 Garrettsville, Ohio 44231
|
|
|