NC(1) | NEdit documentation | NC(1) |
nedit-nc - Client program for NEdit text editor
nedit-nc [-read] [-create] [-line n |
+n] [-do command]
[-ask] [-noask] [-svrname name] [-svrcmd
command]
[-lm languagemode]
[-geometry geometry | -g geometry] [-icon
| -iconic]
[-display [host]:server[.screen]]
[-timeout seconds] [-wait] [-xrm
resourcestring]
[-tabbed] [-untabbed] [-group]
[-V | -version] [-h | -help] [--]
[file...]
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, 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.
If you use this command without a filename, nedit-nc would randomly choose one window to focus and execute the macro in.
[<width>x<height>][+|-][<xoffset>[+|-]<yoffset>]
where `<width>' and `<height>' are the desired width and height of the window, and `<xoffset>' and `<yoffset>' are the distance from the edge of the screen to the window, + for top or left, - for bottom or right. -geometry can be specified for individual files on the command line.
Under rare conditions (such as a slow connection), it may be necessary to increase the time-out period. In most cases, the default is fine.
Normally, nedit-nc returns once the files given in its command line are opened by the server. When this option is given, 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.
% setenv DISPLAY devicename:0
Communication between nedit-nc(1) and nedit(1) is through the X display. So as long as X windows is set up and working properly, nedit-nc will work properly as well. 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, 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:
nedit-nc file.c -line 25
nedit-nc -line 25 file.c
For more information see NEdit's online help, or nedit.doc in the NEdit distribution kit.
NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken, Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray, and TK Soh.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
In addition, as a special exception to the GNU GPL, the copyright holders give permission to link the code of this program with the Motif and Open Motif libraries (or with modified versions of these that use the same license), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than linking with Motif/Open Motif. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License in the Help section "Distribution Policy" for more details.
2017-06-18 | NEdit released by Debian (1:5.7-2) |