27c27
< # $FreeBSD: head/usr.sbin/bsdconfig/share/packages/packages.subr 251236 2013-06-01 23:58:44Z dteske $
---
> # $FreeBSD: head/usr.sbin/bsdconfig/share/packages/packages.subr 251264 2013-06-02 20:02:50Z dteske $
280c280,285
< local var_to_get="$1" defaultitem="$2" category_list menu_list
---
> local var_to_get="$1" defaultitem="$2"
> local prompt="$msg_please_select_a_category_to_display"
> local menu_list="
> '> $msg_review' '$msg_review_desc' '$msg_review_help'
> " # End-Quote
> local hline=
286a292
> local category_list
292,293c298,299
< local prompt="$msg_please_select_a_category_to_display"
< local hline=""
---
> # Add list of categories to menu list
> menu_list="$menu_list $category_list"
295,299d300
< menu_list="
< '> $msg_review' '$msg_review_desc' '$msg_review_help'
< $category_list
< " # End-Quote
<
368,369c369,373
< local category="$1" page="${2:-1}" defaultitem="$3"
< local varcat npkgs=0 npages menu_list
---
> local category="$1" page="${2:-1}"
> local prompt= # Calculated below
> local menu_list # Calculated below
> local defaultitem="$3"
> local hline="$hline_arrows_tab_punc_enter"
372a377
> local varcat
374d378
< f_package_index_get_page "$category" $page index_page
376a381
> local npkgs=0
383c388
< npages=$(( ${npkgs:=0} / $PACKAGE_MENU_PAGESIZE ))
---
> local npages=$(( ${npkgs:=0} / $PACKAGE_MENU_PAGESIZE ))
409a415,417
> local index_page
> f_package_index_get_page "$category" $page index_page
>
449d456
< local prompt=""
459d465
< local hline="$hline_arrows_tab_punc_enter"
512,515c518,520
< local package="$1" prompt menu_list
< prompt=$( printf "$msg_what_would_you_like_to_do_with" "$package" )
< local hline="$hline_alnum_arrows_punc_tab_enter"
< menu_list="
---
> local package="$1"
> local prompt # Calculated below
> local menu_list="
519a525
> local hline="$hline_alnum_arrows_punc_tab_enter"
520a527,528
> prompt=$( printf "$msg_what_would_you_like_to_do_with" "$package" )
>
554,556c562,563
< local prompt package varpkg mark menu_list=
< prompt=$( printf "$msg_reviewing_selected_packages" \
< "$_All_nselected" )
---
> local prompt # Calculated below
> local menu_list # Calculated below
557a565
>
559a568,571
>
> prompt=$( printf "$msg_reviewing_selected_packages" "$_All_nselected" )
>
> local package varpkg mark
< # $FreeBSD: head/usr.sbin/bsdconfig/share/packages/packages.subr 251236 2013-06-01 23:58:44Z dteske $
---
> # $FreeBSD: head/usr.sbin/bsdconfig/share/packages/packages.subr 251264 2013-06-02 20:02:50Z dteske $
280c280,285
< local var_to_get="$1" defaultitem="$2" category_list menu_list
---
> local var_to_get="$1" defaultitem="$2"
> local prompt="$msg_please_select_a_category_to_display"
> local menu_list="
> '> $msg_review' '$msg_review_desc' '$msg_review_help'
> " # End-Quote
> local hline=
286a292
> local category_list
292,293c298,299
< local prompt="$msg_please_select_a_category_to_display"
< local hline=""
---
> # Add list of categories to menu list
> menu_list="$menu_list $category_list"
295,299d300
< menu_list="
< '> $msg_review' '$msg_review_desc' '$msg_review_help'
< $category_list
< " # End-Quote
<
368,369c369,373
< local category="$1" page="${2:-1}" defaultitem="$3"
< local varcat npkgs=0 npages menu_list
---
> local category="$1" page="${2:-1}"
> local prompt= # Calculated below
> local menu_list # Calculated below
> local defaultitem="$3"
> local hline="$hline_arrows_tab_punc_enter"
372a377
> local varcat
374d378
< f_package_index_get_page "$category" $page index_page
376a381
> local npkgs=0
383c388
< npages=$(( ${npkgs:=0} / $PACKAGE_MENU_PAGESIZE ))
---
> local npages=$(( ${npkgs:=0} / $PACKAGE_MENU_PAGESIZE ))
409a415,417
> local index_page
> f_package_index_get_page "$category" $page index_page
>
449d456
< local prompt=""
459d465
< local hline="$hline_arrows_tab_punc_enter"
512,515c518,520
< local package="$1" prompt menu_list
< prompt=$( printf "$msg_what_would_you_like_to_do_with" "$package" )
< local hline="$hline_alnum_arrows_punc_tab_enter"
< menu_list="
---
> local package="$1"
> local prompt # Calculated below
> local menu_list="
519a525
> local hline="$hline_alnum_arrows_punc_tab_enter"
520a527,528
> prompt=$( printf "$msg_what_would_you_like_to_do_with" "$package" )
>
554,556c562,563
< local prompt package varpkg mark menu_list=
< prompt=$( printf "$msg_reviewing_selected_packages" \
< "$_All_nselected" )
---
> local prompt # Calculated below
> local menu_list # Calculated below
557a565
>
559a568,571
>
> prompt=$( printf "$msg_reviewing_selected_packages" "$_All_nselected" )
>
> local package varpkg mark