--- 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 | B<+>I] [B<-do> I] +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>] @@ -18,12 +18,12 @@ =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 @@ 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 @@ =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, B 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 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 @@ =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