dan@hrc.UUCP (Dan Troxel) (08/09/89)
Convergent S-640 (MightyFrame II) CTIX 5.2.22 I have 2 problems. Both using the curses library. When I want to print one line 0, ( the top line on a GT,PT screen ), about half the time I can print something on the top line. How do I force a clear screen so that I can access all lines available on a PT/GT screen? This happens when I run UNIFY/ACCELL or any of the WGS office software. The second problem has to do with speed. I have a program that looks into a users directory and puts the filenames up on the terminal screen. I then highlight the first name on the screen. They can select a filename by using the arrow keys, which moves the highlight bar up and down the screen. The problem is that there seems to be a pause of a 1/2" second or so, every time they use the arrow keys. What exactly should I be using to get the selection of files, using the arrow keys, to be faster? All I use is getch() and key_init() to poll for the arrow keys. The WGS Office software has a windowing system that selects the files relatively fast, which I want to emulate, but CTAM just hogs too much memory. Any ideas or hints? I'm game for anything. -- Dan Troxel @ Handwriting Research Corporation WK 1-602-957-8870 Camelback Corporate Center 2821 E. Camelback Road Suite 600 Phoenix, AZ 85016 ncar!noao!asuvax!hrc!dan zardoz!hrc!dan hrc!dan@asuvax.asu.edu
dan@hrc.UUCP (Dan Troxel) (08/22/89)
Convergent S-640 (MightyFrame II) CTIX 5.2.22 I have 2 problems. Both using the curses library. When I want to print one line 0, ( the top line on a GT,PT screen ), about half the time I can print something on the top line. How do I force a clear screen so that I can access all lines available on a PT/GT screen? This happens when I run UNIFY/ACCELL or any of the WGS office software. The second problem has to do with speed. I have a program that looks into a users directory and puts the filenames up on the terminal screen. I then highlight the first name on the screen. They can select a filename by using the arrow keys, which moves the highlight bar up and down the screen. The problem is that there seems to be a pause of a 1/2" second or so, every time they use the arrow keys. What exactly should I be using to get the selection of files, using the arrow keys, to be faster? All I use is getch() and key_init() to poll for the arrow keys. The WGS Office software has a windowing system that selects the files relatively fast, which I want to emulate, but CTAM just hogs too much memory. Any ideas or hints? I'm game for anything. -- Dan Troxel @ Handwriting Research Corporation WK 1-602-957-8870 Camelback Corporate Center 2821 E. Camelback Road Suite 600 Phoenix, AZ 85016 ncar!noao!asuvax!hrc!dan zardoz!hrc!dan hrc!dan@asuvax.asu.edu