#! /bin/sh /usr/share/dpatch/dpatch-run
# Description: nedit-nc is upstream called nc, adjusted the man
# Author: Paul Gevers <paul@climbing.nl>
# Upstream: not-needed

@DPATCH@
diff -urNad nedit-5.6~cvs20081118~/doc/nc.pod nedit-5.6~cvs20081118/doc/nc.pod
--- nedit-5.6~cvs20081118~/doc/nc.pod	2005-03-03 08:49:37.000000000 -0600
+++ nedit-5.6~cvs20081118/doc/nc.pod	2008-11-29 21:02:42.000000000 -0600
@@ -3,27 +3,27 @@
 
 =head1 NAME
 
-nc - Client program for NEdit text editor
+nedit-nc - 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-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...]
 
 =head1 DESCRIPTION
 
-B<nc> is the client interface to the NEdit text editor. A server can be started
-explicitly by running NEdit in server mode:
+B<nedit-nc> 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-nc> 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,26 +49,26 @@
 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
-window to focus and execute the macro in.
+If you use this command without a filename, B<nedit-nc> 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-nc> 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-nc> 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 X resource `nc.serverCommand', by default, I<"nedit -server">.
+The command which B<nedit-nc> 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 @@
 
 =item B<-wait>
 
-Instructs B<nc> not to return to the shell until all files given
+Instructs B<nedit-nc> 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-nc> returns once the files given in its command line
+are opened by the server. When this option is given, B<nedit-nc> 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,13 +167,13 @@
 
 =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
-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
-that is running on a machine with a different host name, even though it may be
-perfectly appropriate for editing a given file.
+Communication between L<nedit-nc(1)> and L<nedit(1)> is through the X display.
+So as long as X windows is set up and working properly, B<nedit-nc> will work
+properly as well. B<nedit-nc> 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<nedit-nc> 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.
 
 In typical Unix style, arguments affect the files which follow them on the
 command line, for example:
@@ -182,11 +182,11 @@
 
 =item  incorrect:
 
-  nc file.c -line 25
+  nedit-nc file.c -line 25
 
 =item  correct:
 
-  nc -line 25 file.c
+  nedit-nc -line 25 file.c
 
 =back
 
