Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1824 - ebuild for LFM (Last File Manager)
Summary: ebuild for LFM (Last File Manager)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-15 22:47 UTC by Ollie Rutherfurd
Modified: 2003-02-04 19:29 UTC (History)
0 users

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


Attachments
ebuild for lfm-0.8 (lfm-0.8.ebuild,626 bytes, text/plain)
2002-04-15 22:48 UTC, Ollie Rutherfurd
Details
Updated ebuild (lfm-0.9.ebuild,600 bytes, application/octet-stream)
2002-12-14 17:23 UTC, Justin Lambert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ollie Rutherfurd 2002-04-15 22:47:54 UTC
Hi,  
  
I've attached an ebuild for LFM (Last File Manager), a  
midnight commander clone (written in Python).  
 
It is a new ebuild. 
 
-Ollie Rutherfurd
Comment 1 Ollie Rutherfurd 2002-04-15 22:48:28 UTC
Created attachment 573 [details]
ebuild for lfm-0.8
Comment 2 Jon Nelson (RETIRED) 2002-04-25 22:26:30 UTC
I tried the supplied ebuild, and it works just fine.
However, lfm itself doesn't run on my machine.
The code uses curses.curs_set(0), which raises an exception in my (normal)
xterms.  If the author of lfm releases a patch which fixes this problem in one
way or another, then we'll look at it then.  Until then, since it doesn't work,
I'm reluctant to put it in the archive.

I'll hang on to the ebuild and stuff for a while yet (couple of weeks, at least).



From the python documentation:

curs_set(visibility)
Sets the cursor state. visibility can be set to 0, 1, or 2, for invisible,
normal, or very visible. If the terminal supports the visibility requested, the
previous cursor state is returned; otherwise, an exception is raised. On many
terminals, the ``visible'' mode is an underline cursor and the ``very visible''
mode is a block cursor. 
Comment 3 Justin Lambert 2002-12-14 17:23:52 UTC
Created attachment 6508 [details]
Updated ebuild

Here is an updated ebuild for lfm-0.9.	It appears to install just fine but
does not run correctly and I am not a python dev to try to figure out if there
is a simple reason.  Here is the trace:

Traceback (most recent call last):
  File "/usr/bin/lfm", line 23, in ?
    LfmApp(sys.argv)
  File "/usr/lib/python2.2/site-packages/lfm/lfm.py", line 2827, in LfmApp
    path = curses.wrapper(main, paths, npanels)
  File "/usr/lib/python2.2/curses/wrapper.py", line 44, in wrapper
    res = apply(func, (stdscr,) + rest)
  File "/usr/lib/python2.2/site-packages/lfm/lfm.py", line 2758, in main
    app = Lfm(path, npanels)
  File "/usr/lib/python2.2/site-packages/lfm/lfm.py", line 65, in __init__
    self.init_curses()
  File "/usr/lib/python2.2/site-packages/lfm/lfm.py", line 92, in init_curses
    curses.curs_set(0)
_curses.error: curs_set() returned ERR
Comment 4 Andre Heidemann 2003-01-18 16:27:52 UTC
A simple way to outrun this error is to set the TERM variable to linux. It works
fine for me.
Comment 5 Brad Cowan (RETIRED) gentoo-dev 2003-01-25 18:51:19 UTC
I'm not going to take the liberty to put a buggy filemanager in portage...hold
on to the ebuild and if it becomes better developed resubmit