diff options
| author | Roland Eggner <edvx1@systemanalysen.net> | 2013-02-01 13:27:04 -0500 |
|---|---|---|
| committer | Yann E. MORIN <yann.morin.1998@free.fr> | 2013-02-08 19:42:35 -0500 |
| commit | 0b61650044e9044d3843047fe015fc0ea7943430 (patch) | |
| tree | 92f57772bdf89993b70ed666f06b18593cce8896 /scripts | |
| parent | aed9934bf182c049d966bd106ad7e2b43c46c718 (diff) | |
kconfig: nconf: rewrite help texts
>From: Roland Eggner <edvx1@systemanalysen.net>
Rewrite all help texts. During several years lazy (incomplete) updates have
left behind a rather thick layer of dust. Intentions:
(1) Global help called by <F1> should document all _currently_ implemented
keybindings.
(2) Different help texts called by <F3> resp. <F8><F1> should be consistent
with (1) and with implementation:
• on plain menu entry
• in radiolist window
• in input windows for text, decimal or hexadecimal values
• in filename selection windows <F6> <F7>
• SymSearch specific help called by <F8> followed by <F1>
(3) More reasonable window titles:
Rename window title s/README/Global help/
Rename variable s/nconf_readme/nconf_global_help/
Rename window title s/Instructions/Short help/
(4) Consider which hints are most useful for first-time-users.
Signed-off-by: Roland Eggner <edvx1@systemanalysen.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: a few additional fixes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/nconf.c | 320 |
1 files changed, 156 insertions, 164 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index ce93e879a29c..65c672cce823 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c | |||
| @@ -13,210 +13,202 @@ | |||
| 13 | #include "nconf.h" | 13 | #include "nconf.h" |
| 14 | #include <ctype.h> | 14 | #include <ctype.h> |
| 15 | 15 | ||
| 16 | static const char nconf_readme[] = N_( | 16 | static const char nconf_global_help[] = N_( |
| 17 | "Overview\n" | 17 | "Help windows\n" |
| 18 | "--------\n" | 18 | "------------\n" |
| 19 | "This interface let you select features and parameters for the build.\n" | 19 | "o Global help: Unless in a data entry window, pressing <F1> will give \n" |
| 20 | "Features can either be built-in, modularized, or ignored. Parameters\n" | 20 | " you the global help window, which you are just reading.\n" |
| 21 | "must be entered in as decimal or hexadecimal numbers or text.\n" | ||
| 22 | "\n" | 21 | "\n" |
| 23 | "Menu items beginning with following braces represent features that\n" | 22 | "o A short version of the global help is available by pressing <F3>.\n" |
| 24 | " [ ] can be built in or removed\n" | ||
| 25 | " < > can be built in, modularized or removed\n" | ||
| 26 | " { } can be built in or modularized (selected by other feature)\n" | ||
| 27 | " - - are selected by other feature,\n" | ||
| 28 | " XXX cannot be selected. Use Symbol Info to find out why,\n" | ||
| 29 | "while *, M or whitespace inside braces means to build in, build as\n" | ||
| 30 | "a module or to exclude the feature respectively.\n" | ||
| 31 | "\n" | 23 | "\n" |
| 32 | "To change any of these features, highlight it with the cursor\n" | 24 | "o Local help: To get help related to the current menu entry, use any\n" |
| 33 | "keys and press <Y> to build it in, <M> to make it a module or\n" | 25 | " of <?> <h>, or if in a data entry window then press <F1>.\n" |
| 34 | "<N> to removed it. You may also press the <Space Bar> to cycle\n" | ||
| 35 | "through the available options (ie. Y->N->M->Y).\n" | ||
| 36 | "\n" | 26 | "\n" |
| 37 | "Some additional keyboard hints:\n" | ||
| 38 | "\n" | 27 | "\n" |
| 39 | "Menus\n" | 28 | "Menu entries\n" |
| 40 | "----------\n" | 29 | "------------\n" |
| 41 | "o Use the Up/Down arrow keys (cursor keys) to highlight the item\n" | 30 | "This interface lets you select features and parameters for the kernel\n" |
| 42 | " you wish to change use <Enter> or <Space>. Goto submenu by \n" | 31 | "build. Kernel features can either be built-in, modularized, or removed.\n" |
| 43 | " pressing <Enter> of <right-arrow>. Use <Esc> or <left-arrow> to go back.\n" | 32 | "Parameters must be entered as text or decimal or hexadecimal numbers.\n" |
| 44 | " Submenus are designated by \"--->\".\n" | ||
| 45 | "\n" | ||
| 46 | " Searching: pressing '/' triggers interactive search mode.\n" | ||
| 47 | " nconfig performs a case insensitive search for the string\n" | ||
| 48 | " in the menu prompts (no regex support).\n" | ||
| 49 | " Pressing the up/down keys highlights the previous/next\n" | ||
| 50 | " matching item. Backspace removes one character from the\n" | ||
| 51 | " match string. Pressing either '/' again or ESC exits\n" | ||
| 52 | " search mode. All other keys behave normally.\n" | ||
| 53 | "\n" | 33 | "\n" |
| 54 | " You may also use the <PAGE UP> and <PAGE DOWN> keys to scroll\n" | 34 | "Menu entries beginning with following braces represent features that\n" |
| 55 | " unseen options into view.\n" | 35 | " [ ] can be built in or removed\n" |
| 36 | " < > can be built in, modularized or removed\n" | ||
| 37 | " { } can be built in or modularized, are selected by another feature\n" | ||
| 38 | " - - are selected by another feature\n" | ||
| 39 | " XXX cannot be selected. Symbol Info <F2> tells you why.\n" | ||
| 40 | "*, M or whitespace inside braces means to build in, build as a module\n" | ||
| 41 | "or to exclude the feature respectively.\n" | ||
| 56 | "\n" | 42 | "\n" |
| 57 | "o To exit a menu use the just press <ESC> <F5> <F8> or <left-arrow>.\n" | 43 | "To change any of these features, highlight it with the movement keys\n" |
| 44 | "listed below and press <y> to build it in, <m> to make it a module or\n" | ||
| 45 | "<n> to remove it. You may press the <Space> key to cycle through the\n" | ||
| 46 | "available options.\n" | ||
| 58 | "\n" | 47 | "\n" |
| 59 | "o To get help with an item, press <F1>\n" | 48 | "A trailing \"--->\" designates a submenu.\n" |
| 60 | " Shortcut: Press <h> or <?>.\n" | ||
| 61 | "\n" | 49 | "\n" |
| 62 | "\n" | 50 | "\n" |
| 63 | "Radiolists (Choice lists)\n" | 51 | "Menu navigation keys\n" |
| 64 | "-----------\n" | 52 | "----------------------------------------------------------------------\n" |
| 65 | "o Use the cursor keys to select the option you wish to set and press\n" | 53 | "Linewise up <Up>\n" |
| 66 | " <S> or the <SPACE BAR>.\n" | 54 | "Linewise down <Down>\n" |
| 55 | "Pagewise up <Page Up>\n" | ||
| 56 | "Pagewise down <Page Down>\n" | ||
| 57 | "First entry <Home>\n" | ||
| 58 | "Last entry <End>\n" | ||
| 59 | "Enter a submenu <Right> <Enter>\n" | ||
| 60 | "Go back to parent menu <Left> <Esc> <F5>\n" | ||
| 61 | "Close a help window <Enter> <Esc> <F5>\n" | ||
| 62 | "Close entry window, apply <Enter>\n" | ||
| 63 | "Close entry window, forget <Esc> <F5>\n" | ||
| 64 | "Start incremental, case-insensitive search for STRING in menu entries,\n" | ||
| 65 | " no regex support, STRING is displayed in upper left corner\n" | ||
| 66 | " </>STRING\n" | ||
| 67 | " Remove last character <Backspace>\n" | ||
| 68 | " Jump to next hit <Down>\n" | ||
| 69 | " Jump to previous hit <Up>\n" | ||
| 70 | "Exit menu search mode </> <Esc>\n" | ||
| 71 | "Search for configuration variables with or without leading CONFIG_\n" | ||
| 72 | " <F8>RegExpr<Enter>\n" | ||
| 73 | "Verbose search help <F8><F1>\n" | ||
| 74 | "----------------------------------------------------------------------\n" | ||
| 67 | "\n" | 75 | "\n" |
| 68 | " Shortcut: Press the first letter of the option you wish to set then\n" | 76 | "Unless in a data entry window, key <1> may be used instead of <F1>,\n" |
| 69 | " press <S> or <SPACE BAR>.\n" | 77 | "<2> instead of <F2>, etc.\n" |
| 70 | "\n" | 78 | "\n" |
| 71 | "o To see available help for the item, press <F1>\n" | ||
| 72 | " Shortcut: Press <H> or <?>.\n" | ||
| 73 | "\n" | 79 | "\n" |
| 80 | "Radiolist (Choice list)\n" | ||
| 81 | "-----------------------\n" | ||
| 82 | "Use the movement keys listed above to select the option you wish to set\n" | ||
| 83 | "and press <Space>.\n" | ||
| 74 | "\n" | 84 | "\n" |
| 75 | "Data Entry\n" | ||
| 76 | "-----------\n" | ||
| 77 | "o Enter the requested information and press <ENTER>\n" | ||
| 78 | " If you are entering hexadecimal values, it is not necessary to\n" | ||
| 79 | " add the '0x' prefix to the entry.\n" | ||
| 80 | "\n" | 85 | "\n" |
| 81 | "o For help, press <F1>.\n" | 86 | "Data entry\n" |
| 87 | "----------\n" | ||
| 88 | "Enter the requested information and press <Enter>. Hexadecimal values\n" | ||
| 89 | "may be entered without the \"0x\" prefix.\n" | ||
| 82 | "\n" | 90 | "\n" |
| 83 | "\n" | 91 | "\n" |
| 84 | "Text Box (Help Window)\n" | 92 | "Text Box (Help Window)\n" |
| 85 | "--------\n" | 93 | "----------------------\n" |
| 86 | "o Use the cursor keys to scroll up/down/left/right. The VI editor\n" | 94 | "Use movement keys as listed in table above.\n" |
| 87 | " keys h,j,k,l function here as do <u>, <d> and <SPACE BAR> for\n" | ||
| 88 | " those who are familiar with less and lynx.\n" | ||
| 89 | "\n" | 95 | "\n" |
| 90 | "o Press <Enter>, <F1>, <F5>, <F9>, <q> or <Esc> to exit.\n" | 96 | "Press any of <Enter> <Esc> <q> <F5> <F9> to exit.\n" |
| 91 | "\n" | 97 | "\n" |
| 92 | "\n" | 98 | "\n" |
| 93 | "Alternate Configuration Files\n" | 99 | "Alternate configuration files\n" |
| 94 | "-----------------------------\n" | 100 | "-----------------------------\n" |
| 95 | "nconfig supports the use of alternate configuration files for\n" | 101 | "nconfig supports switching between different configurations.\n" |
| 96 | "those who, for various reasons, find it necessary to switch\n" | 102 | "Press <F6> to save your current configuration. Press <F7> and enter\n" |
| 97 | "between different configurations.\n" | 103 | "a file name to load a previously saved configuration.\n" |
| 98 | "\n" | 104 | "\n" |
| 99 | "At the end of the main menu you will find two options. One is\n" | ||
| 100 | "for saving the current configuration to a file of your choosing.\n" | ||
| 101 | "The other option is for loading a previously saved alternate\n" | ||
| 102 | "configuration.\n" | ||
| 103 | "\n" | 105 | "\n" |
| 104 | "Even if you don't use alternate configuration files, but you\n" | 106 | "Terminal configuration\n" |
| 105 | "find during a nconfig session that you have completely messed\n" | 107 | "----------------------\n" |
| 106 | "up your settings, you may use the \"Load Alternate...\" option to\n" | 108 | "If you use nconfig in a xterm window, make sure your TERM environment\n" |
| 107 | "restore your previously saved settings from \".config\" without\n" | 109 | "variable specifies a terminal configuration which supports at least\n" |
| 108 | "restarting nconfig.\n" | 110 | "16 colors. Otherwise nconfig will look rather bad.\n" |
| 109 | "\n" | 111 | "\n" |
| 110 | "Other information\n" | 112 | "If the \"stty size\" command reports the current terminalsize correctly,\n" |
| 111 | "-----------------\n" | 113 | "nconfig will adapt to sizes larger than the traditional 80x25 \"standard\"\n" |
| 112 | "If you use nconfig in an XTERM window make sure you have your\n" | 114 | "and display longer menus properly.\n" |
| 113 | "$TERM variable set to point to a xterm definition which supports color.\n" | ||
| 114 | "Otherwise, nconfig will look rather bad. nconfig will not\n" | ||
| 115 | "display correctly in a RXVT window because rxvt displays only one\n" | ||
| 116 | "intensity of color, bright.\n" | ||
| 117 | "\n" | 115 | "\n" |
| 118 | "nconfig will display larger menus on screens or xterms which are\n" | ||
| 119 | "set to display more than the standard 25 row by 80 column geometry.\n" | ||
| 120 | "In order for this to work, the \"stty size\" command must be able to\n" | ||
| 121 | "display the screen's current row and column geometry. I STRONGLY\n" | ||
| 122 | "RECOMMEND that you make sure you do NOT have the shell variables\n" | ||
| 123 | "LINES and COLUMNS exported into your environment. Some distributions\n" | ||
| 124 | "export those variables via /etc/profile. Some ncurses programs can\n" | ||
| 125 | "become confused when those variables (LINES & COLUMNS) don't reflect\n" | ||
| 126 | "the true screen size.\n" | ||
| 127 | "\n" | 116 | "\n" |
| 128 | "Optional personality available\n" | 117 | "Single menu mode\n" |
| 129 | "------------------------------\n" | 118 | "----------------\n" |
| 130 | "If you prefer to have all of the options listed in a single menu, rather\n" | 119 | "If you prefer to have all of the menu entries listed in a single menu,\n" |
| 131 | "than the default multimenu hierarchy, run the nconfig with NCONFIG_MODE\n" | 120 | "rather than the default multimenu hierarchy, run nconfig with\n" |
| 132 | "environment variable set to single_menu. Example:\n" | 121 | "NCONFIG_MODE environment variable set to single_menu. Example:\n" |
| 133 | "\n" | 122 | "\n" |
| 134 | "make NCONFIG_MODE=single_menu nconfig\n" | 123 | "make NCONFIG_MODE=single_menu nconfig\n" |
| 135 | "\n" | 124 | "\n" |
| 136 | "<Enter> will then unroll the appropriate category, or enfold it if it\n" | 125 | "<Enter> will then unfold the appropriate category, or fold it if it\n" |
| 137 | "is already unrolled.\n" | 126 | "is already unfolded. Folded menu entries will be designated by a\n" |
| 127 | "leading \"++>\" and unfolded entries by a leading \"-->\".\n" | ||
| 138 | "\n" | 128 | "\n" |
| 139 | "Note that this mode can eventually be a little more CPU expensive\n" | 129 | "Note that this mode can eventually be a little more CPU expensive than\n" |
| 140 | "(especially with a larger number of unrolled categories) than the\n" | 130 | "the default mode, especially with a larger number of unfolded submenus.\n" |
| 141 | "default mode.\n" | ||
| 142 | "\n"), | 131 | "\n"), |
| 143 | menu_no_f_instructions[] = N_( | 132 | menu_no_f_instructions[] = N_( |
| 144 | " You do not have function keys support. Please follow the\n" | 133 | "Legend: [*] built-in [ ] excluded <M> module < > module capable.\n" |
| 145 | " following instructions:\n" | 134 | "Submenus are designated by a trailing \"--->\".\n" |
| 146 | " Arrow keys navigate the menu.\n" | 135 | "\n" |
| 147 | " <Enter> or <right-arrow> selects submenus --->.\n" | 136 | "Use the following keys to navigate the menus:\n" |
| 148 | " Capital Letters are hotkeys.\n" | 137 | "Move up or down with <Up> and <Down>.\n" |
| 149 | " Pressing <Y> includes, <N> excludes, <M> modularizes features.\n" | 138 | "Enter a submenu with <Enter> or <Right>.\n" |
| 150 | " Pressing SpaceBar toggles between the above options.\n" | 139 | "Exit a submenu to its parent menu with <Esc> or <Left>.\n" |
| 151 | " Press <Esc> or <left-arrow> to go back one menu,\n" | 140 | "Pressing <y> includes, <n> excludes, <m> modularizes features.\n" |
| 152 | " <?> or <h> for Help, </> for Search.\n" | 141 | "Pressing <Space> cycles through the available options.\n" |
| 153 | " <1> is interchangeable with <F1>, <2> with <F2>, etc.\n" | 142 | "To search for menu entries press </>.\n" |
| 154 | " Legend: [*] built-in [ ] excluded <M> module < > module capable.\n" | 143 | "<Esc> always leaves the current window.\n" |
| 155 | " <Esc> always leaves the current window.\n"), | 144 | "\n" |
| 145 | "You do not have function keys support.\n" | ||
| 146 | "Press <1> instead of <F1>, <2> instead of <F2>, etc.\n" | ||
| 147 | "For verbose global help use key <1>.\n" | ||
| 148 | "For help related to the current menu entry press <?> or <h>.\n"), | ||
| 156 | menu_instructions[] = N_( | 149 | menu_instructions[] = N_( |
| 157 | " Arrow keys navigate the menu.\n" | 150 | "Legend: [*] built-in [ ] excluded <M> module < > module capable.\n" |
| 158 | " <Enter> or <right-arrow> selects submenus --->.\n" | 151 | "Submenus are designated by a trailing \"--->\".\n" |
| 159 | " Capital Letters are hotkeys.\n" | 152 | "\n" |
| 160 | " Pressing <Y> includes, <N> excludes, <M> modularizes features.\n" | 153 | "Use the following keys to navigate the menus:\n" |
| 161 | " Pressing SpaceBar toggles between the above options\n" | 154 | "Move up or down with <Up> or <Down>.\n" |
| 162 | " Press <Esc>, <F5> or <left-arrow> to go back one menu,\n" | 155 | "Enter a submenu with <Enter> or <Right>.\n" |
| 163 | " <?>, <F1> or <h> for Help, </> for Search.\n" | 156 | "Exit a submenu to its parent menu with <Esc> or <Left>.\n" |
| 164 | " <1> is interchangeable with <F1>, <2> with <F2>, etc.\n" | 157 | "Pressing <y> includes, <n> excludes, <m> modularizes features.\n" |
| 165 | " Legend: [*] built-in [ ] excluded <M> module < > module capable.\n" | 158 | "Pressing <Space> cycles through the available options.\n" |
| 166 | " <Esc> always leaves the current window\n"), | 159 | "To search for menu entries press </>.\n" |
| 160 | "<Esc> always leaves the current window.\n" | ||
| 161 | "\n" | ||
| 162 | "Pressing <1> may be used instead of <F1>, <2> instead of <F2>, etc.\n" | ||
| 163 | "For verbose global help press <F1>.\n" | ||
| 164 | "For help related to the current menu entry press <?> or <h>.\n"), | ||
| 167 | radiolist_instructions[] = N_( | 165 | radiolist_instructions[] = N_( |
| 168 | " Use the arrow keys to navigate this window or\n" | 166 | "Press <Up>, <Down>, <Home> or <End> to navigate a radiolist, select\n" |
| 169 | " press the hotkey of the item you wish to select\n" | 167 | "with <Space>.\n" |
| 170 | " followed by the <SPACE BAR>.\n" | 168 | "For help related to the current entry press <?> or <h>.\n" |
| 171 | " Press <?>, <F1> or <h> for additional information about this option.\n"), | 169 | "For global help press <F1>.\n"), |
| 172 | inputbox_instructions_int[] = N_( | 170 | inputbox_instructions_int[] = N_( |
| 173 | "Please enter a decimal value.\n" | 171 | "Please enter a decimal value.\n" |
| 174 | "Fractions will not be accepted.\n" | 172 | "Fractions will not be accepted.\n" |
| 175 | "Press <RETURN> to accept, <ESC> to cancel."), | 173 | "Press <Enter> to apply, <Esc> to cancel."), |
| 176 | inputbox_instructions_hex[] = N_( | 174 | inputbox_instructions_hex[] = N_( |
| 177 | "Please enter a hexadecimal value.\n" | 175 | "Please enter a hexadecimal value.\n" |
| 178 | "Press <RETURN> to accept, <ESC> to cancel."), | 176 | "Press <Enter> to apply, <Esc> to cancel."), |
| 179 | inputbox_instructions_string[] = N_( | 177 | inputbox_instructions_string[] = N_( |
| 180 | "Please enter a string value.\n" | 178 | "Please enter a string value.\n" |
| 181 | "Press <RETURN> to accept, <ESC> to cancel."), | 179 | "Press <Enter> to apply, <Esc> to cancel."), |
| 182 | setmod_text[] = N_( | 180 | setmod_text[] = N_( |
| 183 | "This feature depends on another which\n" | 181 | "This feature depends on another feature which has been configured as a\n" |
| 184 | "has been configured as a module.\n" | 182 | "module. As a result, the current feature will be built as a module too."), |
| 185 | "As a result, this feature will be built as a module."), | ||
| 186 | load_config_text[] = N_( | 183 | load_config_text[] = N_( |
| 187 | "Enter the name of the configuration file you wish to load.\n" | 184 | "Enter the name of the configuration file you wish to load.\n" |
| 188 | "Accept the name shown to restore the configuration you\n" | 185 | "Accept the name shown to restore the configuration you last\n" |
| 189 | "last retrieved. Leave blank to abort."), | 186 | "retrieved. Leave empty to abort."), |
| 190 | load_config_help[] = N_( | 187 | load_config_help[] = N_( |
| 191 | "\n" | ||
| 192 | "For various reasons, one may wish to keep several different\n" | 188 | "For various reasons, one may wish to keep several different\n" |
| 193 | "configurations available on a single machine.\n" | 189 | "configurations available on a single machine.\n" |
| 194 | "\n" | 190 | "\n" |
| 195 | "If you have saved a previous configuration in a file other than the\n" | 191 | "If you have saved a previous configuration in a file other than the\n" |
| 196 | "default one, entering its name here will allow you to modify that\n" | 192 | "default one, entering its name here will allow you to load and modify\n" |
| 197 | "configuration.\n" | 193 | "that configuration.\n" |
| 198 | "\n" | 194 | "\n" |
| 199 | "If you are uncertain, then you have probably never used alternate\n" | 195 | "Leave empty to abort.\n"), |
| 200 | "configuration files. You should therefor leave this blank to abort.\n"), | ||
| 201 | save_config_text[] = N_( | 196 | save_config_text[] = N_( |
| 202 | "Enter a filename to which this configuration should be saved\n" | 197 | "Enter a filename to which this configuration should be saved\n" |
| 203 | "as an alternate. Leave blank to abort."), | 198 | "as an alternate. Leave empty to abort."), |
| 204 | save_config_help[] = N_( | 199 | save_config_help[] = N_( |
| 205 | "\n" | 200 | "For various reasons, one may wish to keep several different\n" |
| 206 | "For various reasons, one may wish to keep different configurations\n" | 201 | "configurations available on a single machine.\n" |
| 207 | "available on a single machine.\n" | ||
| 208 | "\n" | 202 | "\n" |
| 209 | "Entering a file name here will allow you to later retrieve, modify\n" | 203 | "Entering a file name here will allow you to later retrieve, modify\n" |
| 210 | "and use the current configuration as an alternate to whatever\n" | 204 | "and use the current configuration as an alternate to whatever\n" |
| 211 | "configuration options you have selected at that time.\n" | 205 | "configuration options you have selected at that time.\n" |
| 212 | "\n" | 206 | "\n" |
| 213 | "If you are uncertain what all this means then you should probably\n" | 207 | "Leave empty to abort.\n"), |
| 214 | "leave this blank.\n"), | ||
| 215 | search_help[] = N_( | 208 | search_help[] = N_( |
| 216 | "\n" | 209 | "Search for symbols (configuration variable names CONFIG_*) and display\n" |
| 217 | "Search for symbols and display their relations. Regular expressions\n" | 210 | "their relations. Regular expressions are supported.\n" |
| 218 | "are allowed.\n" | 211 | "Example: Search for \"^FOO\".\n" |
| 219 | "Example: search for \"^FOO\"\n" | ||
| 220 | "Result:\n" | 212 | "Result:\n" |
| 221 | "-----------------------------------------------------------------\n" | 213 | "-----------------------------------------------------------------\n" |
| 222 | "Symbol: FOO [ = m]\n" | 214 | "Symbol: FOO [ = m]\n" |
| @@ -230,26 +222,26 @@ search_help[] = N_( | |||
| 230 | "Selects: LIBCRC32\n" | 222 | "Selects: LIBCRC32\n" |
| 231 | "Selected by: BAR\n" | 223 | "Selected by: BAR\n" |
| 232 | "-----------------------------------------------------------------\n" | 224 | "-----------------------------------------------------------------\n" |
| 233 | "o The line 'Prompt:' shows the text used in the menu structure for\n" | 225 | "o The line 'Prompt:' shows the text displayed for this symbol in\n" |
| 234 | " this symbol\n" | 226 | " the menu hierarchy.\n" |
| 235 | "o The 'Defined at' line tell at what file / line number the symbol\n" | 227 | "o The 'Defined at' line tells at what file / line number the symbol is\n" |
| 236 | " is defined\n" | 228 | " defined.\n" |
| 237 | "o The 'Depends on:' line tell what symbols needs to be defined for\n" | 229 | "o The 'Depends on:' line lists symbols that need to be defined for\n" |
| 238 | " this symbol to be visible in the menu (selectable)\n" | 230 | " this symbol to be visible and selectable in the menu.\n" |
| 239 | "o The 'Location:' lines tell where in the menu structure this symbol\n" | 231 | "o The 'Location:' lines tell, where in the menu structure this symbol\n" |
| 240 | " is located\n" | 232 | " is located. A location followed by a [ = y] indicates that this is\n" |
| 241 | " A location followed by a [ = y] indicate that this is a selectable\n" | 233 | " a selectable menu item, and the current value is displayed inside\n" |
| 242 | " menu item - and current value is displayed inside brackets.\n" | 234 | " brackets.\n" |
| 243 | "o The 'Selects:' line tell what symbol will be automatically\n" | 235 | "o The 'Selects:' line tells, what symbol will be automatically selected\n" |
| 244 | " selected if this symbol is selected (y or m)\n" | 236 | " if this symbol is selected (y or m).\n" |
| 245 | "o The 'Selected by' line tell what symbol has selected this symbol\n" | 237 | "o The 'Selected by' line tells what symbol has selected this symbol.\n" |
| 246 | "\n" | 238 | "\n" |
| 247 | "Only relevant lines are shown.\n" | 239 | "Only relevant lines are shown.\n" |
| 248 | "\n\n" | 240 | "\n\n" |
| 249 | "Search examples:\n" | 241 | "Search examples:\n" |
| 250 | "Examples: USB => find all symbols containing USB\n" | 242 | "USB => find all symbols containing USB\n" |
| 251 | " ^USB => find all symbols starting with USB\n" | 243 | "^USB => find all symbols starting with USB\n" |
| 252 | " USB$ => find all symbols ending with USB\n" | 244 | "USB$ => find all symbols ending with USB\n" |
| 253 | "\n"); | 245 | "\n"); |
| 254 | 246 | ||
| 255 | struct mitem { | 247 | struct mitem { |
| @@ -393,7 +385,7 @@ static void print_function_line(void) | |||
| 393 | static void handle_f1(int *key, struct menu *current_item) | 385 | static void handle_f1(int *key, struct menu *current_item) |
| 394 | { | 386 | { |
| 395 | show_scroll_win(main_window, | 387 | show_scroll_win(main_window, |
| 396 | _("README"), _(nconf_readme)); | 388 | _("Global help"), _(nconf_global_help)); |
| 397 | return; | 389 | return; |
| 398 | } | 390 | } |
| 399 | 391 | ||
| @@ -408,7 +400,7 @@ static void handle_f2(int *key, struct menu *current_item) | |||
| 408 | static void handle_f3(int *key, struct menu *current_item) | 400 | static void handle_f3(int *key, struct menu *current_item) |
| 409 | { | 401 | { |
| 410 | show_scroll_win(main_window, | 402 | show_scroll_win(main_window, |
| 411 | _("Instructions"), | 403 | _("Short help"), |
| 412 | _(current_instructions)); | 404 | _(current_instructions)); |
| 413 | return; | 405 | return; |
| 414 | } | 406 | } |
