create a new man page for B(1) and E(1), and remove old documentation that was a part of sam(1). the original sam-based B functionality is long subsumbed by the plumber. the -nnn option to B was removed, as it is replaced by addresses Reference: /n/atom/patch/applied/boutsidesam Date: Sun Oct 18 23:39:05 CES 2015 Signed-off-by: quanstro@quanstro.net --- /sys/man/1/b Thu Jan 1 00:00:00 1970 +++ /sys/man/1/b Sun Oct 18 23:38:36 2015 @@ -0,0 +1,43 @@ +.TH B 1 +.SH NAME +B, E \- plumb to editor +.SH SYNOPSIS +.PP +.B B +.I file ... +.PP +.B E +.I file +.PP +.SH DESCRIPTION +.I B +opens the named +.I files +in an editor. +If available, +.I B +uses plumbing +(see +.IR plumber (4)) +to send a message to all listening editors. +The +.I file +may be decorated with a +.L : +followed by a legal address, such as a line number. +The dot in this file will be set to this address. +Plumbing may decide to open a new editor. +Otherwise, if +.IR sam(1)'s +named pipe is available, it will be used. +.PP +.B E +opens a file with +.BR B , +and exits when it has changed. +.SH SOURCE +.TF /rc/bin/B +.TP +.B /rc/bin/B +.TP +.B /rc/bin/E --- /sys/man/1/sam Sun Oct 18 23:38:39 2015 +++ /sys/man/1/sam Sun Oct 18 23:38:40 2015 @@ -15,12 +15,6 @@ .I machine .PP .B sam.save -.PP -.B B -[ -.BI -nnnn -] -.I file ... .SH DESCRIPTION .I Sam is a multi-file editor. @@ -832,18 +826,6 @@ .BI /srv/sam. user which acts as an additional source of commands. Characters written to the named pipe are treated as if they had been typed in the command window. -.PP -.I B -is a shell-level command that causes an instance of -.I sam -running on the same terminal to load the named -.IR files . -.I B -uses either plumbing or the named pipe, whichever service is available. -If plumbing is not enabled, -the option allows a line number to be specified for -the initial position to display in the last named file -(plumbing provides a more general mechanism for this ability). .SS Abnormal termination If .I sam