Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/menuc Replace some \n with \en for correct display. ...



details:   https://anonhg.NetBSD.org/src/rev/0a06fd3ec759
branches:  trunk
changeset: 537735:0a06fd3ec759
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sat Oct 05 11:17:32 2002 +0000

description:
Replace some \n with \en for correct display. Closes PR 18539.

diffstat:

 usr.bin/menuc/menuc.1 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dd17fa0c9b14 -r 0a06fd3ec759 usr.bin/menuc/menuc.1
--- a/usr.bin/menuc/menuc.1     Sat Oct 05 11:01:13 2002 +0000
+++ b/usr.bin/menuc/menuc.1     Sat Oct 05 11:17:32 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: menuc.1,v 1.11 2002/09/26 01:19:38 wiz Exp $
+.\"    $NetBSD: menuc.1,v 1.12 2002/10/05 11:17:32 wiz Exp $
 .\"
 .\" Copyright 1997 Piermont Information Systems Inc.
 .\" All rights reserved.
@@ -462,7 +462,7 @@
 default x=20, y=10, box, scrollable, exit;
 
 error action {
-   fprintf (stderr, "Example Menu: Could not initialize curses.\n");
+   fprintf (stderr, "Example Menu: Could not initialize curses.\en");
    exit(1);
 };
 
@@ -470,7 +470,7 @@
    display action { init_main(); };
    option "Option 1",
       action (endwin) {
-        printf ("That was option 1!\n");
+        printf ("That was option 1!\en");
         sleep(3);
       };
    option "Sub Menu", sub menu othermenu;



Home | Main Index | Thread Index | Old Index