NetBSD-Bugs archive

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

misc/51446: vi(1) doc fix



>Number:         51446
>Category:       misc
>Synopsis:       vi/ex documentation error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 27 00:40:00 +0000 2016
>Originator:     bch <brad.harder%gmail.com@localhost>
>Release:        NetBSD 7.99.36
>Organization:
	method logic digital
>Environment:
System: NetBSD kamloops 7.99.36 NetBSD 7.99.36 (GENERIC.bch) #28: Thu
Aug 25 17:21:21 PDT 2016
root@kamloops:/usr/obj/sys/arch/amd64/compile/GENERIC.bch amd64
Architecture: x86_64
Machine: amd64
>Description:
	ex/vi synopsis for tag useage is incorrect
>How-To-Repeat:
	man 1 vi, look at tagprev, tagpop
>Fix:

The patch below reflects reality. "tagpop" and "tagprev" are clearly
-not- unambiguous until *after* the 'p', so it's debatable whether
the shortcuts should be to the shortest unambiguous length ("tagpo"
and "tagpr"), or left as-is. That discussion is not addressed here.

--- /usr/src/external/bsd/nvi/dist/docs/vi.man/vi.1     2013-11-22
07:52:05.000000000 -0800
+++ /usr/src/external/bsd/nvi/dist/docs/vi.man/fixed_vi.1   2016-08-26
17:18:59.926004494 -0700
@@ -987,7 +987,7 @@
 .B "tagp[op][!] [file | number]"
 Pop to the specified tag in the tags stack.
 .TP
-.B "tagp[rev][!]"
+.B "tagpr[ev][!]"
 Edit the file containing the previous context for the current tag.
 .TP
 .B "unm[ap][!] lhs"



Home | Main Index | Thread Index | Old Index