Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123859 - ufed nonfunctional - can't make new window
Summary: ufed nonfunctional - can't make new window
Status: RESOLVED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Harald van Dijk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 14:00 UTC by molle.bestefich
Modified: 2006-04-02 22:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description molle.bestefich 2006-02-23 14:00:00 UTC
'ufed' doesn't work for me when run in a Xen virtual machine.

It complains about gpm and windowing - not sure which one of those faults blow it up.  I'm guessing it's lack of gpm.

# ufed
libgpm: zero screen dimension, assuming 80x25.
*** err [lib/liblow.c(329)]:
/dev/gpmctl: No such file or directory
Can't make new window at (13,19), size (-2,42).

Can ufed be made to work without gpm?
I can't see why gpm should actually be useful with ufed,
navigating the list using a keyboard is extremely easy..
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-23 14:14:57 UTC
Uhm, ufed doesn't depend on gpm. Re-emerge ncurses with USE=gpm and then recompile ufed.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-23 14:18:19 UTC
Eh, I meant USE="-gpm" obviously...
Comment 3 molle.bestefich 2006-02-23 14:40:28 UTC
Ok, apologies for the (non-)bug report then.

Is there any way to make use flags for ncurses permanent?

The system does emerge -D world automatically, so I guess it would probably emerge ncurses next time _without_ the -gpm flag?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-02-23 14:42:16 UTC
(In reply to comment #3)
> The system does emerge -D world automatically, so I guess it would probably
> emerge ncurses next time _without_ the -gpm flag?

echo "sys-libs/ncurses -gpm" >> /etc/portage/package.keywords 

Comment 5 molle.bestefich 2006-02-23 14:53:00 UTC
Hmm, -gpm doesn't help..

# echo "sys-libs/ncurses -gpm" >> /etc/portage/package.keywords
# emerge -D ncurses
[ ... ncurses is compiled and installed ... ]

# emerge -D ufed
[ ... ufed source is unpacked, ufed is installed - no compilation occurs? ... ]

# ufed
libgpm: zero screen dimension, assuming 80x25.
*** err [lib/liblow.c(329)]:
/dev/gpmctl: No such file or directory
Can't make new window at (13,19), size (-2,42).

Hmm?
Comment 6 molle.bestefich 2006-02-23 14:58:49 UTC
Replacing package.keywords with package.use made the gpm errors go away ;-).

Now ufed complains...:
  Can't make new window at (13,19), size (-2,42).
...and exits.

I wonder where it gets those window sizes from.
Comment 7 Harald van Dijk (RETIRED) gentoo-dev 2006-02-23 22:26:43 UTC
Could you please run <resize> and add the output? And if the output is sane, does <eval `resize`> fix things?
Comment 8 molle.bestefich 2006-02-24 00:17:46 UTC
Ooh.  Magic!

# echo $COLUMNS $LINES
80 24
# ufed

Can't make new window at (13,19), size (-2,42).

# resize
COLUMNS=132;
LINES=48;
export COLUMNS LINES;
# ufed  

... and like magic, it works.

Thank you! :-D
Comment 9 Harald van Dijk (RETIRED) gentoo-dev 2006-02-24 01:59:30 UTC
In that case, as far as ufed is concerned, this is not really a bug. It simply uses the system's ncurses and dialog. If they don't work for whatever reason, neither does ufed. I really don't know anything about Xen, so I don't know what might be the cause of this, sorry. You should probably use the forums or IRC to make sure this is a bug (rather than an incorrect setup), and if it isn't, close this, or if it is, provide the details necessary to reassign this bug to the person or people who handle wherever the problem lies.
Comment 10 Harald van Dijk (RETIRED) gentoo-dev 2006-04-02 22:24:59 UTC
No response on whether this is a configuration problem, and no response on where the bug may be if it's not, so closing.