font (ab2043b81eaba0d7d7769b4a58b2b6d17bc464a3) | font (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: --- 62 unchanged lines hidden (view full) --- 71 72 size=$( eval f_dialog_menu_size \ 73 \"\$DIALOG_TITLE\" \ 74 \"\$DIALOG_BACKTITLE\" \ 75 \"\$prompt\" \ 76 \"\$hline\" \ 77 $menu_list ) 78 | 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: --- 62 unchanged lines hidden (view full) --- 71 72 size=$( eval f_dialog_menu_size \ 73 \"\$DIALOG_TITLE\" \ 74 \"\$DIALOG_BACKTITLE\" \ 75 \"\$prompt\" \ 76 \"\$hline\" \ 77 $menu_list ) 78 |
79 eval $DIALOG \ | 79 local dialog_menu 80 dialog_menu=$( eval $DIALOG \ |
80 --clear --title \"\$DIALOG_TITLE\" \ 81 --backtitle \"\$DIALOG_BACKTITLE\" \ 82 --hline \"\$hline\" \ 83 --ok-label \"\$msg_ok\" \ 84 --cancel-label \"\$msg_cancel\" \ 85 --menu \"\$prompt\" $size \ 86 $menu_list \ | 81 --clear --title \"\$DIALOG_TITLE\" \ 82 --backtitle \"\$DIALOG_BACKTITLE\" \ 83 --hline \"\$hline\" \ 84 --ok-label \"\$msg_ok\" \ 85 --cancel-label \"\$msg_cancel\" \ 86 --menu \"\$prompt\" $size \ 87 $menu_list \ |
87 2> "$DIALOG_TMPDIR/dialog.menu.$$" | 88 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD 89 ) 90 local retval=$? 91 setvar DIALOG_MENU_$$ "$dialog_menu" 92 return $retval |
88} 89 90############################################################ MAIN 91 92# Incorporate rc-file if it exists 93[ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc" 94 95# --- 110 unchanged lines hidden --- | 93} 94 95############################################################ MAIN 96 97# Incorporate rc-file if it exists 98[ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc" 99 100# --- 110 unchanged lines hidden --- |