a37c11bbc4
ok ajacoutot
120 lines
5.8 KiB
Plaintext
120 lines
5.8 KiB
Plaintext
$OpenBSD: patch-doc_nc_man,v 1.7 2007/08/29 10:06:52 mbalmer Exp $
|
|
--- doc/nc.man.orig Thu Sep 30 23:03:59 2004
|
|
+++ doc/nc.man Mon Aug 27 12:03:21 2007
|
|
@@ -128,30 +128,30 @@
|
|
.rm #[ #] #H #V #F C
|
|
.\" ========================================================================
|
|
.\"
|
|
-.IX Title "NC 1"
|
|
-.TH NC 1 "2004-07-21" "NEdit 5.5" "NEdit documentation"
|
|
+.IX Title "NCL 1"
|
|
+.TH NCL 1 "2004-07-21" "NEdit 5.5" "NEdit documentation"
|
|
.SH "NAME"
|
|
-nc \- Client program for NEdit text editor
|
|
+ncl \- Client program for NEdit text editor
|
|
.SH "SYNOPSYS"
|
|
.IX Header "SYNOPSYS"
|
|
-nc [\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\-g\fR \fIgeometry\fR] [\fB\-icon\fR | \fB\-iconic\fR]
|
|
- [\fB\-display\fR \fI[host]:server[.screen]\fR]
|
|
- [\fB\-timeout\fR \fIseconds\fR] [\fB\-wait\fR] [\fB\-xrm\fR \fIresourcestring\fR]
|
|
- [\fB\-tabbed\fR] [\fB\-untabbed\fR] [\fB\-group\fR]
|
|
- [\fB\-V\fR | \fB\-version\fR] [\fB\-\-\fR] [file...]
|
|
+ncl [\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\-g\fR \fIgeometry\fR] [\fB\-icon\fR | \fB\-iconic\fR]
|
|
+ [\fB\-display\fR \fI[host]:server[.screen]\fR]
|
|
+ [\fB\-timeout\fR \fIseconds\fR] [\fB\-wait\fR] [\fB\-xrm\fR \fIresourcestring\fR]
|
|
+ [\fB\-tabbed\fR] [\fB\-untabbed\fR] [\fB\-group\fR]
|
|
+ [\fB\-V\fR | \fB\-version\fR] [\fB\-\-\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
|
|
.PP
|
|
-If no server is running, \fBnc\fR will start one unless configured otherwise.
|
|
+If no server is running, \fBncl\fR will start one unless configured otherwise.
|
|
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.
|
|
@@ -171,21 +171,21 @@ Go to line number \fIn\fR.
|
|
Execute an NEdit macro or action on the file following the \-do argument on the
|
|
command line.
|
|
.Sp
|
|
-If you use this command without a filename, \fBnc\fR would randomly choose one
|
|
+If you use this command without a filename, \fBncl\fR would randomly choose one
|
|
window to focus and execute the macro in.
|
|
.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 overrides the X resource `nc.autoStart'.
|
|
.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
|
|
\&\fInedit\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 `nc.serverCommand', by default, \fI\*(L"nedit \-server\*(R"\fR.
|
|
.IP "\fB\-lm\fR \fIlanguagemode\fR" 4
|
|
.IX Item "-lm languagemode"
|
|
@@ -221,11 +221,11 @@ Under rare conditions (such as a slow connection), it
|
|
increase the time-out period. In most cases, the default is fine.
|
|
.IP "\fB\-wait\fR" 4
|
|
.IX Item "-wait"
|
|
-Instructs \fBnc\fR not to return to the shell until all files given
|
|
+Instructs \fBncl\fR not to return to the shell until all files given
|
|
are closed.
|
|
.Sp
|
|
-Normally, \fBnc\fR returns once the files given in its command line
|
|
-are opened by the server. When this option is given, nc returns
|
|
+Normally, \fBncl\fR returns once the files given in its command line
|
|
+are opened by the server. When this option is given, ncl returns
|
|
only after the last file given in this call is closed.
|
|
Note that this option affects all files, not only the ones
|
|
following this option in the command line.
|
|
@@ -262,11 +262,11 @@ for your display:
|
|
.Ve
|
|
.SH "NOTES"
|
|
.IX Header "NOTES"
|
|
-Communication between \fInc\fR\|(1) and \fInedit\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 `\s-1DISPLAY\s0' environment variable, the machine name and
|
|
+Communication between \fIncl\fR\|(1) and \fInedit\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 `\s-1DISPLAY\s0' 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
|
|
@@ -275,12 +275,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
|