Group :: Editores
RPM: nedit
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: nedit-5.7-nc-manfix.patch
Download
Download
From 72226363a324caf65a48cba75fdc3d54c95262c7 Mon Sep 17 00:00:00 2001
From: Mike DePaulo <mikedep333@gmail.com>
Date: Thu, 9 Feb 2017 08:48:17 -0500
Subject: [PATCH] Port Fedora's nedit-5.6-nc-manfix.patch from nc.man to
nc.pod, so that nc.man can be generated.
Also, fix an omission.
---
doc/nc.pod | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/doc/nc.pod b/doc/nc.pod
index 365cd50..86c69c3 100644
--- a/doc/nc.pod
+++ b/doc/nc.pod
@@ -3,27 +3,27 @@
=head1 NAME
-nc - Client program for NEdit text editor
+nedit-client - Client program for NEdit text editor
=head1 SYNOPSYS
-nc [B<-read>] [B<-create>] [B<-line> I<n> | B<+>I<n>] [B<-do> I<command>]
- [B<-ask>] [B<-noask>] [B<-svrname> I<name>] [B<-svrcmd> I<command>]
- [B<-lm> I<languagemode>]
- [B<-geometry> I<geometry> | B<-g> I<geometry>] [B<-icon> | B<-iconic>]
- [B<-display> I<[host]:server[.screen]>]
- [B<-timeout> I<seconds>] [B<-wait>] [B<-xrm> I<resourcestring>]
- [B<-tabbed>] [B<-untabbed>] [B<-group>]
- [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...]
+nedit-client [B<-read>] [B<-create>] [B<-line> I<n> | B<+>I<n>] [B<-do> I<command>]
+ [B<-ask>] [B<-noask>] [B<-svrname> I<name>] [B<-svrcmd> I<command>]
+ [B<-lm> I<languagemode>]
+ [B<-geometry> I<geometry> | B<-g> I<geometry>] [B<-icon> | B<-iconic>]
+ [B<-display> I<[host]:server[.screen]>]
+ [B<-timeout> I<seconds>] [B<-wait>] [B<-xrm> I<resourcestring>]
+ [B<-tabbed>] [B<-untabbed>] [B<-group>]
+ [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...]
=head1 DESCRIPTION
-B<nc> is the client interface to the NEdit text editor. A server can be started
+B<nedit-client> is the client interface to the NEdit text editor. A server can be started
explicitly by running NEdit in server mode:
nedit -server
-If no server is running, B<nc> will start one unless configured otherwise.
+If no server is running, B<nedit-client> 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.
@@ -49,25 +49,25 @@ Go to line number I<n>.
Execute an NEdit macro or action on the file following the -do argument on the
command line.
-If you use this command without a filename, B<nc> would randomly choose one
+If you use this command without a filename, B<nedit-client> would randomly choose one
window to focus and execute the macro in.
=item B<-ask>, B<-noask>
-Instructs B<nc> whether to automatically start a server if one is not
+Instructs B<nedit-client> whether to automatically start a server if one is not
available. This overrides the X resource `nc.autoStart'.
=item B<-svrname> I<name>
-Explicitly instructs B<nc> which server to connect to, an instance of
+Explicitly instructs B<nedit-client> which server to connect to, an instance of
L<nedit(1)> with a corresponding B<-svrname> argument. By naming servers, you
can run several simultaneously, and direct files and commands specifically to
any one.
=item B<-svrcmd> I<command>
-The command which B<nc> uses to start an NEdit server. It is also settable via
+The command which B<nedit-client> uses to start an NEdit server. It is also settable via
the X resource `nc.serverCommand', by default, I<"nedit -server">.
=item B<-lm> I<languagemode>
@@ -107,11 +107,11 @@ increase the time-out period. In most cases, the default is fine.
=item B<-wait>
-Instructs B<nc> not to return to the shell until all files given
+Instructs B<nedit-client> not to return to the shell until all files given
are closed.
-Normally, B<nc> returns once the files given in its command line
-are opened by the server. When this option is given, nc returns
+Normally, B<nedit-client> returns once the files given in its command line
+are opened by the server. When this option is given, nedit-client 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.
@@ -167,11 +167,11 @@ for your display:
=head1 NOTES
-Communication between L<nc(1)> and L<nedit(1)> is through the X display. So as
-long as X windows is set up and working properly, B<nc> will work properly
-as well. B<nc> uses the `DISPLAY' environment variable, the machine name and
+Communication between L<nedit-client(1)> and L<nedit(1)> is through the X display. So as
+long as X windows is set up and working properly, B<nedit-client> will work properly
+as well. B<nedit-client> uses the `DISPLAY' 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, B<nc> will not be able to find a server
+machines sharing a common file system, B<nedit-client> 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.
@@ -182,11 +182,11 @@ command line, for example:
=item incorrect:
- nc file.c -line 25
+ nedit-client file.c -line 25
=item correct:
- nc -line 25 file.c
+ nedit-client -line 25 file.c
=back
--
2.9.3