Software >
A console text editor.
Jed does radical new things, such as allowing the user to use tab to insert a "tab" character. It represents an incredible new frontier of usability. Oh, and it has a menu, like any real program would.
Unfortunately, it's misconfigured and there are no clues as to how to fix it. So it's useless.
-
JED Modes Repository -- A collection of S-Lang scripts (modes) contributed by JED users.
--
- 2006-03-06? - (version not recorded) on (distribution not recorded)
- (date not recorded) - 0.99-18 on (distribution not recorded)
-
(date not recorded) - 0.99.16/Unix on (distribution not recorded)
2006-03-06? - (version not recorded) ∞
Configuring ∞
by default, Jed's global configuration settings are in /usr/share/jed/lib/jed.rc but ~/.jedrc will override them.
cp /usr/share/jed/lib/jed.rc ~/.jedrc
https://web.archive.org/web/20161118220845/http://www.fi.infn.it/info/jed/jed_17.html says you can make a ~/.Xdefaults with settings..
Fixing Keys ∞
control-left/control-rightdon't workcontrol-backspacedoesn't workhome/enddon't workcontrol-home/control-enddon't work.-
control-sshould save. Most hotkeys need to be redefined somehow, so that they are single key combinations like in the real world.
Tabs ∞
Tab width: TAB_DEFAULT =
Problem: Pressing tab inserts a tab character. cursor-left/cursor-right hops back and forth through that tab. However, pressing backspace goes back one character.
Not a solution: How do I make the TAB key work?
public define global_mode_hook (hook_name)
{
local_setkey ("self_insert_cmd", "\t");
}
setkey ("self_insert_cmd", "\t");
By default, the Tab key is used in many modes to indent the text, but you can change the setkey definition in .jedrc to have it insert a real Tab character (ASCII 9).
But there is no hint as to what that means or how to go about doing this.
Delete ∞
Problem: Pressing delete makes my screen flash.
No solution has been found.
Colour ∞
/usr/share/doc/jed-common-<version>/color.txt /usr/share/jed/lib/colors/
edit ~/.jedrc
set_color_scheme ("black3");
Then customize the colours:
jed /usr/share/jed/lib/colors/
change:
$1 = "white"; $2 = "black";
to:
$1 = "grey"; $2 = "black";
I don't know of an easier way to do this. No sane colour scheme is included, and no commandline switches are known.
(date not recorded) - 0.99-18 ∞
make gives...
Spoiler
make[1]: Entering directory `/mnt/public/working/editors/jed-0.99-18/src'
mkdir /home/user/working/editors/jed-0.99-18/src/objs
/bin/cp /home/user/working/editors/jed-0.99-18/src/sysconf.h config.h
gcc -g -O2 -Dunix -DJED -I/usr/include/slang -Wl,-export-dynamic /home/user/working/editors/jed-0.99-18/src/chkslang.c -o /home/user/working/editors/jed-0.99-18/src/objs/chkslang -Wl,-export-dynamic -lslang -lutil -lm -ldl
if /home/user/working/editors/jed-0.99-18/src/objs/chkslang jed 10311 ;\
then exit 0; else rm -f /home/user/working/editors/jed-0.99-18/src/objs/chkslang; exit 1; fi
cd /home/user/working/editors/jed-0.99-18/src/objs; gcc -c -g -O2 -Dunix -DJED -I/usr/include/slang -DJED_ROOT='"/usr/local/jed"' /home/user/working/editors/jed-0.99-18/src/buffer.c
cd /home/user/working/editors/jed-0.99-18/src/objs; gcc -c -g -O2 -Dunix -DJED -I/usr/include/slang -DJED_ROOT='"/usr/local/jed"' /home/user/working/editors/jed-0.99-18/src/cmds.c
cd /home/user/working/editors/jed-0.99-18/src/objs; gcc -c -g -O2 -Dunix -DJED -I/usr/include/slang -DJED_ROOT='"/usr/local/jed"' /home/user/working/editors/jed-0.99-18/src/misc.c
/home/user/working/editors/jed-0.99-18/src/misc.c: In function ‘jed_ungetkey_wchar’:
/home/user/working/editors/jed-0.99-18/src/misc.c:744: error: ‘SLUTF8_MAX_MBLEN’ undeclared (first use in this function)
/home/user/working/editors/jed-0.99-18/src/misc.c:744: error: (Each undeclared identifier is reported only once
/home/user/working/editors/jed-0.99-18/src/misc.c:744: error: for each function it appears in.)
make[1]: *** [/home/user/working/editors/jed-0.99-18/src/objs/misc.o] Error 1
make[1]: Leaving directory `/mnt/public/working/editors/jed-0.99-18/src'
make: *** [jed] Error 2
(date not recorded) - 0.99.16/Unix ∞
deletedoesn't workhomeandenddon't work-
control-andleft/right/pageup/pagedown/home/enddon't work -
Its hotkeys are stupid.
control-sshould save.. why screw around withcontrol-xcontrol-sto save!- Are these user-definable? -- Probably, somehow.
With Ruby support ∞
(Ruby)
This would be king if it didn't have insane defaults or was at least configurable.
- (not archived) - hem.fyristorg.com/e-gerell/johann/jed/ruby.sl
Requires slang.
apt-get install libslang1-devel
except it requires SLang-j .. which I can't find anywhere.
- https://jedmodes.sourceforge.io/mode/ruby/
-
http://jedmodes.cvs.sourceforge.net/*checkout*/jedmodes/mode/ruby/ruby.sl
Last updated 2020-05-26 at 10:35:29

ported