openbsd-ports/editors/nedit/patches/patch-doc_nc_man
2001-10-31 08:03:18 +00:00

89 lines
4.0 KiB
Plaintext

$OpenBSD: patch-doc_nc_man,v 1.1 2001/10/31 08:03:19 form Exp $
--- doc/nc.man.orig Wed Oct 31 13:27:55 2001
+++ doc/nc.man Wed Oct 31 13:29:09 2001
@@ -137,26 +137,26 @@
.rm #[ #] #H #V #F C
.\" ======================================================================
.\"
-.IX Title "NC 1"
-.TH NC 1 " " "2001-08-12" " "
+.IX Title "NCL 1"
+.TH NCL 1 " " "2001-08-12" " "
.UC
.SH "NAME"
-nc \- Client program for NEdit text editor
+ncl \- Client program for NEdit text editor
.SH "SYNOPSYS"
.IX Header "SYNOPSYS"
-\&\fBnc\fR [\fB\-read\fR] [\fB\-create\fR] [\fB\-line\fR \fIn\fR | \fB+\fR\fIn\fR] [\fB\-do\fR \fIcommand\fR]
+\&\fBncl\fR [\fB\-read\fR] [\fB\-create\fR] [\fB\-line\fR \fIn\fR | \fB+\fR\fIn\fR] [\fB\-do\fR \fIcommand\fR]
[\fB\-ask\fR] [\fB\-noask\fR] [\fB\-svrname\fR \fIname\fR] [\fB\-svrcmd\fR \fIcommand\fR] [\fB\-lm\fR
\&\fIlanguagemode\fR] [\fB\-geometry\fR \fIgeometry\fR] [\fB\-iconic\fR] [\fB\-display\fR
\&\fI[host]:server[.screen]\fR] [file...]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
-\&\fBnc\fR is the client interface to the NEdit text editor. A server can be started
+\&\fBncl\fR is the client interface to the NEdit text editor. A server can be started
explicitly by running NEdit in server mode:
.PP
.Vb 1
\& nedit -server
.Ve
-If no server is running, \fBnc\fR will start one unless configured otherwize.
+If no server is running, \fBncl\fR will start one unless configured otherwize.
Client/server mode is useful for integrating NEdit with software development
environments, mailers, and other programs; or just as a quick way to open files
from the shell command line without starting a new NEdit session.
@@ -177,17 +177,17 @@ Execute an NEdit macro or action. On eac
the command line.
.Ip "\fB\-ask\fR, \fB\-noask\fR" 4
.IX Item "-ask, -noask"
-Instructs \fBnc\fR whether to automatically start a server if one is not
+Instructs \fBncl\fR whether to automatically start a server if one is not
available. This is also settable via the X resource, \f(CW\*(C`nc.autoStart\*(C'\fR.
.Ip "\fB\-svrname\fR \fIname\fR" 4
.IX Item "-svrname name"
-Explicitly instructs \fBnc\fR which server to connect to, an instance of
+Explicitly instructs \fBncl\fR which server to connect to, an instance of
\&\fBnedit\fR(1) with a corresponding \fB\-svrname\fR argument. By naming servers, you
can run several simultaneously, and direct files and commands specifically to
any one.
.Ip "\fB\-svrcmd\fR \fIcommand\fR" 4
.IX Item "-svrcmd command"
-The command which \fBnc\fR uses to start an NEdit server. It is also settable via
+The command which \fBncl\fR uses to start an NEdit server. It is also settable via
the X resource \f(CW\*(C`nc.serverCommand\*(C'\fR, by default, \fI\*(L"nedit \-server\*(R"\fR.
.Ip "\fB\-lm\fR \fIlanguagemode\fR" 4
.IX Item "-lm languagemode"
@@ -226,11 +226,11 @@ for your display:
.Ve
.SH "NOTES"
.IX Header "NOTES"
-Communication between \fBnc\fR and \fBnedit\fR(1) is through the X display. So as
-long as X windows is set up and working properly, \fBnc\fR will work properly
-as well. \fBnc\fR uses the \f(CW\*(C`DISPLAY\*(C'\fR environment variable, the machine name and
+Communication between \fBncl\fR and \fBnedit\fR(1) is through the X display. So as
+long as X windows is set up and working properly, \fBncl\fR will work properly
+as well. \fBncl\fR uses the \f(CW\*(C`DISPLAY\*(C'\fR environment variable, the machine name and
your user name to find the appropriate server, meaning, if you have several
-machines sharing a common file system, \fBnc\fR will not be able to find a server
+machines sharing a common file system, \fBncl\fR will not be able to find a server
that is running on a machine with a different host name, even though it may be
perfectly appropriate for editing a given file.
.PP
@@ -239,12 +239,12 @@ command line, for example:
.Ip "incorrect:" 4
.IX Item "incorrect:"
.Vb 1
-\& nc file.c -line 25
+\& ncl file.c -line 25
.Ve
.Ip "correct:" 4
.IX Item "correct:"
.Vb 1
-\& nc -line 25 file.c
+\& ncl -line 25 file.c
.Ve
.PP
For more information see NEdit's online help, or \fInedit.doc\fR in the NEdit