diff options
Diffstat (limited to 'scripts/kconfig/mconf.c')
-rw-r--r-- | scripts/kconfig/mconf.c | 60 |
1 files changed, 29 insertions, 31 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c index 2c3963165a0d..59184bb41ef8 100644 --- a/scripts/kconfig/mconf.c +++ b/scripts/kconfig/mconf.c | |||
@@ -25,7 +25,7 @@ | |||
25 | static const char mconf_readme[] = N_( | 25 | static const char mconf_readme[] = N_( |
26 | "Overview\n" | 26 | "Overview\n" |
27 | "--------\n" | 27 | "--------\n" |
28 | "This interface let you select features and parameters for the build.\n" | 28 | "This interface lets you select features and parameters for the build.\n" |
29 | "Features can either be built-in, modularized, or ignored. Parameters\n" | 29 | "Features can either be built-in, modularized, or ignored. Parameters\n" |
30 | "must be entered in as decimal or hexadecimal numbers or text.\n" | 30 | "must be entered in as decimal or hexadecimal numbers or text.\n" |
31 | "\n" | 31 | "\n" |
@@ -39,15 +39,15 @@ static const char mconf_readme[] = N_( | |||
39 | "\n" | 39 | "\n" |
40 | "To change any of these features, highlight it with the cursor\n" | 40 | "To change any of these features, highlight it with the cursor\n" |
41 | "keys and press <Y> to build it in, <M> to make it a module or\n" | 41 | "keys and press <Y> to build it in, <M> to make it a module or\n" |
42 | "<N> to removed it. You may also press the <Space Bar> to cycle\n" | 42 | "<N> to remove it. You may also press the <Space Bar> to cycle\n" |
43 | "through the available options (ie. Y->N->M->Y).\n" | 43 | "through the available options (i.e. Y->N->M->Y).\n" |
44 | "\n" | 44 | "\n" |
45 | "Some additional keyboard hints:\n" | 45 | "Some additional keyboard hints:\n" |
46 | "\n" | 46 | "\n" |
47 | "Menus\n" | 47 | "Menus\n" |
48 | "----------\n" | 48 | "----------\n" |
49 | "o Use the Up/Down arrow keys (cursor keys) to highlight the item\n" | 49 | "o Use the Up/Down arrow keys (cursor keys) to highlight the item you\n" |
50 | " you wish to change or submenu wish to select and press <Enter>.\n" | 50 | " wish to change or the submenu you wish to select and press <Enter>.\n" |
51 | " Submenus are designated by \"--->\", empty ones by \"----\".\n" | 51 | " Submenus are designated by \"--->\", empty ones by \"----\".\n" |
52 | "\n" | 52 | "\n" |
53 | " Shortcut: Press the option's highlighted letter (hotkey).\n" | 53 | " Shortcut: Press the option's highlighted letter (hotkey).\n" |
@@ -65,7 +65,7 @@ static const char mconf_readme[] = N_( | |||
65 | " there is a delayed response which you may find annoying.\n" | 65 | " there is a delayed response which you may find annoying.\n" |
66 | "\n" | 66 | "\n" |
67 | " Also, the <TAB> and cursor keys will cycle between <Select>,\n" | 67 | " Also, the <TAB> and cursor keys will cycle between <Select>,\n" |
68 | " <Exit> and <Help>.\n" | 68 | " <Exit>, <Help>, <Save>, and <Load>.\n" |
69 | "\n" | 69 | "\n" |
70 | "o To get help with an item, use the cursor keys to highlight <Help>\n" | 70 | "o To get help with an item, use the cursor keys to highlight <Help>\n" |
71 | " and press <ENTER>.\n" | 71 | " and press <ENTER>.\n" |
@@ -105,7 +105,7 @@ static const char mconf_readme[] = N_( | |||
105 | "Text Box (Help Window)\n" | 105 | "Text Box (Help Window)\n" |
106 | "--------\n" | 106 | "--------\n" |
107 | "o Use the cursor keys to scroll up/down/left/right. The VI editor\n" | 107 | "o Use the cursor keys to scroll up/down/left/right. The VI editor\n" |
108 | " keys h,j,k,l function here as do <u>, <d>, <SPACE BAR> and <B> for \n" | 108 | " keys h,j,k,l function here as do <u>, <d>, <SPACE BAR> and <B> for\n" |
109 | " those who are familiar with less and lynx.\n" | 109 | " those who are familiar with less and lynx.\n" |
110 | "\n" | 110 | "\n" |
111 | "o Press <E>, <X>, <q>, <Enter> or <Esc><Esc> to exit.\n" | 111 | "o Press <E>, <X>, <q>, <Enter> or <Esc><Esc> to exit.\n" |
@@ -117,23 +117,21 @@ static const char mconf_readme[] = N_( | |||
117 | "those who, for various reasons, find it necessary to switch\n" | 117 | "those who, for various reasons, find it necessary to switch\n" |
118 | "between different configurations.\n" | 118 | "between different configurations.\n" |
119 | "\n" | 119 | "\n" |
120 | "At the end of the main menu you will find two options. One is\n" | 120 | "The <Save> button will let you save the current configuration to\n" |
121 | "for saving the current configuration to a file of your choosing.\n" | 121 | "a file of your choosing. Use the <Load> button to load a previously\n" |
122 | "The other option is for loading a previously saved alternate\n" | 122 | "saved alternate configuration.\n" |
123 | "configuration.\n" | ||
124 | "\n" | 123 | "\n" |
125 | "Even if you don't use alternate configuration files, but you\n" | 124 | "Even if you don't use alternate configuration files, but you find\n" |
126 | "find during a Menuconfig session that you have completely messed\n" | 125 | "during a Menuconfig session that you have completely messed up your\n" |
127 | "up your settings, you may use the \"Load Alternate...\" option to\n" | 126 | "settings, you may use the <Load> button to restore your previously\n" |
128 | "restore your previously saved settings from \".config\" without\n" | 127 | "saved settings from \".config\" without restarting Menuconfig.\n" |
129 | "restarting Menuconfig.\n" | ||
130 | "\n" | 128 | "\n" |
131 | "Other information\n" | 129 | "Other information\n" |
132 | "-----------------\n" | 130 | "-----------------\n" |
133 | "If you use Menuconfig in an XTERM window make sure you have your\n" | 131 | "If you use Menuconfig in an XTERM window, make sure you have your\n" |
134 | "$TERM variable set to point to a xterm definition which supports color.\n" | 132 | "$TERM variable set to point to an xterm definition which supports\n" |
135 | "Otherwise, Menuconfig will look rather bad. Menuconfig will not\n" | 133 | "color. Otherwise, Menuconfig will look rather bad. Menuconfig will\n" |
136 | "display correctly in a RXVT window because rxvt displays only one\n" | 134 | "not display correctly in an RXVT window because rxvt displays only one\n" |
137 | "intensity of color, bright.\n" | 135 | "intensity of color, bright.\n" |
138 | "\n" | 136 | "\n" |
139 | "Menuconfig will display larger menus on screens or xterms which are\n" | 137 | "Menuconfig will display larger menus on screens or xterms which are\n" |
@@ -148,8 +146,8 @@ static const char mconf_readme[] = N_( | |||
148 | "\n" | 146 | "\n" |
149 | "Optional personality available\n" | 147 | "Optional personality available\n" |
150 | "------------------------------\n" | 148 | "------------------------------\n" |
151 | "If you prefer to have all of the options listed in a single menu, rather\n" | 149 | "If you prefer to have all of the options listed in a single menu,\n" |
152 | "than the default multimenu hierarchy, run the menuconfig with\n" | 150 | "rather than the default multimenu hierarchy, run the menuconfig with\n" |
153 | "MENUCONFIG_MODE environment variable set to single_menu. Example:\n" | 151 | "MENUCONFIG_MODE environment variable set to single_menu. Example:\n" |
154 | "\n" | 152 | "\n" |
155 | "make MENUCONFIG_MODE=single_menu menuconfig\n" | 153 | "make MENUCONFIG_MODE=single_menu menuconfig\n" |
@@ -172,7 +170,7 @@ static const char mconf_readme[] = N_( | |||
172 | " mono => selects colors suitable for monochrome displays\n" | 170 | " mono => selects colors suitable for monochrome displays\n" |
173 | " blackbg => selects a color scheme with black background\n" | 171 | " blackbg => selects a color scheme with black background\n" |
174 | " classic => theme with blue background. The classic look\n" | 172 | " classic => theme with blue background. The classic look\n" |
175 | " bluetitle => a LCD friendly version of classic. (default)\n" | 173 | " bluetitle => an LCD friendly version of classic. (default)\n" |
176 | "\n"), | 174 | "\n"), |
177 | menu_instructions[] = N_( | 175 | menu_instructions[] = N_( |
178 | "Arrow keys navigate the menu. " | 176 | "Arrow keys navigate the menu. " |
@@ -238,24 +236,24 @@ search_help[] = N_( | |||
238 | "Symbol: FOO [=m]\n" | 236 | "Symbol: FOO [=m]\n" |
239 | "Type : tristate\n" | 237 | "Type : tristate\n" |
240 | "Prompt: Foo bus is used to drive the bar HW\n" | 238 | "Prompt: Foo bus is used to drive the bar HW\n" |
241 | " Defined at drivers/pci/Kconfig:47\n" | ||
242 | " Depends on: X86_LOCAL_APIC && X86_IO_APIC || IA64\n" | ||
243 | " Location:\n" | 239 | " Location:\n" |
244 | " -> Bus options (PCI, PCMCIA, EISA, ISA)\n" | 240 | " -> Bus options (PCI, PCMCIA, EISA, ISA)\n" |
245 | " -> PCI support (PCI [=y])\n" | 241 | " -> PCI support (PCI [=y])\n" |
246 | "(1) -> PCI access mode (<choice> [=y])\n" | 242 | "(1) -> PCI access mode (<choice> [=y])\n" |
243 | " Defined at drivers/pci/Kconfig:47\n" | ||
244 | " Depends on: X86_LOCAL_APIC && X86_IO_APIC || IA64\n" | ||
247 | " Selects: LIBCRC32\n" | 245 | " Selects: LIBCRC32\n" |
248 | " Selected by: BAR\n" | 246 | " Selected by: BAR [=n]\n" |
249 | "-----------------------------------------------------------------\n" | 247 | "-----------------------------------------------------------------\n" |
250 | "o The line 'Type:' shows the type of the configuration option for\n" | 248 | "o The line 'Type:' shows the type of the configuration option for\n" |
251 | " this symbol (boolean, tristate, string, ...)\n" | 249 | " this symbol (boolean, tristate, string, ...)\n" |
252 | "o The line 'Prompt:' shows the text used in the menu structure for\n" | 250 | "o The line 'Prompt:' shows the text used in the menu structure for\n" |
253 | " this symbol\n" | 251 | " this symbol\n" |
254 | "o The 'Defined at' line tell at what file / line number the symbol\n" | 252 | "o The 'Defined at' line tells at what file / line number the symbol\n" |
255 | " is defined\n" | 253 | " is defined\n" |
256 | "o The 'Depends on:' line tell what symbols needs to be defined for\n" | 254 | "o The 'Depends on:' line tells what symbols need to be defined for\n" |
257 | " this symbol to be visible in the menu (selectable)\n" | 255 | " this symbol to be visible in the menu (selectable)\n" |
258 | "o The 'Location:' lines tell where in the menu structure this symbol\n" | 256 | "o The 'Location:' lines tells where in the menu structure this symbol\n" |
259 | " is located\n" | 257 | " is located\n" |
260 | " A location followed by a [=y] indicates that this is a\n" | 258 | " A location followed by a [=y] indicates that this is a\n" |
261 | " selectable menu item - and the current value is displayed inside\n" | 259 | " selectable menu item - and the current value is displayed inside\n" |
@@ -263,9 +261,9 @@ search_help[] = N_( | |||
263 | " Press the key in the (#) prefix to jump directly to that\n" | 261 | " Press the key in the (#) prefix to jump directly to that\n" |
264 | " location. You will be returned to the current search results\n" | 262 | " location. You will be returned to the current search results\n" |
265 | " after exiting this new menu.\n" | 263 | " after exiting this new menu.\n" |
266 | "o The 'Selects:' line tell what symbol will be automatically\n" | 264 | "o The 'Selects:' line tells what symbols will be automatically\n" |
267 | " selected if this symbol is selected (y or m)\n" | 265 | " selected if this symbol is selected (y or m)\n" |
268 | "o The 'Selected by' line tell what symbol has selected this symbol\n" | 266 | "o The 'Selected by' line tells what symbol has selected this symbol\n" |
269 | "\n" | 267 | "\n" |
270 | "Only relevant lines are shown.\n" | 268 | "Only relevant lines are shown.\n" |
271 | "\n\n" | 269 | "\n\n" |