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 using msg_printf_add("\n") ...



details:   https://anonhg.NetBSD.org/src/rev/d569529f116a
branches:  trunk
changeset: 474382:d569529f116a
user:      cgd <cgd%NetBSD.org@localhost>
date:      Sun Jul 04 21:52:11 1999 +0000

description:
instead of using msg_printf_add("\n") to add a newline to the output,
add a 'newline' message and use msg_display_add().

diffstat:

 distrib/utils/sysinst/arch/bebox/menus.md.en |  4 ++--
 distrib/utils/sysinst/arch/bebox/menus.md.fr |  4 ++--
 distrib/utils/sysinst/arch/i386/menus.md.en  |  4 ++--
 distrib/utils/sysinst/arch/i386/menus.md.fr  |  4 ++--
 distrib/utils/sysinst/disks.c                |  4 ++--
 distrib/utils/sysinst/msg.mi.en              |  4 +++-
 distrib/utils/sysinst/msg.mi.fr              |  4 +++-
 7 files changed, 16 insertions(+), 12 deletions(-)

diffs (126 lines):

diff -r cbc530d773e0 -r d569529f116a distrib/utils/sysinst/arch/bebox/menus.md.en
--- a/distrib/utils/sysinst/arch/bebox/menus.md.en      Sun Jul 04 21:39:33 1999 +0000
+++ b/distrib/utils/sysinst/arch/bebox/menus.md.en      Sun Jul 04 21:52:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.md.en,v 1.7 1999/06/20 06:08:18 cgd Exp $        */
+/*     $NetBSD: menus.md.en,v 1.8 1999/07/04 21:52:13 cgd Exp $        */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -94,7 +94,7 @@
        display action { msg_display (MSG_editpart, editpart);
                           disp_cur_part((struct mbr_partition *)&mbr[MBR_PARTOFF
 ], activepart,editpart);
-                          msg_printf_add ("\n");
+                          msg_display_add(MSG_newline);
                        };
        option "Kind", sub menu chooseid;
        option "Start and size", action 
diff -r cbc530d773e0 -r d569529f116a distrib/utils/sysinst/arch/bebox/menus.md.fr
--- a/distrib/utils/sysinst/arch/bebox/menus.md.fr      Sun Jul 04 21:39:33 1999 +0000
+++ b/distrib/utils/sysinst/arch/bebox/menus.md.fr      Sun Jul 04 21:52:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.md.fr,v 1.7 1999/07/04 09:41:03 cgd Exp $        */
+/*     $NetBSD: menus.md.fr,v 1.8 1999/07/04 21:52:13 cgd Exp $        */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -96,7 +96,7 @@
        display action { msg_display (MSG_editpart, editpart);
                           disp_cur_part((struct mbr_partition *)&mbr[MBR_PARTOFF
 ], activepart,editpart);
-                          msg_printf_add ("\n");
+                          msg_display_add(MSG_newline);
                        };
        option "du type de FS", sub menu chooseid;
        option "du Début et de la taille", action 
diff -r cbc530d773e0 -r d569529f116a distrib/utils/sysinst/arch/i386/menus.md.en
--- a/distrib/utils/sysinst/arch/i386/menus.md.en       Sun Jul 04 21:39:33 1999 +0000
+++ b/distrib/utils/sysinst/arch/i386/menus.md.en       Sun Jul 04 21:52:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.md.en,v 1.25 1999/06/20 06:08:19 cgd Exp $       */
+/*     $NetBSD: menus.md.en,v 1.26 1999/07/04 21:52:13 cgd Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -95,7 +95,7 @@
        display action { msg_display (MSG_editpart, editpart);
                           disp_cur_part((struct mbr_partition *)&mbr[MBR_PARTOFF
 ], activepart,editpart);
-                          msg_printf_add ("\n");
+                          msg_display_add(MSG_newline);
                        };
        option "Kind", sub menu chooseid;
        option "Start and size", action 
diff -r cbc530d773e0 -r d569529f116a distrib/utils/sysinst/arch/i386/menus.md.fr
--- a/distrib/utils/sysinst/arch/i386/menus.md.fr       Sun Jul 04 21:39:33 1999 +0000
+++ b/distrib/utils/sysinst/arch/i386/menus.md.fr       Sun Jul 04 21:52:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.md.fr,v 1.21 1999/07/04 09:41:03 cgd Exp $       */
+/*     $NetBSD: menus.md.fr,v 1.22 1999/07/04 21:52:13 cgd Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -96,7 +96,7 @@
        display action { msg_display (MSG_editpart, editpart);
                           disp_cur_part((struct mbr_partition *)&mbr[MBR_PARTOFF
 ], activepart,editpart);
-                          msg_printf_add ("\n");
+                          msg_display_add(MSG_newline);
                        };
        option "du type de FS", sub menu chooseid;
        option "du Début et de la taille", action 
diff -r cbc530d773e0 -r d569529f116a distrib/utils/sysinst/disks.c
--- a/distrib/utils/sysinst/disks.c     Sun Jul 04 21:39:33 1999 +0000
+++ b/distrib/utils/sysinst/disks.c     Sun Jul 04 21:52:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.29 1999/07/04 21:39:33 cgd Exp $ */
+/*     $NetBSD: disks.c,v 1.30 1999/07/04 21:52:11 cgd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -212,7 +212,7 @@
                                msg_table_add(MSG_fspart_row_end_other);
                }
        }
-       msg_printf_add("\n");
+       msg_display_add(MSG_newline);
 }
 
 
diff -r cbc530d773e0 -r d569529f116a distrib/utils/sysinst/msg.mi.en
--- a/distrib/utils/sysinst/msg.mi.en   Sun Jul 04 21:39:33 1999 +0000
+++ b/distrib/utils/sysinst/msg.mi.en   Sun Jul 04 21:52:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.mi.en,v 1.51 1999/07/04 09:41:03 cgd Exp $ */
+/*     $NetBSD: msg.mi.en,v 1.52 1999/07/04 21:52:12 cgd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -42,6 +42,8 @@
 {usage: sysinst [-r release]
 }
 
+message newline {\n}
+
 message yes {Yes}
 
 message no {No}
diff -r cbc530d773e0 -r d569529f116a distrib/utils/sysinst/msg.mi.fr
--- a/distrib/utils/sysinst/msg.mi.fr   Sun Jul 04 21:39:33 1999 +0000
+++ b/distrib/utils/sysinst/msg.mi.fr   Sun Jul 04 21:52:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.mi.fr,v 1.26 1999/07/04 09:41:03 cgd Exp $ */
+/*     $NetBSD: msg.mi.fr,v 1.27 1999/07/04 21:52:12 cgd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -42,6 +42,8 @@
 {utilisation : sysinst [-r version]
 }
 
+message newline {\n}
+
 message yes {Oui}
 
 message no {Non}



Home | Main Index | Thread Index | Old Index