[uClibc-cvs] uClibc/extra/config mconf.c,1.6,1.7

Erik Andersen andersen at uclibc.org
Mon Jun 30 18:14:41 UTC 2003


Update of /var/cvs/uClibc/extra/config
In directory winder:/tmp/cvs-serv18283

Modified Files:
	mconf.c 
Log Message:
Patch from Pavel Roskin to fixup toplevel help text


Index: mconf.c
===================================================================
RCS file: /var/cvs/uClibc/extra/config/mconf.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- mconf.c	4 Dec 2002 20:52:24 -0000	1.6
+++ mconf.c	30 Jun 2003 18:14:36 -0000	1.7
@@ -83,7 +83,17 @@
 	"configuration options you have selected at that time.\n"
 	"\n"
 	"If you are uncertain what all this means then you should probably\n"
-	"leave this blank.\n"
+	"leave this blank.\n",
+top_menu_help[] =
+	"\n"
+	"Use the Up/Down arrow keys (cursor keys) to highlight the item\n"
+	"you wish to change or submenu wish to select and press <Enter>.\n"
+	"Submenus are designated by \"--->\".\n"
+	"\n"
+	"Shortcut: Press the option's highlighted letter (hotkey).\n"
+	"\n"
+	"You may also use the <PAGE UP> and <PAGE DOWN> keys to scroll\n"
+	"unseen options into view.\n"
 ;
 
 static char filename[PATH_MAX+1] = ".config";
@@ -468,8 +478,7 @@
 
 static void show_readme(void)
 {
-	while (dialog_textbox(NULL, "scripts/README.Menuconfig", rows, cols) < 0)
-		;
+	show_helptext("Help", top_menu_help);
 }
 
 static void conf_choice(struct menu *menu)




More information about the uClibc-cvs mailing list