[Bug 241985] ex(1)/vi(1)/view(1) man page mentions broken options and refers to invalid section

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 15 16:04:01 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241985

            Bug ID: 241985
           Summary: ex(1)/vi(1)/view(1) man page mentions broken options
                    and refers to invalid section
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs at FreeBSD.org
          Reporter: freebsd at tim.thechases.com
                CC: doc at FreeBSD.org

1) The current man page lists a "-w size" flag to set the window size

    ex [-FRrSsv] [-c cmd] [-t tag] [-w size] [file ...]
    vi  [-eFRrS] [-c cmd] [-t tag] [-w size] [file ...]
    view [-eFrS] [-c cmd] [-t tag] [-w size] [file ...]

However attempting to invoke ex/vi/view with "-w $SIZE" gives an error message:

    $ vi -w 10 a.txt b.txt
    set: no 23 option: 'set all' gives all option values

(same with invoking as ex or view)  As best I can tell, either the "-w" option
doesn't work, has side-effects, or is improperly documented.  I suspect that
the solution is to just remove the references to the "-w size" option.


2) Under the ASYNCHRONOUS EVENTS section's SIGWINCH, the reader is referred to
the "vi/ex reference manual section Sizing the Screen" but AFAICT, either there
is no vi/ex reference manual (if it's referring to an external document) or if
that document is the self-same man-page, there is no "Sizing the Screen"
section.  I'm not sure whether the proper resolution is to add a Sizing the
Screen section to the current man-page, or to remove that cross-reference. Or,
if it is an external document, providing details on the file-path to the
"reference manual".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list