Lines Matching +full:- +full:n

2  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
5 * Introduced single menu mode (show all sub-menus in one large tree).
6 * 2002-11-06 Petr Baudis <pasky@ucw.cz>
26 "Overview\n"
27 "--------\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"
30 "must be entered in as decimal or hexadecimal numbers or text.\n"
31 "\n"
32 "Menu items beginning with following braces represent features that\n"
33 " [ ] can be built in or removed\n"
34 " < > can be built in, modularized or removed\n"
35 " { } can be built in or modularized (selected by other feature)\n"
36 " - - are selected by other feature,\n"
37 "while *, M or whitespace inside braces means to build in, build as\n"
38 "a module or to exclude the feature respectively.\n"
39 "\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"
42 "<N> to remove it. You may also press the <Space Bar> to cycle\n"
43 "through the available options (i.e. Y->N->M->Y).\n"
44 "\n"
45 "Some additional keyboard hints:\n"
46 "\n"
47 "Menus\n"
48 "----------\n"
49 "o Use the Up/Down arrow keys (cursor keys) to highlight the item you\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"
52 "\n"
53 " Shortcut: Press the option's highlighted letter (hotkey).\n"
54 " Pressing a hotkey more than once will sequence\n"
55 " through all visible items which use that hotkey.\n"
56 "\n"
57 " You may also use the <PAGE UP> and <PAGE DOWN> keys to scroll\n"
58 " unseen options into view.\n"
59 "\n"
60 "o To exit a menu use the cursor keys to highlight the <Exit> button\n"
61 " and press <ENTER>.\n"
62 "\n"
63 " Shortcut: Press <ESC><ESC> or <E> or <X> if there is no hotkey\n"
64 " using those letters. You may press a single <ESC>, but\n"
65 " there is a delayed response which you may find annoying.\n"
66 "\n"
67 " Also, the <TAB> and cursor keys will cycle between <Select>,\n"
68 " <Exit>, <Help>, <Save>, and <Load>.\n"
69 "\n"
70 "o To get help with an item, use the cursor keys to highlight <Help>\n"
71 " and press <ENTER>.\n"
72 "\n"
73 " Shortcut: Press <H> or <?>.\n"
74 "\n"
75 "o To toggle the display of hidden options, press <Z>.\n"
76 "\n"
77 "\n"
78 "Radiolists (Choice lists)\n"
79 "-----------\n"
80 "o Use the cursor keys to select the option you wish to set and press\n"
81 " <S> or the <SPACE BAR>.\n"
82 "\n"
83 " Shortcut: Press the first letter of the option you wish to set then\n"
84 " press <S> or <SPACE BAR>.\n"
85 "\n"
86 "o To see available help for the item, use the cursor keys to highlight\n"
87 " <Help> and Press <ENTER>.\n"
88 "\n"
89 " Shortcut: Press <H> or <?>.\n"
90 "\n"
91 " Also, the <TAB> and cursor keys will cycle between <Select> and\n"
92 " <Help>\n"
93 "\n"
94 "\n"
95 "Data Entry\n"
96 "-----------\n"
97 "o Enter the requested information and press <ENTER>\n"
98 " If you are entering hexadecimal values, it is not necessary to\n"
99 " add the '0x' prefix to the entry.\n"
100 "\n"
101 "o For help, use the <TAB> or cursor keys to highlight the help option\n"
102 " and press <ENTER>. You can try <TAB><H> as well.\n"
103 "\n"
104 "\n"
105 "Text Box (Help Window)\n"
106 "--------\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"
109 " those who are familiar with less and lynx.\n"
110 "\n"
111 "o Press <E>, <X>, <q>, <Enter> or <Esc><Esc> to exit.\n"
112 "\n"
113 "\n"
114 "Alternate Configuration Files\n"
115 "-----------------------------\n"
116 "Menuconfig supports the use of alternate configuration files for\n"
117 "those who, for various reasons, find it necessary to switch\n"
118 "between different configurations.\n"
119 "\n"
120 "The <Save> button will let you save the current configuration to\n"
121 "a file of your choosing. Use the <Load> button to load a previously\n"
122 "saved alternate configuration.\n"
123 "\n"
124 "Even if you don't use alternate configuration files, but you find\n"
125 "during a Menuconfig session that you have completely messed up your\n"
126 "settings, you may use the <Load> button to restore your previously\n"
127 "saved settings from \".config\" without restarting Menuconfig.\n"
128 "\n"
129 "Other information\n"
130 "-----------------\n"
131 "If you use Menuconfig in an XTERM window, make sure you have your\n"
132 "$TERM variable set to point to an xterm definition which supports\n"
133 "color. Otherwise, Menuconfig will look rather bad. Menuconfig will\n"
134 "not display correctly in an RXVT window because rxvt displays only one\n"
135 "intensity of color, bright.\n"
136 "\n"
137 "Menuconfig will display larger menus on screens or xterms which are\n"
138 "set to display more than the standard 25 row by 80 column geometry.\n"
139 "In order for this to work, the \"stty size\" command must be able to\n"
140 "display the screen's current row and column geometry. I STRONGLY\n"
141 "RECOMMEND that you make sure you do NOT have the shell variables\n"
142 "LINES and COLUMNS exported into your environment. Some distributions\n"
143 "export those variables via /etc/profile. Some ncurses programs can\n"
144 "become confused when those variables (LINES & COLUMNS) don't reflect\n"
145 "the true screen size.\n"
146 "\n"
147 "Optional personality available\n"
148 "------------------------------\n"
149 "If you prefer to have all of the options listed in a single menu,\n"
150 "rather than the default multimenu hierarchy, run the menuconfig with\n"
151 "MENUCONFIG_MODE environment variable set to single_menu. Example:\n"
152 "\n"
153 "make MENUCONFIG_MODE=single_menu menuconfig\n"
154 "\n"
155 "<Enter> will then unroll the appropriate category, or enfold it if it\n"
156 "is already unrolled.\n"
157 "\n"
158 "Note that this mode can eventually be a little more CPU expensive\n"
159 "(especially with a larger number of unrolled categories) than the\n"
160 "default mode.\n"
161 "\n"
162 "Different color themes available\n"
163 "--------------------------------\n"
164 "It is possible to select different color themes using the variable\n"
165 "MENUCONFIG_COLOR. To select a theme use:\n"
166 "\n"
167 "make MENUCONFIG_COLOR=<theme> menuconfig\n"
168 "\n"
169 "Available themes are\n"
170 " mono => selects colors suitable for monochrome displays\n"
171 " blackbg => selects a color scheme with black background\n"
172 " classic => theme with blue background. The classic look\n"
173 " bluetitle => an LCD friendly version of classic. (default)\n"
174 "\n"),
177 "<Enter> selects submenus ---> (or empty submenus ----). "
179 "Pressing <Y> includes, <N> excludes, <M> modularizes features. "
181 "Legend: [*] built-in [ ] excluded <M> module < > module capable"),
198 "This feature depends on another which has been configured as a module.\n"
205 "\n"
206 "For various reasons, one may wish to keep several different\n"
207 "configurations available on a single machine.\n"
208 "\n"
209 "If you have saved a previous configuration in a file other than the\n"
210 "default one, entering its name here will allow you to modify that\n"
211 "configuration.\n"
212 "\n"
213 "If you are uncertain, then you have probably never used alternate\n"
214 "configuration files. You should therefore leave this blank to abort.\n"),
219 "\n"
220 "For various reasons, one may wish to keep different configurations\n"
221 "available on a single machine.\n"
222 "\n"
223 "Entering a file name here will allow you to later retrieve, modify\n"
224 "and use the current configuration as an alternate to whatever\n"
225 "configuration options you have selected at that time.\n"
226 "\n"
227 "If you are uncertain what all this means then you should probably\n"
228 "leave this blank.\n"),
230 "\n"
231 "Search for symbols and display their relations.\n"
232 "Regular expressions are allowed.\n"
233 "Example: search for \"^FOO\"\n"
234 "Result:\n"
235 "-----------------------------------------------------------------\n"
236 "Symbol: FOO [=m]\n"
237 "Type : tristate\n"
238 "Prompt: Foo bus is used to drive the bar HW\n"
239 " Location:\n"
240 " -> Bus options (PCI, PCMCIA, EISA, ISA)\n"
241 " -> PCI support (PCI [=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"
245 " Selects: LIBCRC32\n"
246 " Selected by: BAR [=n]\n"
247 "-----------------------------------------------------------------\n"
248 "o The line 'Type:' shows the type of the configuration option for\n"
249 " this symbol (boolean, tristate, string, ...)\n"
250 "o The line 'Prompt:' shows the text used in the menu structure for\n"
251 " this symbol\n"
252 "o The 'Defined at' line tells at what file / line number the symbol\n"
253 " is defined\n"
254 "o The 'Depends on:' line tells what symbols need to be defined for\n"
255 " this symbol to be visible in the menu (selectable)\n"
256 "o The 'Location:' lines tells where in the menu structure this symbol\n"
257 " is located\n"
258 " A location followed by a [=y] indicates that this is a\n"
259 " selectable menu item - and the current value is displayed inside\n"
260 " brackets.\n"
261 " Press the key in the (#) prefix to jump directly to that\n"
262 " location. You will be returned to the current search results\n"
263 " after exiting this new menu.\n"
264 "o The 'Selects:' line tells what symbols will be automatically\n"
265 " selected if this symbol is selected (y or m)\n"
266 "o The 'Selected by' line tells what symbol has selected this symbol\n"
267 "\n"
268 "Only relevant lines are shown.\n"
269 "\n\n"
270 "Search examples:\n"
271 "Examples: USB => find all symbols containing USB\n"
272 " ^USB => find all symbols starting with USB\n"
273 " USB$ => find all symbols ending with USB\n"
274 "\n");
303 "%s - %s", config_filename, rootmenu.prompt->text); in set_config_filename()
305 menu_backtitle[sizeof(menu_backtitle)-1] = '\0'; in set_config_filename()
310 filename[sizeof(filename)-1] = '\0'; in set_config_filename()
326 tmp = pos->next; in set_subtitle()
332 if (sp->text) { in set_subtitle()
334 pos->next = xcalloc(1, sizeof(*pos)); in set_subtitle()
335 pos = pos->next; in set_subtitle()
339 pos->text = sp->text; in set_subtitle()
351 tmp = pos->next; in reset_subtitle()
370 list_for_each_entry(pos, data->head, entries) { in update_text()
371 if (pos->offset >= start && pos->offset < end) { in update_text()
375 int key = '0' + (pos->index % JUMP_NB) + 1; in update_text()
378 data->keys[k] = key; in update_text()
379 data->targets[k] = pos->target; in update_text()
385 memcpy(buf + pos->offset, header, sizeof(header) - 1); in update_text()
388 data->keys[k] = 0; in update_text()
453 conf(targets[i]->parent, targets[i]); in search_conf()
486 sym = menu->sym; in build_conf()
487 prop = menu->prompt; in build_conf()
491 switch (prop->type) { in build_conf()
497 menu->data ? "-->" : "++>", in build_conf()
502 menu_is_empty(menu) ? "----" : "--->"); in build_conf()
505 if (single_menu_mode && menu->data) in build_conf()
519 item_make("---%*c%s", indent + 1, ' ', _(prompt)); in build_conf()
535 for (child = menu->list; child; child = child->next) { in build_conf()
536 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
567 item_add_str(" --->"); in build_conf()
568 if (def_menu->list) { in build_conf()
571 indent -= 2; in build_conf()
578 item_make("---%*c%s", indent + 1, ' ', _(menu_get_prompt(menu))); in build_conf()
595 item_make("-%c-", val == no ? ' ' : '*'); in build_conf()
606 if (sym->rev_dep.tri == mod) in build_conf()
611 item_make("-%c-", ch); in build_conf()
618 tmp = indent - tmp + 4; in build_conf()
632 if (menu->prompt->type == P_MENU) { in build_conf()
633 item_add_str(" %s", menu_is_empty(menu) ? "----" : "--->"); in build_conf()
640 for (child = menu->list; child; child = child->next) in build_conf()
642 indent -= doint; in build_conf()
671 if (res == 1 || res == KEY_ESC || res == -ERRDISPLAYTOOSMALL) in conf()
682 sym = submenu->sym; in conf()
691 submenu->data = (void *) (long) !submenu->data; in conf()
698 else if (submenu->prompt->type == P_MENU) in conf()
793 help.max_width = getmaxx(stdscr) - 10; in show_help()
806 active = sym_get_choice_value(menu->sym); in conf_choice()
813 for (child = menu->list; child; child = child->next) { in conf_choice()
816 if (child->sym) in conf_choice()
823 if (child->sym == active) in conf_choice()
825 if (child->sym == sym_get_choice_value(menu->sym)) in conf_choice()
839 if (!child->sym) in conf_choice()
842 sym_set_tristate_value(child->sym, yes); in conf_choice()
849 active = child->sym; in conf_choice()
855 case -ERRDISPLAYTOOSMALL: in conf_choice()
869 switch (sym_get_type(menu->sym)) { in conf_string()
885 sym_get_string_value(menu->sym)); in conf_string()
888 if (sym_set_string_value(menu->sym, dialog_input_result)) in conf_string()
964 _("Do you wish to save your new configuration?\n" in handle_exit()
968 res = -1; in handle_exit()
975 fprintf(stderr, _("\n\n" in handle_exit()
976 "Error while writing of the configuration.\n" in handle_exit()
978 "\n\n")); in handle_exit()
982 case -1: in handle_exit()
990 printf(_("\n\n" in handle_exit()
991 "*** End of the configuration.\n" in handle_exit()
992 "*** %s\n\n"), build_msg); in handle_exit()
998 fprintf(stderr, _("\n\n" in handle_exit()
1000 "\n\n")); in handle_exit()
1024 if (ac > 1 && strcmp(av[1], "-s") == 0) { in main()
1040 fprintf(stderr, N_("Your display is too small to run Menuconfig!\n")); in main()
1041 fprintf(stderr, N_("It must be at least 19 lines by 80 columns.\n")); in main()