Thread View: comp.unix.programmer
1 messages
1 total messages
Started by Raymond Willis
Tue, 30 Oct 1990 20:19
Pick up characters as they are received from another terminal
Author: Raymond Willis
Date: Tue, 30 Oct 1990 20:19
Date: Tue, 30 Oct 1990 20:19
26 lines
1610 bytes
1610 bytes
I am writing a program which involves graphics and allows the operator to manipulate the display using arrow keys, etc. It is necessary that the program pick up each key as it is hit. I can do this if the terminal is the one from which the program is being run. However while the program is in debug proces,s it is much easier to direct the graphics to a terminal beside the one from which the program is being run and use the arrow keys from that same terminal. Then, one can have debug statements come out on the original terminal. The closest, I have come to achieving this goal is a program that picks up the character for every other key. It doesn't require a return key. If you are hitting arrow or function keys, it gets all three characters for the arrow, the first time you hit it, misses all three characters for the arrow, the second time, etc. Does anyone have a sample program where they have done this? Ican send copies of my two programs if desired. (I am running Xenix, release 2.3.2.) Thank you for your help. Raymond Willis, U. S. Forest Service -- \ / C r o s s r o a d s C o m m u n i c a t i o n s /\ (602) 941-2005 300|1200|2400 Baud 24 hrs/day / \ hplabs!hp-sdd!crash!xroads!willis
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads