Article View: comp.os.os2.programmer
Article #151Curses error with EMX/GCC
From: Axel Uhl
Date: Tue, 03 Nov 1992 17:13
Date: Tue, 03 Nov 1992 17:13
14 lines
1106 bytes
1106 bytes
I tried porting an editor written under HP/UX. There I used the Curses library, and thus expected the port with the EMX Curses library to run well. After simulating some missing screen attributes (why the hell does the EMX Curses not support A_BLINK etc... ?) the code was compilable. But to my surprise I got a core dump when inputting something with scanw. Trying to track the problem down with gdb, I found out that an integer loop variable seemed to be corrupted. All this code ran well on the HP machine, so a programming error is unlikely. Has anyone a similar experience with the BSD Curses library, and how was the problem to solve? Thanks for any hints! Axel (auhl@fzi.de)
Technical Details
Message-ID:
<1992Nov3.171349.20423@fzi.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!gate.fzi.de!auhlShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!gate.fzi.de!auhl From: auhl@fzi.de (Axel Uhl) Subject: Curses error with EMX/GCC Message-ID: <1992Nov3.171349.20423@fzi.de> Keywords: Curses, bsd Sender: news@fzi.de (FZI-news) Reply-To: fzi.de Organization: Forschungszentrum Informatik (FZI), Karlsruhe, Germany Date: Tue, 3 Nov 1992 17:13:49 GMT Lines: 15