AIX 3.2 - curses

AIX 3.2 - curses

Post by Ian G. Connel » Tue, 09 Jun 1992 21:36:08


I am having problems with curses under AIX 3.2, running on rs6k boxes.
The major problem at the moment seems to be with recognizing the function
keys on various terminals.  I have tried both curses and the extended
version and neither of them have been giving consistent results.

 1) the function keys always work on an HFT
 2) the function keys sometimes (some builds) work on a ibm3151
 3) the function keys return strange values on the 3151 using getch,
but when the keypad is off they return the expected control sequences.

I have tried :-

 1) recompiling/rebuilding the terminfo database
 2) using both curses and the extended variety
 3) cross linking - curses headers/extended library - extended
headers/curses library.
 4) writing a simple little program to turn on the keypad and then tell me
when the f10 key has been pressed.
 5) convincing users they only want to run my program on an HFT (from
within X-windows)

I have also observed other strange and unusual behaviour regarding screen
updates, sometimes the update will occur in the wrong place, with the
wrong data, resulting in an incorrect screen being drawn.

Is it possible that the libraries are linked with different headers than
I have?  or is it just another item I can add to the list of problems to
pester IBM about.

All feedback gratefully accepted.  Has IBM done it again?  Or is it me?


PS. I am starting to think I should write my own curses, at least I will
know who to blame if it does not work.

Ian Connelly (member : RSSP)
UNIX Systems Administrator  
Range and Dishwasher Division
Fisher & Paykel

RSSP -> Renegade Systems Support Personnel
Centralised support is a contradiction - 1000 miles away, running a
different OS - VM.

"The opinions expressed here are not those of any of my employers, and
I deny all knowledge of them also"


1. Problems with curses and AIX V4.3.2?


I am working on a "curses" based application which runs great under AIX V4.2.0,
however when we run it under AIX V4.3.2 it fails to return the terminal
session to "cooked mode". When the application exits we get the shell prompt,
but characters are not echoed and we have to type "reset" and "ctrl-enter"
to regain the terminal session. Strangely, if we go through "telnet" we
do not have this problem, even if we only login to the directly terminal
terminal and simply telnet in again.

Any suggestion for this problem would be greatly appreciated.


55 Vista Avenue
Winnipeg, Manitoba  R2M 4Z1             HOME: (204)-257-6701

55 Vista Avenue
Winnipeg, Manitoba  R2M 4Z1             HOME: (204)-257-6701

2. How to add ifdef condition in Makefile

3. curses in AIX 3.2

4. How to change screen resolution in Tru64 V4.0G?

5. How to map CECP <-> AIX Code for tn3270 for AIX 3.2?

6. Biggest disks supported under 2.3?

7. Need help with executables compiled on AIX 4.3 but being run on AIX 3.2

8. Need Help With Samba!!!!

9. Install AIX V4.2.1 on H50 which installed AIX V4.3.2 already

10. AIX 3.2 vs AIX 4.1 Implementation of Berkeley sockets

11. Install package AiX 3.2 on AiX 4.3

12. Malloc AIX 3.1 vs. AIX 3.2

13. Security Problem with AIX 3.2 and AIX 3.1.5 w/ PTF 2007