Bug 122336 - ncurses whithout gpm breaks console apps
Summary: ncurses whithout gpm breaks console apps
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ncurses
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Eido Inoue
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-03 13:34 UTC by Matt Phillips
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 5.4-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-06 16:24:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matt Phillips 2004-05-03 13:34:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b)
Gecko/20040421

Description of problem:
Apps such as "dialog" that rely on ncurses behave badly when run from
the console if /dev/gpmctl doesn't exist.  An error message (below) is
output to stderr.  The same applications work fine run not from the
console.  Recompiling ncurses without gpm support solves this.

Version-Release number of selected component (if applicable):
ncurses >= 5.3-5  (this was an issue in FC1 as well)

How reproducible:
Always

Steps to Reproduce:
1. Set up a machine without a mouse (or possibly stop gpm, just make
sure that /dev/gpmctl doesn't exist)
2. From the console, run:
dialog --msgbox "Hello World" 0 0 2>/tmp/foo
3. cat /tmp/foo


Actual Results:  The following is output to stderr from ncurses:
*** info [lib/liblow.c(326)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(333)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(377)]:
Oh, oh, it's an error! possibly I die!

Expected Results:  No error.

Additional info:


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