Sometimes the flag descriptions are long, longer than the available space in dialog. Can anyone make ufed wrapping the description at right margin of that dialog-box? It is not really worth to look at the description if there is only 1/3 to read, and IMHO it is unconvienient to scroll 2 or more times right or left, because you have to scroll back to read the next line. maybe it is an option to use a command-line parameter --wrap to toggle this behaviour, to keep the default behavier for those who love that. might that be an Idea to enhance ufed? ervin
Wrapping is a bit hard to do, especially because ufed has to cope with terms the size of which can change after ufed's started. It's definitely a good idea, and I'll see if I can add it, but it'll take a while (especially since I would rather see filtering working first), so at this moment I'm more interested in a workaround. > because you have to scroll back to read the next line. You can use <Up><Down> (or anything else that changes which flag is selected) for this for now; it probably would be good to have a cleaner way for this though. Would having faster horizontal scrolling keys, similar to PgUp/PgDn for vertical scrolling, be good enough for now?
To give some feedback on this bug, as I have it on my todo list, I will implement this feature. But I have to ask for some patience. The ufed code handling the ncurses display is built upon the current "one item per row"-design. Yes, this means I have to change, or at least alter, some details of the core design of the display handling. While this is not that difficult, the whole code is, unfortunately, almost completely free of comments, and consists of names (variables and such) that do not really speak for themselves. So before I go juggling around lines of code, I'll see to the code being commented and described, first. This'll make things a lot easier in the future. My plan is to have at least a testing version including the line wrapping of the descriptions ready this months. Sorry for being this vague, but it is difficult to plan.
Hi, Sven! My name is Roman and I'm a user of ufed. How do you do! :) Personally, I don't like the idea of wrapping, but I'd love to have a key combo (like Ctrl+arrowkey) to fast-scroll left/right in the description. By "fast-scroll" I mean word-by-word or perhaps by the full width of the space available for the description. That might be easy to do.
(In reply to comment #3) > Hi, Sven! My name is Roman and I'm a user of ufed. How do you do! :) > > Personally, I don't like the idea of wrapping, but I'd love to have a key > combo (like Ctrl+arrowkey) to fast-scroll left/right in the description. By > "fast-scroll" I mean word-by-word or perhaps by the full width of the space > available for the description. That might be easy to do. That is a great idea! And yes, it is easier to implement, of course. But the line wrapping (optional, not turned on by default, or a lot of user would fall off their chairs! ;)) will make it into ufed, too. As I have written in bug 388377 I have added more flexibility to the display design to not have blank lines in the list when certain filters are turned on/off. These changes will, eventually, allow to wrap lines. Wrapping the descriptions, some are quite lengthy, would drive any user with a low res display nuts. But if you have a large xterm (or similar) but have to scroll horizontally now and so often, it is easier to read wrapped lines. In the meantime I guess two key combos for the left and right arrow keys like CTRL for per word and SHIFT for per window width scrolling would be a start. I really like that idea. :)
(In reply to comment #3) > Personally, I don't like the idea of wrapping, but I'd love to have a key > combo (like Ctrl+arrowkey) to fast-scroll left/right in the description. By > "fast-scroll" I mean word-by-word or perhaps by the full width of the space > available for the description. That might be easy to do. Another reply, because I did some searching to "just-put-it-in" but have found this: "curses doesn't do that" Source: http://invisible-island.net/ncurses/ncurses.faq.html#modified_keys However there are "workarounds", but I'll have to do some research on those first.
Quick note: This is on my todo list now that the 0.90_rc1 is out. Meta-keys are out, but the scrolling has been sped up, and the optional line wrapping will come. The interface code has been restructured so that this can be supported.
Today is wrapping day! (Took only seven and a half years... ;) ) The current live version of ufed has a new key (F11) enabled that will wrap the descriptions, and behave nicely, even when you resize your terminal window. However, although I am pretty sure to have tested all relevant combinations (Package list left or right, full or stripped descriptions, local and global descriptions), this is an experimental feature. Have fun wrapping!
This feature has been added to the new version 0.91 in the tree.