[sbopkg-users] r478 and Searchby Installed Packages
alkos333
me at alkos333.net
Tue Feb 24 03:06:47 UTC 2009
On Mon, Feb 23, 2009 at 6:59 PM, slakmagik <jsunx1 at bellsouth.net> wrote:
> 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. :)
> _______________________________________________
> sbopkg-users mailing list
> sbopkg-users at sbopkg.org
> http://sbopkg.org/mailman/listinfo/sbopkg-users
>
This is definitely better.
--
Vince Lombardi - "Winning is habit. Unfortunately, so is losing."
More information about the sbopkg-users
mailing list