Bug 3869 - problems with programs written in c++ and using ncurses
problems with programs written in c++ and using ncurses
Product: Red Hat Linux
Classification: Retired
Component: ncurses (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
Depends On:
  Show dependency treegraph
Reported: 1999-07-02 10:38 EDT by Péter, Soós
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-05-05 13:13:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Péter, Soós 1999-07-02 10:38:46 EDT
There are problems with programs written in c++ and using
ncurses in Redhat Linux 6.0. You'd change in the build
section of spec file as follows:

        --prefix=/usr --with-install-prefix=$RPM_BUILD_ROOT\
        --with-normal --with-shared --with-debug \
--with-profile --with-cxx --without-ada \
Comment 1 Michael K. Johnson 1999-07-29 18:06:59 EDT
We know of several programs written in C++ which use ncurses and
which work fine in 6.0.  Could you please supply more specifics
about what programs aren't working for you and what the problems
are?  Thanks.
Comment 2 Péter, Soós 1999-08-03 09:17:59 EDT
See le-1.5.0-1.src.rpm package on contrib.redhat.com/libc6.
Comment 3 Preston Brown 1999-08-29 11:59:59 EDT
I had no problem compiling the le package, other than the fact that it
uses the old %attr(mode) format, where it should use
%attr(mode,owner,group) format.  This is why packaging the RPM fails.
Comment 4 Péter, Soós 1999-08-30 02:13:59 EDT
Not the building is the problem but using. The screen handling is
buggy if ncurses is compiled without --with-cxx (e.g. scrolling
down and up fills my screen with the status bar). Ask the author of
the program Alexander V. Lukyanov <lav@yars.free.net>. He suggested
the solution.
Comment 5 Preston Brown 1999-09-23 13:51:59 EDT
I have problems with le even when ncurses is compiled with
"--with-cxx" instead of "--without-cxx".  I don't think the problem
lies there.  the --with-cxx only changes one thing -- it builds the
C++ demos.  It doesn't enable/disable cxx support.

This seems to be an le problem, not an ncurses problem, as far as my
research shows.
Comment 6 Péter, Soós 1999-09-24 03:33:59 EDT
I rebuilt the ncurses package with --with-cxx, install it and after it
I built le-1.5.2-1.src.rpm package on contrib.redhat.com/libc6 and it
works fine.
Comment 7 Preston Brown 2000-05-05 13:13:59 EDT
ncurses has been fixed for this in 6.2 and later.

Note You need to log in before you can comment on or make changes to this bug.