From 72226363a324caf65a48cba75fdc3d54c95262c7 Mon Sep 17 00:00:00 2001 From: Mike DePaulo 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 | B<+>I] [B<-do> I] - [B<-ask>] [B<-noask>] [B<-svrname> I] [B<-svrcmd> I] - [B<-lm> I] - [B<-geometry> I | B<-g> I] [B<-icon> | B<-iconic>] - [B<-display> I<[host]:server[.screen]>] - [B<-timeout> I] [B<-wait>] [B<-xrm> I] - [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 | B<+>I] [B<-do> I] + [B<-ask>] [B<-noask>] [B<-svrname> I] [B<-svrcmd> I] + [B<-lm> I] + [B<-geometry> I | B<-g> I] [B<-icon> | B<-iconic>] + [B<-display> I<[host]:server[.screen]>] + [B<-timeout> I] [B<-wait>] [B<-xrm> I] + [B<-tabbed>] [B<-untabbed>] [B<-group>] + [B<-V> | B<-version>] [B<-h> | B<-help>] [B<-->] [file...] =head1 DESCRIPTION -B is the client interface to the NEdit text editor. A server can be started +B 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 will start one unless configured otherwise. +If no server is running, B 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. 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 would randomly choose one +If you use this command without a filename, B would randomly choose one window to focus and execute the macro in. =item B<-ask>, B<-noask> -Instructs B whether to automatically start a server if one is not +Instructs B whether to automatically start a server if one is not available. This overrides the X resource `nc.autoStart'. =item B<-svrname> I -Explicitly instructs B which server to connect to, an instance of +Explicitly instructs B which server to connect to, an instance of L 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 -The command which B uses to start an NEdit server. It is also settable via +The command which B 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 @@ -107,11 +107,11 @@ increase the time-out period. In most cases, the default is fine. =item B<-wait> -Instructs B not to return to the shell until all files given +Instructs B not to return to the shell until all files given are closed. -Normally, B returns once the files given in its command line -are opened by the server. When this option is given, nc returns +Normally, B 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 and L is through the X display. So as -long as X windows is set up and working properly, B will work properly -as well. B uses the `DISPLAY' environment variable, the machine name and +Communication between L and L is through the X display. So as +long as X windows is set up and working properly, B will work properly +as well. B 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 will not be able to find a server +machines sharing a common file system, B 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