From 0f56ba135e7f542247aa384b03cdcb51c2fbe6c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Tue, 14 May 2019 06:42:29 -0300 Subject: [PATCH] archive: dragora-tools/dragora-keymap: minor changes --- archive/dragora-tools/dragora-keymap | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/archive/dragora-tools/dragora-keymap b/archive/dragora-tools/dragora-keymap index e7dc8b18..d87ccc78 100644 --- a/archive/dragora-tools/dragora-keymap +++ b/archive/dragora-tools/dragora-keymap @@ -95,13 +95,13 @@ fi # Header printf "%s\n" \ - 'dialog --colors \' \ - ' --backtitle "\Zb${PROGRAM} - Keyboard map selection" \' \ - ' --title "KEYMAPS" --default-item "qwerty/us" --menu \' \ - '"Welcome to \Zb\Z7${PROGRAM}\Zn!\n\n\' \ - 'The following menu list is organized as keyboard \n\' \ - '\"layout/language\". \n\n\' \ - 'Select a keyboard map for the console:" 24 56 12 \' \ + 'dialog --colors \' \ + ' --backtitle "\Zb${PROGRAM} - Keyboard map selection" \' \ + ' --title "MAIN MENU" --default-item "qwerty/us" --menu \' \ + '"Welcome to \Z3${PROGRAM}\Zn!\n\n\' \ + 'The following menu list is organized as keyboard \n\' \ + '\"layout/language\". \n\n\' \ + 'Select a keyboard map for the console:" 24 56 12 \' \ > $OUTPUT # Append 'search' to the body @@ -157,14 +157,14 @@ do testkeys="$( dialog --colors \ --no-mouse --no-cancel --no-ok \ - --backtitle "\Zb${PROGRAM} - Keyboard map test" \ + --backtitle "\Zb${PROGRAM} - Keyboard map check" \ --title "SELECTED KEYMAP: ${layout}/$map" \ - --inputbox "Try the chosen keyboard map by typing something.\n\n\ -Once satisfied type \Zb\Z71\Zn (or \Zb\Z7y\Zn) then press \Zb\Z7ENTER\Zn \ -to continue. \nYou can type \Zb\Z72\Zn (or \Zb\Z7n\Zn) plus \ -\Zb\Z7ENTER\Zn to choose a different keyboard map." 12 63 2>&1 > /dev/tty + --inputbox \ +"Try the chosen keyboard map by typing something. Once satisfied\n\ +type \Zb\Z71\Zn (or \Zb\Z7y\Zn) then hit \Zb\Z7ENTER\Zn \ +to continue. To choose a different keyboard map, type \Zb\Z72\Zn (or \ +\Zb\Z7n\Zn) plus \Zb\Z7ENTER\Zn." 10 68 2>&1 > /dev/tty )" - case $testkeys in 1 | Y | y) break @@ -180,7 +180,7 @@ unset testkeys dialog --colors \ --backtitle "\Zb${PROGRAM} - Configuration file" \ --title "/etc/rc.conf" --yesno \ -"Would do you like to save this change for the next reboot?." 6 64 +"Would do you like to save this change for the next reboot?" 5 62 dialog --clear -- 2.11.4.GIT