From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076335021282.tru64-unix-managers.marc@archive.invalid> From: Rick Beebe Date: Fri, 05 Jul 1996 14:13:56 +0000 To: tru64-unix-managers Subject: DU 4.0 breaks curses? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076335021282 I have a small database application, written in C and using curses. I wrote it a couple of years ago under DU 3.0 (OSF/1 then). Most recently I've been using 3.2C. Early last week I upgraded to DU 4.0. The program still runs fine unless I recompile it. If I compile it under DU 4, some curses behavior has (apparently) changed and I get a bizarre error. One minor problem is that some screen areas that were formerly reverse video no longer display that way. Annoying, but minor. I'm sure I'll figure that out. More problematic is the escape key which I use to back out of many screens. Current documentation says not to use the escape key as a single key, but that's what my users (who are using PCs) expect to use. The docs also say that after getting an escape, the program will wait a short time to see if other codes are forthcoming (such as when you hit a function key). After that timeout it will decide that you really did hit escape. All this has been working fine. Now, when you hit escape nothing happens. If you hit escape twice it dies with the following error: inst fault=opdec pid=27472 pc=0x120002734 ps=0x8 inst=0x53435224 Illegal instruction (core dumped) I try to find out where the problem is: %dbx ipnode core (dbx) where 0 (noname)() [0x120002734] I also get that error at various other times, usually after hitting an arrow key or somesuch, so it also seems to be 'escape' related. We have another alpha which is at DU 3.2b. I can compile the app there and copy it to the DU 4.0 machine and it runs fine. Has anyone else noticed differences such as these, and does anyone have any hints on where I might look to fix them? Thanks for your help. _____________________________________________________________________ Rick Beebe (203) 785-4566 Data Network Operations FAX: (203) 737-4037 Biomedical Computing Unit Richard.Beebe@yale.edu Yale University School of Medicine 333 Cedar Street, New Haven, CT 06510 _____________________________________________________________________