JED(1) User Manuals JED(1)
Jed - programmers editor
jed [options] file ...
Jed - programmers editor
Color syntax highlighting. Emulation of Emacs, EDT, Wordstar, and Brief editors. Exten-
sible in a language resembling C. Completely customizable. Editing TeX files with AUC-TeX
style editing (BiBTeX support too). Folding support, and much more...
For complete documentation, see GNU info files, this manual only provides brief tutorial.
run Jed in batch mode. This is a non-interactive mode.
do not load .jedrc file.
goto line n in buffer
load file as S-Lang code.
execute S-Lang function named function
search forward for string
insert file into current buffer.
Emulating Other Editors
JED's ability to create new functions using the S--Lang programming language as well as
allowing the user to choose key bindings, makes the emulation of other editors possible.
Currently, JED provides reasonable emulation of the Emacs, EDT, and Wordstar editors.
Emacs Emulation is provided by the S-Lang code in emacs.sl. The basic functionality of
Emacs is emulated; most Emacs users should have no problem with JED. To enable Emacs emu-
lation in JED, make sure that the line:
() = evalfile ("emacs");
is in your jed.rc (.jedrc) startup file. JED is distributed with this line already
present in the default jed.rc file.
For EDT emulation, edt.sl must be loaded. This is accomplished by ensuring that the line:
() = evalfile ("edt");
is in present in the jed.rc (.jedrc) Startup File.
wordstar.sl contains the S-Lang code for JED's Wordstar emulation. Adding the line
() = evalfile ("wordstar");
to your jed.rc (.jedrc) startup file will enable JED's Wordstar emulation.
Status line and Windows
JED supports multiple windows. Each window may contain the same buffer or different buf-
fers. A status line is displayed immediately below each window. The status line contains
information such as the JED version number, the buffer name, mode, etc. Please beware of
the following indicators:
buffer has been modified since last save.
buffer is read only.
Mark set indicator. This means a region is being defined.
File changed on disk indicator. This indicates that the file associated with the
buffer is newer than the buffer itself.
spot pushed indicator.
Undo is enabled for the buffer.
Buffer is narrowed to a region of LINES.
A macro is being defined.
The Mini-Buffer consists of a single line located at the bottom of the screen. Much of the
dialog between the user and JED takes place in this buffer. For example, when you search
for a string, JED will prompt you for the string in the Mini-Buffer.
The Mini-Buffer also provides a direct link to the S-Langinterpreter. To access the
interpreter, press Ctrl-X Esc and the S-Lang> prompt will appear in the Mini-Buffer.
Enter any valid S-Lang expression for evaluation by the interpreter.
It is possible to recall data previously entered into the Mini-Buffer by using the up and
down arrow keys. This makes it possible to use and edit previous expressions in a conve-
nient and efficient manner.
Editing with JED is pretty easy - most keys simply insert themselves. Movement around the
buffer is usually done using the arrow keys or page up and page down keys. If edt.sl is
loaded, the keypads on VTxxx terminals function as well. Here, only the highlights are
touched upon (cut/paste operations are not considered `highlights'). In the following,
any character prefixed by the ^ character denotes a Control character. On keyboards with-
out an explicit Escape key, Ctrl-[ will most likely generate and Escape character.
A prefix argument to a command may be generated by first hitting the Esc key, then enter-
ing the number followed by pressing the desired key. Normally, the prefix argument is
used simply for repetition. For example, to move to the right 40 characters, one would
press Esc 4 0 followed immediately by the right arrow key. This illustrates the use of
the repeat argument for repetition. However, the prefix argument may be used in other
ways as well. For example, to begin defining a region, one would press the Ctrl-@ key.
This sets the mark and begins highlighting. Pressing the Ctrl-@ key with a prefix argu-
ment will abort the act of defining the region and to pop the mark.
The following list of useful keybindings assumes that emacs.sl has been loaded.
Undo (Control-underscore, also Ctrl-X u').
Reformat paragraph (wrap mode). Used with a prefix argument. will justify the
paragraph as well.
narrow paragraph (wrap mode). Used with a prefix argument will justify the para-
graph as well.
Make Language comment (Fortran and C)
Trim whitespace around point
Execute shell command
Show line/column information.
quoted_insert --- insert next char as is (backquote key)
Get M-x minibuffer prompt with command completion
pop up a list of buffers
Delete Current Window
switch to buffer
save some buffers
Get "S-Lang>" prompt for interface to the S-Lang interpreter.
Set Mark (Begin defining a region). Used with a prefix argument aborts the act of
defining the region and pops the Mark.
these are the default runtime jed slang files
This is the default startup file.
The system wide configuration file.
Per user configuration file.
John E. Davis <email@example.com>
--- This document was translated to nroff by "Boris D. Beletsky" <firstname.lastname@example.org>
Debian OCT 1996 JED(1)