This is a feature request. emerge --search produces long output which can scroll off the screen. There are two features that might make this more useful. 1) add a --pause switch which would have the effect of emerge --search <package> |less this way the user could scroll the list. This is similar to the way etc-update handles proposed changes. 2) add a --brief switch for --search so output could be limited to one line in a fashion similar to the way --pretend does. This will also limit scroll. Reproducible: Always Steps to Reproduce: 1. emerge --search <package> 2. 3. Actual Results: long format data can scroll off screen Expected Results: (well, desired results) 1) emerge --search |less emerge --search --pause 2) or a brief one-line per package output emerge --search --brief The two options can be combined incase the <package> regex has many items. A brief format for --search could be <package name> <installed version> <available version> <description> JM2C
I suppose versions could be added to that, but the descriptions are not really short or predictable. carpaski@fenchurch ~ $ emerge -sq portage Searching... [ Results for search key : portage ] [ Applications found : 4 ] * app-portage/portage-manpages * app-portage/portage-prefpane [ Masked ] * app-portage/portagemaster * sys-apps/portage
Ouch, my bad! I did not see the -q option. :( But I see the problem with descriptions. I suppose, without getting overly complicated, you _might_ be able to format the output to fit in an 80 column format and have fixed locations for each variable and truncate if too long????? Anyway, it's just a thought. I think having versioning and installation information is important and descriptions beneficial!
I don't see a need for --pause if emerge -s foo | less does the trick...
agreed, that's what PAGER's are for