keymap (ab2043b81eaba0d7d7769b4a58b2b6d17bc464a3) keymap (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:

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

111
112 size=$( eval f_dialog_menu_size \
113 \"\$DIALOG_TITLE\" \
114 \"\$DIALOG_BACKTITLE\" \
115 \"\$prompt\" \
116 \"\$hline\" \
117 $menu_list )
118
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:

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

111
112 size=$( eval f_dialog_menu_size \
113 \"\$DIALOG_TITLE\" \
114 \"\$DIALOG_BACKTITLE\" \
115 \"\$prompt\" \
116 \"\$hline\" \
117 $menu_list )
118
119 eval $DIALOG \
119 local dialog_menu
120 dialog_menu=$( eval $DIALOG \
120 --clear --title \"\$DIALOG_TITLE\" \
121 --backtitle \"\$DIALOG_BACKTITLE\" \
122 --hline \"\$hline\" \
123 --ok-label \"\$msg_ok\" \
124 --cancel-label \"\$msg_cancel\" \
125 --menu \"\$prompt\" $size \
126 $menu_list \
121 --clear --title \"\$DIALOG_TITLE\" \
122 --backtitle \"\$DIALOG_BACKTITLE\" \
123 --hline \"\$hline\" \
124 --ok-label \"\$msg_ok\" \
125 --cancel-label \"\$msg_cancel\" \
126 --menu \"\$prompt\" $size \
127 $menu_list \
127 2> "$DIALOG_TMPDIR/dialog.menu.$$"
128 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
129 )
130 local retval=$?
131 setvar DIALOG_MENU_$$ "$dialog_menu"
132 return $retval
128}
129
130############################################################ MAIN
131
132# Incorporate rc-file if it exists
133[ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc"
134
135#

--- 230 unchanged lines hidden ---
133}
134
135############################################################ MAIN
136
137# Incorporate rc-file if it exists
138[ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc"
139
140#

--- 230 unchanged lines hidden ---