⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 nedit 是一款linux下的开发源码的功能强大的编辑器
💻
📖 第 1 页 / 共 2 页
字号:
                    NEdit Version 5.4, November 2003$Id: README,v 1.31.2.7 2003/11/19 13:44:28 edg Exp $	     NEdit is a multi-purpose text editor for the X Window System, which combines astandard, easy to use, graphical user interface with the thorough functionalityand stability required by users who edit text eight hours a day.  It providesintensive support for development in a wide variety of languages, textprocessors, and other tools, but at the same time can be used productively byjust about anyone who needs to edit text.This program is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE.As of version 5.1, NEdit may be freely distributed under the terms of the GNUGeneral Public License (see the file COPYRIGHT which is also part of thisdistribution).NEdit sources, executables, additional documentation, and contributed softwareare available from the NEdit web site at http://nedit.org.AUTHORSNEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad,Jim Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, MaxVohlken, Yunliang Yu, Donna Reid, Arne F鴕lie, Eddy De Greef, SteveLoBasso, Alexander Mai, Scott Tringali, Thorsten Haude, Steve Haehn,Andrew Hood, and Nathaniel Gray.The regular expression matching routines used in NEdit are adapted (withpermission) from original code written by Henry Spencer at the University ofToronto.Syntax highlighting patterns and smart indent macros were contributedby: Simon T. MacDonald,  Maurice Leysens, Matt Majka, Alfred Smeenk,Alain Fargues, Christopher Conrad, Scott Markinson, Konrad Bernloehr,Ivan Herman, Patrice Venant, Christian Denat, Philippe Couton, Max Vohlken, Markus Schwarzenberg, Himanshu Gohel, Steven C. Kapp, Michael Turomsha, John Fieber, Chris Ross, Nathaniel Gray, Joachim Lous, Mike Duigou, Seak Teng-Fong, Joor Loohuis, Mark Jones, and Niek van den Berg.VERSION 5.4Version 5.4 offers several new features:  - Calltips  - Rangesets  - Backlighting  - Highlighting information macros  - Full mouse wheel support (on XFree86 servers)  - Look-behind matching for regular expressions  - Regular expression and syntax highlighting speed-ups  - Flexible resource file location  - Color dialog  - Option to auto-hide mouse pointer while typing  - Option to keep cursor away from top and bottom of the screen  - Check for real changes of externally modified files  - Synchronized interaction between nc and nedit  - Several smaller improvements on usability and speed  - Several smaller improvements to the macro languageFor a more detailed description of these new features and a list of important bug fixes, see the ReleaseNotes file for more details.BUILDING NEDITPre-built executables will be available for many operating systems, includingmost major Unix and VMS systems. Check out the NEdit web page at  http://nedit.orgThe requirements to build NEdit from the sources are:  - ANSI C89 system (compiler, headers, libraries) - make utility (eg, GNU make) - X11R5 development stuff (headers, libraries), or newer - Motif 1.2 or above (Motif 1.1 might work, but is no longer supported)   This GUI library is a standard part on most systems which have an   X11 installation. Most commercial Unix systems feature this, others may   require a separate installation.    A "free" (LGPL'ed) alternative to Motif, called LessTif, is available.   See the LessTif section under PLATFORM SPECIFIC ISSUES for details. Optionally one may use:  - yacc (or GNU bison)The two directories called 'source' and 'util' contain the sources for NEdit.'util' should be built first, followed by 'source'. The makefile in NEdit'sroot directory can be used to build both in sequence if your system is one ofthe supported machines and no modifications are necessary to the makefiles. Tobuild NEdit from the root directory, issue the command: 'make <machine-type>';where <machine-type> is one of suffixes of a makefile in the directory'makefiles'. For example, to build the Silicon Graphics version, type:	make sgiIf everything works properly, this will produce two executables called'nedit' and 'nc' in the directory called 'source'.The Source DirectoriesSince executables are already available for the supported systems, you areprobably not just rebuilding an existing configuration, and need to know moreabout how the directories are organized.The util directory builds a library file called libNUtil.a, which is laterlinked with the code in the source directory to create the nedit executable.The makefiles in both source directories consist of two parts, a machinedependent part and a machine independent part. The machine dependent makefilescan be found in the directory called 'makefiles', and contain machine specificheader information. They invoke a common machine independent part calledMakefile.common (which in turn includes also Makefile.dependencies).To compile the files in either of these directories, copy or link one of thesystem-specific makefiles from the directory 'makefiles' into the directory,and issue the command:    make -f Makefile.<machine-type>    (where <machine-type> is the makefile suffix).  Alternatively, you canname the file 'Makefile' and simply type "make".If no makefile exists for your system, you should start from Makefile.generic,which is extensively commented. Contact the developer at develop@nedit.org forhelp. Building NEdit on VMS SystemsCommand files are provided for compiling and linking files in the sourceand util directories.  comutil.com compiles the files in the util directoryand produces two library files, vmsutils.olb and libutil.olb.  comnedit.comcompiles and links the files in the source directory to produce the nedit.exeexecutable.Additional SettingsSome C preprocessor macros may be used to en/disable certain partsof the code. Usually this correponds to some non-important featuresbeing selected or certain workarounds for platform-specifc problems.Those which might be useful on more than one platform are documentedin makefiles/Makefile.generic.Note that a special compilation flag, namely REPLACE_SCOPE, is currentlyavailable. Its purpose is to allow the evaluation of two alternative(but functionally equivalent) Replace/Find dialog box layouts. By default, NEdit is built with a Replace/Find dialog containing 2 rowsof push buttons. Compiling with the REPLACE_SCOPE flag enables an alternative layout with a row of radio buttons for selecting the scope of the replace operations. Eventually, one of these alternatives willprobably disappear, but up to now, the NEdit developers have not been ableto decide which one to drop. Please give them both a try and let us know which one you prefer (via the discuss mailing list, for instance).Another compilation flag, HAVE__XMVERSIONSTRING, adds additionalinformation about the Motif version in the menu item "Help->Version" orthe command line option "-version". Whether this is available on yoursystem depends on the Motif implementation. It is known to work withOpenMotif 2.1.30, and Motif on Solaris 2.6 and AIX 4.3.3.INSTALLATIONNEdit consists of a single, stand-alone executable file which does not requireany special installation.  To install NEdit on Unix systems, simply put thenedit executable in your path.  On VMS systems, nedit must be defined as a foreign command so that it canprocess command line arguments. For example, if nedit.exe were in thedirectory mydir on the disk called mydev, adding the following line to yourlogin.com file would define the nedit command:	$ ned*it :== $mydev:[mydir]nedit.exeTo use NEdit in client/server mode, you also need the nedit client program, nc,which, again, needs no special installation, except in the VMS case, as above.On some systems, the name nc may conflict with an existing program.  In thatcase, choose a different name for the executable and simply rename it.  Therecommend alternative is 'ncl'.Don't forget to put the man-pages for nedit and nc into a place where yourman command is able to find them (e.g. /usr/man/man1/nedit.1)RUNNING NEDITTo run NEdit, simply type 'nedit', optionally followed by the name of a fileor files to edit. On-line help is available from the pulldown menu on the farright of the menu bar. For more information on the syntax of the nedit commandline, look under the heading of "NEdit Command Line".The recommended way to use NEdit, though, is in client/server mode, invoked bythe nc executable. It allows you to edit multiple files within the sameinstance of NEdit (but still in multiple windows). This saves memory (only oneprocess keeps running), and enables additional functionality (such as find &replace accross multiple windows). See "Server Mode and nc" in the help menufor more information.If you are accessing a host Unix system from a remote workstation or Xterminal, you need to set the Unix environment variable for your display:csh:        % setenv DISPLAY devicename:0sh, ksh, bash, zsh:        % export DISPLAY=devicename:0where devicename is the network node name (hostname) of the workstation or Xterminal where you are typing.On VMS systems, the equivalent command is:        $ set display/create/node=devicenamePLATFORM SPECIFIC ISSUESSystems with LessTif, rather than Motif librariesAs of Lesstif 0.93.18, NEdit is very stable with Lesstif. You can get the latest LessTif version from http://www.lesstif.org.If you are having trouble building or running NEdit with LessTif,remember there are pre-compiled statically linked executables availablefrom our website.Known bugs which might show off in NEdit linked with LessTif include:  1) Some dialogs which are intended to be modal (prevent other activity     while up) are not, and doing other actions while these dialogs are     up can cause trouble (.89.9+)       2) Switching to continuous wrap mode, sometimes the horizontal scroll     remains partially drawn after the change, rather than disappearing     completely as it should. (.89.9+)    3) Secondary selection operations are not yet supported in text fields.  4) Status bar is blank after usage of Incremental Search field     (0.93.18+-)Linux SystemsRed Hat Linux, as of version 8.0, no longer automatically reads X resources outof the ~/.Xdefaults file.  Instead, it reads a file named ~/.Xresources.  Anycustomizations stored in ~/.Xdefaults will not be honored, for all Xapplications.  To fix this, copy the resources into ~/.Xdefaults, or link thefiles together.The default key bindings for arrow keys in fvwm interfere with some of thearrow key bindings in NEdit, particularly, Ctrl+Arrow and Alt+Arrow.  Youmay want to re-bind them either in NEdit (see Customizing -> Key Bindingin the Help menu) or in fvwm in your .fvwmrc file.Some older Linux distributions are missing the /usr/X11R6/lib/X11/XKeysymDBfile, which is necessary for running Motif programs.  When XKeysymDB ismissing, NEdit will spew screenfulls of messages about translation table syntaxerrors, and many keys won't work.  You can obtain a copy of the XKeysymDB filefrom the contrib sub-directory of the NEdit distribution directory.  Mac OS X SystemsYou will probably need to edit makefiles/Makefile.macosx to point NEdit atthe correct version of Motif.  There are comments in the makefile to help youdo this correctly.SGI SystemsBeginning with IRIX 6.3, SGI is distributing a customized version of NEditalong with their operating system releases.  Their installation uses an

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -