Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/sysinst instead of defining a specific menu it...



details:   https://anonhg.NetBSD.org/src/rev/e6c4db1988a4
branches:  trunk
changeset: 473812:e6c4db1988a4
user:      cgd <cgd%NetBSD.org@localhost>
date:      Sun Jun 20 02:09:20 1999 +0000

description:
instead of defining a specific menu item for exit, use an 'exit' spec
with a custom string.  This way the top-level exit is 'x', like the rest.

diffstat:

 distrib/utils/sysinst/menus.mi.eng |  6 +++---
 distrib/utils/sysinst/menus.mi.fr  |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 78cca111abc2 -r e6c4db1988a4 distrib/utils/sysinst/menus.mi.eng
--- a/distrib/utils/sysinst/menus.mi.eng        Sun Jun 20 02:07:18 1999 +0000
+++ b/distrib/utils/sysinst/menus.mi.eng        Sun Jun 20 02:09:20 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.mi.eng,v 1.29 1999/06/20 01:23:32 cgd Exp $      */
+/*     $NetBSD: menus.mi.eng,v 1.30 1999/06/20 02:09:20 cgd Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -60,7 +60,8 @@
 
 allow dynamic menus;
 
-menu netbsd, x=15, title "NetBSD-@@VERSION@@ Install System";
+menu netbsd, x=15, title "NetBSD-@@VERSION@@ Install System",
+    exit, exitstring "Exit Install System";
        display action  { toplevel(); };
        option "Install NetBSD to hard disk",
                action { do_install(); };
@@ -71,7 +72,6 @@
        option "Reboot the computer", exit,
                action { run_prog(0, 0, NULL, "/sbin/reboot"); };
        option "Utility menu", sub menu utility;
-       option "Exit Install System", exit;
 
 menu utility, title "NetBSD-@@VERSION@@ Utility", exit;
        option "Run /bin/sh",
diff -r 78cca111abc2 -r e6c4db1988a4 distrib/utils/sysinst/menus.mi.fr
--- a/distrib/utils/sysinst/menus.mi.fr Sun Jun 20 02:07:18 1999 +0000
+++ b/distrib/utils/sysinst/menus.mi.fr Sun Jun 20 02:09:20 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.mi.fr,v 1.18 1999/06/20 01:23:32 cgd Exp $       */
+/*     $NetBSD: menus.mi.fr,v 1.19 1999/06/20 02:09:20 cgd Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -59,7 +59,8 @@
 
 allow dynamic menus;
 
-menu netbsd, title "NetBSD-@@VERSION@@ Programme d'installation";
+menu netbsd, title "NetBSD-@@VERSION@@ Programme d'installation",
+    exit, exitstring "Quitter le programme d'installation";
        display action  { toplevel(); };
        option "Installation de NetBSD sur disque dur",
                action { do_install(); };
@@ -70,7 +71,6 @@
        option "Redémarrer l'ordinateur", exit,
                action (endwin) { run_prog(0, 0, NULL, "/sbin/reboot"); };
        option "Menu utilitaire", sub menu utility;
-       option "Quitter le programme d'installation", exit;
 
 menu utility, title "Utilitaires NetBSD-@@VERSION@@", exit;
        /* option "test", action { run_prog(0, 1, NULL, "/bin/pwd"); }; */



Home | Main Index | Thread Index | Old Index