f24de0b229
I do an updated nedit version for several years now. It is based on latest CVS which is very slowly evolving and obsoletes most of the patches. I suggest to use this version instead of the current one. Also it is bad style to link from an non-home-project to a home project. editors/nedit should be the base, not the other way round. I checked all inbetween changes in the other packages today and I'm pretty sure that this version is more recent in every detail. OBS-URL: https://build.opensuse.org/request/show/139490 OBS-URL: https://build.opensuse.org/package/show/editors/nedit?expand=0&rev=7
107 lines
4.2 KiB
Diff
107 lines
4.2 KiB
Diff
--- nedit-5.5_CVS20071122/doc/nc.pod.orig 2007-11-22 08:38:37.000000000 +0100
|
|
+++ nedit-5.5_CVS20071122/doc/nc.pod 2007-11-22 08:41:02.000000000 +0100
|
|
@@ -3,11 +3,11 @@
|
|
|
|
=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>]
|
|
+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>]
|
|
@@ -18,12 +18,12 @@
|
|
|
|
=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 @@
|
|
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 @@
|
|
|
|
=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, B<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 @@
|
|
|
|
=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 @@
|
|
|
|
=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
|
|
|