[sbopkg-users] r478 and Searchby Installed Packages
slakmagik
jsunx1 at bellsouth.net
Tue Feb 24 00:59:47 UTC 2009
On 2009-02-23 (Mon) 19:34:03 [-0500], Chess Griffin wrote:
> * alkos333 <me at alkos333.net> [2009-02-23 17:39:25]:
>
> > Never mind, just had to read the HELP... but it would be nice if this
> > somehow could be integrated in the UI.
> >
>
> How about something like the attached diff?
>
> --
> Chess Griffin
> Index: src/usr/bin/sbopkg
> ===================================================================
> --- src/usr/bin/sbopkg (revision 479)
> +++ src/usr/bin/sbopkg (working copy)
> @@ -2803,7 +2803,9 @@
> dialog --title "Search" --ok-label "PKG" \
> --extra-button --extra-label "String" \
> --help-button --inputbox \
> - "Enter your search term..." 8 39 2> $TERM_FILE
> + "Enter your search term (prefix your search with 'inst:' \
> + to narrow search to installed packages)..." 10 39 \
> + 2> $TERM_FILE
> case $? in # 0=PKG 3=String 1=Cancel 2=Help
> 3) STRING=yes ;;
> 2) dialog --title "Search Help" --msgbox \
Oh, put *that* in the UI. Yeah, that can be done. :)
More information about the sbopkg-users
mailing list