JED(1)
π JED(1) β User Manuals π
okay so bestie, you just typed man jed and landed here, and honestly? iconic. this is the User Manuals page for JED, and yeah, it's mostly a lil tutorial β the real full docs live in the GNU info files. but everything you need to not be lost? it's all right here. let's go π
β¨ NAME β¨
Jed</purl> β your fave programmers editor. that's it. that's the name. π
π SYNOPSIS π
jed --version
jed-script --version
xjed --version
jed [--secure] [--batch|--script|--help] [options] file ...
jed-script [--secure] script file [script options] ...
xjed [--secure] [X options] [--batch|--script|--help] [options] file ...
look at those three glow-ups: jed, jed-script, and xjed. pick your fighter. π«Ά
π¦ DESCRIPTION π¦
Jed β programmers editor. fr fr, that's the whole vibe. π
here's the feature list because we do love a resume:
- Color syntax highlighting β¨
- Emulation of Emacs, EDT, Wordstar, and Brief editors
- Extensible in a language that resembles C
- Completely customizable
- Editing TeX files with AUC-TeX style editing (BiBTeX support too π)
- Folding support, and much more...
heads up bestie: for the complete documentation, go read the GNU info files. this manual page is only a brief tutorial. it's giving appetizer, not entrΓ©e. π
π OPTIONS π
π« major options π«
--versionβ prints the version and the compiletime variables. very "who am I, really" of it.--helpβ prints usage information. the classic cry for help, but helpful.--secureβ runs Jed in secure mode, meaning you literally can't run any external commands withsystem()orrun_shell_cmd(). no cap, the doors are locked. π--batchβ run Jed in batch mode. this is a non-interactive mode, so no chatting back.--scriptβ this is a mode like--batchbut jed does not eval the startup files. it behaves likeslsh. you must give the file that should be evaluated as the second argument. it's the same as callingjed-script.
πΈ minor options πΈ
-nβ do not load the.jedrcfile.-a 'file'β load file as the user configuration file instead of.jedrc.-eβ Set emulation mode. the default in Debian is'emacs'. other valid options are'vi','cua','ide'.+ 'n'β goto line n in the buffer. β οΈ notice: for this option to take effect it must appear before the file name in the command line, likejed +3 file.-g 'n'β goto line n in the buffer. β οΈ notice: for this option to take effect it must appear after the file name in the command line, likejed file -g 3.-l 'file'β load file as S-Lang code.-f 'function'β execute the S-Lang function named function.-s 'string'β search forward for string.-2β split window. πͺπͺ-i 'file'β insert file into the current buffer.
π§ X options π§
xjed accepts the common options like -display, -name, -fn and -geometry. and additionally it accepts these lil cuties:
-facesize SIZE,-fs SIZEβ if built with XRENDERFONT support, selects the font sizeSIZE. use it with the option-fnto select a scalable font.-foreground COLOR,-fg COLORβ sets the foreground color.-background COLOR,-bg COLORβ sets the background color.-fgMouse COLOR,-mfg COLORβ sets the foreground color of the mouse pointer. π±οΈ-bgMouse COLOR,-mbg COLORβ sets the background color of the mouse pointer.-Iconic,-icβ start iconified.-title NAMEβ sets the window title toNAME.
for more options, look at xterm.c. iykyk. π
π CONFIGURATION π
π Emulating Other Editors π
JED's ability to create new functions using the S-Lang programming language, plus letting the user choose key bindings, makes emulating other editors possible. currently, JED provides reasonable emulation of the Emacs, EDT, and Wordstar editors. main character energy for all three. π
π Emacs Emulation π
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 emulation 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. so... it's already slaying for you. β¨
π EDT Emulation π
for EDT emulation, edt.sl must be loaded. this is accomplished by ensuring that the line:
() = evalfile ("edt");
is present in the jed.rc (.jedrc) Startup File.
π Wordstar Emulation π
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.
π RUN TIME π
β Status line and Windows β
JED supports multiple windows. each window may contain the same buffer or different buffers. a status line is displayed immediately below each window. the status line contains info like the JED version number, the buffer name, mode, etc.
please beware of the following indicators, bestie, they're telling you things:
**β buffer has been modified since last save.%%β buffer is read only.mβ Mark set indicator. this means a region is being defined.dβ File changed on disk indicator. this indicates that the file associated with the buffer is newer than the buffer itself. π°οΈsβ spot pushed indicator.+β Undo is enabled for the buffer.[Narrow]β Buffer is narrowed to a region of LINES.[Macro]β A macro is being defined.
π«Ά Mini-Buffer. π«Ά
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. it's the group chat at the bottom of your screen. π¬
The Mini-Buffer also provides a direct link to the S-Lang interpreter. 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 convenient and efficient manner. β¬οΈβ¬οΈ obsessed.
πΈ Basic Editing πΈ
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 without an explicit Escape key, Ctrl-[ will most likely generate an Escape character.
a prefix argument to a command may be generated by first hitting the Esc key, then entering 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 argument will abort the act of defining the region and pop the mark. periodt. π
the following list of useful keybindings assumes that emacs.sl has been loaded:
Ctrl-Lβ Redraw screen.Ctrl-_β Undo (Control-underscore, alsoCtrl-X u').Esc qβ Reformat paragraph (wrap mode). used with a prefix argument, will justify the paragraph as well.Esc nβ narrow paragraph (wrap mode). used with a prefix argument will justify the paragraph as well.Esc ;β Make Language comment (Fortran and C)Esc \β Trim whitespace around pointEsc !β Execute shell commandEsc $β Ispell wordCtrl-X ?β Show line/column information.`βquoted_insert--- insert next char as is (backquote key)Esc sβ Center line.Esc uβ Upcase word.Esc dβ Downcase word.Esc cβ Capitalize word.Esc xβ Get M-x minibuffer prompt with command completionCtrl-X Ctrl-Bβ pop up a list of buffersCtrl-X Ctrl-Cβ exit JEDCtrl-X 0β Delete Current WindowCtrl-X 1β One Window.Ctrl-X 2β Split Window.Ctrl-X oβ Other window.Ctrl-X bβ switch to bufferCtrl-X kβ kill bufferCtrl-X sβ save some buffersCtrl-X Escβ Get"S-Lang>"prompt for interface to the S-Lang interpreter.Esc .β Find tagCtrl-@β Set Mark (Begin defining a region). used with a prefix argument aborts the act of defining the region and pops the Mark.
ποΈ FILES ποΈ
JED_ROOT/lib/*.slβ these are the default runtime jed slang files (packages likejed-extracan define additional slang library directories)JED_ROOT/lib/site.slβ This is the default startup file./etc/jed.d/*.slβ The system wide configuration files (this is a special Debian feature).~/.jedrcβ Per user configuration file, or~/.jed/jed.rcβ per user configuration file if theJed_Home_Directory~/.jed/exists.
π AUTHOR π
John E. Davis <jed@jedsoft.org> Jed's Author. the icon, the blueprint, the moment. π
--- This document was translated to nroff by "Boris D. Beletsky" <borik@isracom.co.il>
and that's the whole page bestie!! π this was the Debian edition, from OCT 1996, filed under JED(1) β yes, the footer is older than most of the internet and it's still serving. stay iconic, go edit something. πβ¨π¦
π¦ where this page comes from
- debian bookworm: xjed 1:0.99.20~pre.178+dfsg-6 Β· GPL-2.0-or-later
- debian trixie: xjed 1:0.99.20~pre.189+dfsg-1 Β· GPL-2.0-or-later
- ubuntu jammy: xjed 1:0.99.20~pre.158+dfsg-1 Β· GPL-2.0-or-later
- ubuntu noble: xjed 1:0.99.20~pre.180+dfsg-2 Β· GPL-2.0-or-later
- ubuntu questing: xjed 1:0.99.20~pre.189+dfsg-1
- ubuntu resolute: xjed 1:0.99.20~pre.201+dfsg-1 Β· GPL-2.0-or-later
- ubuntu stonking: xjed 1:0.99.20~pre.203+dfsg-1 Β· GPL-2.0-or-later
- copyright(c) 1996 This manpage may be freely distrebuted as part of GNU Debian Linux
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms