nedit [-read] [-create] [-line n | +n] [-server] [-do command] [-tags file] [-tabs n] [-wrap] [-nowrap] [-autowrap] [-autoindent] [-noautoindent] [-autosave] [-noautosave] [-rows n] [-columns n] [-font font] [-lm languagemode] [-geometry geometry] [-iconic] [-noiconic] [-display [host]:server[.screen] [-xrm resourcestring] [-svrname name] [-import file] [-background color] [-foreground color] [-tabbed] [-untabbed] [-group] [-V|-version] [--] [file...]
-readOpen the file Read Only regardless of the actual file protection.
-createDon't warn about file creation when a file doesn't exist.
-line n (or +n)Go to line number n
-serverDesignate this session as an NEdit server, for processing commands from the nc program. nc can be used to interface NEdit to code development environments, mailers, etc., or just as a quick way to open files from the shell command line without starting a new NEdit session.
-do commandExecute an NEdit macro or action on the file following the -do argument on the command line. -do is particularly useful from the nc program, where nc -do can remotely execute commands in an NEdit -server session.
-tags fileLoad a file of directions for finding definitions of program subroutines and data objects. The file must be of the format generated by Exuberant Ctags, or the standard Unix ctags command.
-tabs nSet tab stops every n characters.
-wrap, -nowrapWrap long lines at the right edge of the window rather than continuing them past it. (Continuous Wrap mode)
-autowrap, -noautowrapWrap long lines when the cursor reaches the right edge of the window by inserting newlines at word boundaries. (Auto Newline Wrap mode)
-autoindent, -noautoindentMaintain a running indent.
-autosave, -noautosaveMaintain a backup copy of the file being edited under the name '~filename'.
-rows nDefault height in characters for an editing window.
-columns nDefault width in characters for an editing window.
-font font (or -fn font)Font for text being edited (Font for menus and dialogs can be set with -xrm "*fontList:font").
-lm languagemodeInitial language mode used for editing succeeding files.
-geometry geometry (or -g geometry)The initial size and/or location of editor windows. The argument geometry has the form:
[<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.
-iconic, -noiconicInitial window state for succeeding files.
-display [host]:server[.screen]The name of the X server to use. host specifies the machine, server specifies the display server number, and screen specifies the screen number. host or screen can be omitted and default to the local machine, and screen 0.
-background color (or -bg color)User interface background color. (Background color for text can be set separately with -xrm "nedit.textBgColor: color" or using the Preferences -> Colors dialog).
-foreground color (or -fg color)User interface foreground color. (Foreground color for text can be set separately with -xrm "nedit.textFgColor: color" or using the Preferences -> Colors dialog).
-tabbedOpen all subsequent files in new tabs. Resets -group option.
-untabbedOpen all subsequent files in new windows. Resets -group option.
-groupOpen all subsequent files as tabs in a new window.
-xrm resourcestringSet the value of an X resource to override a default value (see "Customizing NEdit").
-svrname nameWhen starting NEdit in server mode, name the server, such that it responds to requests only when nc is given a corresponding -svrname argument. By naming servers, you can run several simultaneously, and direct files and commands specifically to any one. Specifying a non-empty name automatically designates this session as an NEdit server, as though -server were specified.
-import fileLoads an additional preferences file on top of the existing defaults saved in your preferences file. To incorporate macros, language modes, and highlight patterns and styles written by other users, run NEdit with -import <file>, then re-save your preference file with Preferences -> Save Defaults.
-versionPrints out the NEdit version information. The -V option is synonymous.
--Treats all subsequent arguments as file names, even if they start with a dash. This is so NEdit can access files that begin with the dash character.