Module Name:    src
Committed By:   wiz
Date:           Thu Feb 25 14:59:22 UTC 2016

Modified Files:
        src/lib/libedit: editline.3

Log Message:
Use \- for minus sign, use Ev, use Er.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/lib/libedit/editline.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libedit/editline.3
diff -u src/lib/libedit/editline.3:1.87 src/lib/libedit/editline.3:1.88
--- src/lib/libedit/editline.3:1.87	Wed Feb 24 19:45:48 2016
+++ src/lib/libedit/editline.3	Thu Feb 25 14:59:22 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: editline.3,v 1.87 2016/02/24 19:45:48 christos Exp $
+.\"	$NetBSD: editline.3,v 1.88 2016/02/25 14:59:22 wiz Exp $
 .\"
 .\" Copyright (c) 1997-2014 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -177,7 +177,7 @@ Programs should be linked with
 The
 .Nm
 library respects the
-.Dv LC_CTYPE
+.Ev LC_CTYPE
 locale set by the application program and never uses
 .Xr setlocale 3
 to change the locale.
@@ -259,10 +259,10 @@ if that is not empty, and store it in
 If an invalid or incomplete character is found, it is discarded,
 .Va errno
 is set to
-.Dv EILSEQ ,
+.Er EILSEQ ,
 and the next character is read and stored in
 .Fa ch .
-Returns 1 if a valid character was read, 0 on end of file, or -1 on
+Returns 1 if a valid character was read, 0 on end of file, or \-1 on
 .Xr read 2
 failure.
 In the latter case,
@@ -271,7 +271,7 @@ is set to indicate the error.
 .It Fn el_getc
 Read a wide character as described for
 .Fn el_wgetc
-and return 0 on end of file or -1 on failure.
+and return 0 on end of file or \-1 on failure.
 If the wide character can be represented as a single-byte character,
 convert it with
 .Xr wctob 3 ,
@@ -280,8 +280,8 @@ store the result in
 and return 1; otherwise, set
 .Va errno
 to
-.Dv ERANGE
-and return -1.
+.Er ERANGE
+and return \-1.
 In the C or POSIX locale, this simply reads a byte, but for any other
 locale, including UTF-8, this is rarely useful.
 .It Fn el_push

Reply via email to