Module Name:    othersrc
Committed By:   riastradh
Date:           Thu Mar 22 14:29:07 UTC 2018

Modified Files:
        othersrc/usr.bin/edit: edit.1

Log Message:
Make this build.  Fix mandoc warnings while here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/usr.bin/edit/edit.1

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

Modified files:

Index: othersrc/usr.bin/edit/edit.1
diff -u othersrc/usr.bin/edit/edit.1:1.1 othersrc/usr.bin/edit/edit.1:1.2
--- othersrc/usr.bin/edit/edit.1:1.1	Sat May  6 11:44:34 2000
+++ othersrc/usr.bin/edit/edit.1	Thu Mar 22 14:29:07 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: edit.1,v 1.1 2000/05/06 11:44:34 blymn Exp $
+.\"	$NetBSD: edit.1,v 1.2 2018/03/22 14:29:07 riastradh Exp $
 .\"
 .\" Copyright (c) 1999
 .\"	Brett Lymn - bl...@baea.com.au, brett_l...@yahoo.com.au
@@ -29,14 +29,14 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd May, 2000
+.Dd May 6, 2000
 .Dt EDIT 1
 .Os BSD 4
 .Sh NAME
 .Nm edit
 .Nd simplified editor
 .Sh SYNOPSIS
-.Nm 
+.Nm
 .Op Ar file
 .Sh DESCRIPTION
 .Nm
@@ -57,7 +57,7 @@ window.  A pop down menu may be closed b
 return the cursor to the menu bar, hitting ESC again will return the
 cursor to the editing window.  The options on the menu bar are as
 follows:
-.Bl -inset -width "Search" -offset indent
+.Bl -inset -offset indent
 .It Em File
 This item pops up a menu that deals with the opening and saving of
 files and also quitting the editor.  The options in the popdown menu
@@ -147,21 +147,21 @@ search for the next occurrence of the se
 Exit the replace popup.
 .El
 .It Em Replace Backward
-Performs the same function as 
+Performs the same function as
 .Em Replace Forward
 excepting that the search direction is from the current line towards
 the top of the file.
 .El
 .It Em Help
-Provides on line help about 
-.Nm edit .  
+Provides on line help about
+.Nm edit .
 The items in the popup are:
 .Bl -inset -offset indent
 .It Em Keys
 Provides help information about the functions various keys do within
 edit.
 .It Em About Edit
-Provides the version number of 
+Provides the version number of
 .Nm edit .
 .El
 .El
@@ -174,48 +174,63 @@ it in.  Any unrecognised control key wil
 is no method of inserting control character sequences into the edit
 buffer.  The keys that are recognised by edit are are listed below:
 .Bl -column "control-space"
-.It Control-[		Change to the menu bar.
-.It Control-Space	Set the mark for a region to be cut or copied
-later.
-.It Control-b	Scroll a page back towards the start of the file
-.It Control-c	Copy the region between the marked line and the
-current line to the cut buffer.
-.It Control-d	Delete the character at the cursor position.
-.It Control-f	Scroll a page forward towards the end of the file.
+.It Control-[
+Change to the menu bar.
+.It Control-Space
+Set the mark for a region to be cut or copied later.
+.It Control-b
+Scroll a page back towards the start of the file
+.It Control-c
+Copy the region between the marked line and the current line to the cut
+buffer.
+.It Control-d
+Delete the character at the cursor position.
+.It Control-f
+Scroll a page forward towards the end of the file.
 .It Backspace
-.It Control-h	Delete the character to the left of the current
-cursor position.
-.It Control-l	Redraw the screen.
-.It Control-o	Open a file.
-.It Control-p	Paste the contents of the cut buffer at the current
-line.
-.It Control-r	Search for a string starting at the current line and
-progressing towards the start of the file.
-.It Control-s	Search for a string starting at the current line and
-progressing towards the end of the file.
-.It Control-v	Copy the region between the marked line and the
-current line to the cut buffer and then delete the region from the
-edit buffer.
-.It Control-w	Write the contents of the edit buffer to disk.
-.It Control-x	Exit edit.
+.It Control-h
+Delete the character to the left of the current cursor position.
+.It Control-l
+Redraw the screen.
+.It Control-o
+Open a file.
+.It Control-p
+Paste the contents of the cut buffer at the current line.
+.It Control-r
+Search for a string starting at the current line and progressing
+towards the start of the file.
+.It Control-s
+Search for a string starting at the current line and progressing
+towards the end of the file.
+.It Control-v
+Copy the region between the marked line and the current line to the cut
+buffer and then delete the region from the edit buffer.
+.It Control-w
+Write the contents of the edit buffer to disk.
+.It Control-x
+Exit edit.
 .El
 The following keys may either not be available on the the terminal
 keyboard or are not supported by the termcap entry in use:
 .Bl -column "Page Down"
-.It Del	Delete the character at the cursor position.
-.It ESC		Change to the menu bar.
-.It F1	Online key help.
-.It Page Down	Scroll a page forward towards the end of the file.
-.It Page Up	Scroll a page back towards the start of the file
+.It Del
+Delete the character at the cursor position.
+.It ESC
+Change to the menu bar.
+.It F1
+Online key help.
+.It Page Down
+Scroll a page forward towards the end of the file.
+.It Page Up
+Scroll a page back towards the start of the file
 .El
-.Sh RETURN VALUES
+.Sh DIAGNOSTICS
 .Nm
 always exits with a 0 status.
 .Sh SEE ALSO
 .Xr termcap 5 ,
 .Sh NOTES
 .Nm
-relies heavily on the functionality of the 
+relies heavily on the functionality of the
 .Xr menus 3
 library.
-

Reply via email to