rcadd (ab2043b81eaba0d7d7769b4a58b2b6d17bc464a3) rcadd (89498fdf4174b08bb67d684d14886539aff698b4)
1#!/bin/sh
2#-
3# Copyright (c) 2012 Devin Teske
4# All Rights Reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 58 unchanged lines hidden (view full) ---

67
68 size=$( eval f_dialog_menu_size \
69 \"\$DIALOG_TITLE\" \
70 \"\$DIALOG_BACKTITLE\" \
71 \"\$prompt\" \
72 \"\$hline\" \
73 $menu_list )
74
1#!/bin/sh
2#-
3# Copyright (c) 2012 Devin Teske
4# All Rights Reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 58 unchanged lines hidden (view full) ---

67
68 size=$( eval f_dialog_menu_size \
69 \"\$DIALOG_TITLE\" \
70 \"\$DIALOG_BACKTITLE\" \
71 \"\$prompt\" \
72 \"\$hline\" \
73 $menu_list )
74
75 eval $DIALOG \
75 local dialog_menu
76 dialog_menu=$( eval $DIALOG \
76 --clear --title \"\$DIALOG_TITLE\" \
77 --backtitle \"\$DIALOG_BACKTITLE\" \
78 --hline \"\$hline\" \
79 --ok-label \"\$msg_ok\" \
80 --cancel-label \"\$msg_cancel\" \
81 --menu \"\$prompt\" $size \
82 $menu_list \
77 --clear --title \"\$DIALOG_TITLE\" \
78 --backtitle \"\$DIALOG_BACKTITLE\" \
79 --hline \"\$hline\" \
80 --ok-label \"\$msg_ok\" \
81 --cancel-label \"\$msg_cancel\" \
82 --menu \"\$prompt\" $size \
83 $menu_list \
83 2> "$DIALOG_TMPDIR/dialog.menu.$$"
84 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
85 )
86 local retval=$?
87 setvar DIALOG_MENU_$$ "$dialog_menu"
88 return $retval
84}
85
86############################################################ MAIN
87
88# Incorporate rc-file if it exists
89[ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc"
90
91#

--- 62 unchanged lines hidden ---
89}
90
91############################################################ MAIN
92
93# Incorporate rc-file if it exists
94[ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc"
95
96#

--- 62 unchanged lines hidden ---