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
Created attachment 573 [details] ebuild for lfm-0.8
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.
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
A simple way to outrun this error is to set the TERM variable to linux. It works fine for me.
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