[TUHS] vi(1) in 10th Ed. (Was: Vi Quick Reference card for 4.4 BSD)

Ralph Corderoy ralph at inputplus.co.uk
Tue Jun 4 23:56:46 AEST 2024


Hi,

Doug wrote:
> It's not a card, but it's brief: vi(1) in the v10 manual covers vi,
> ex, and edit in three pages.

I went looking for it.  The source is
https://www.tuhs.org/cgi-bin/utree.pl?file=V10/man/man1/vi.1

The TUHS wiki,
https://wiki.tuhs.org/doku.php?id=publications:manuals:research#tenth_edition
links to a 10th Ed. PDF, but beware it isn't a scan of the manual.
Instead, as the blurb on scrolling down says, the man pages were
formatted with BSD's mandoc so not a lot of chance of the output
matching the original.

Page 389 of 992 is the start of vi(1).  The .2C two-column output
split by a tab character hasn't been honoured which is why it starts to
look garbled by the second page.

    .PP
    .de fq
    \&\f5\\$1\fR───→\\$2 \\$3 \\$4 \\$5 \\$6
    ..
    .de fz
    \&\f5\\$1 \fI\\$2\fR───→\\$3 \\$4 \\$5 \\$6
    ..
    .ta \w'\f5:e + file'u
    File manipulation
    .2C
    .fq :w write back changes
    .fz :w  file write \fIfile\fR
    .fz :w!  file overwrite \fIfile\fR

A scan of an authentic 10th Ed. manual would be handy.  If it already
exists, then the wiki would be better pointed at that.

-- 
Cheers, Ralph.


More information about the TUHS mailing list