On Wed, Jul 16, 2003 at 09:34:51AM -0700, Steve Corwin wrote:
Hi,
I've been experimenting with jed while looking for an editor that runs
on Linux and supports the Brief keybindings. Based on the web pages I
found I tried making a .jedrc file. Here are its contents:
steve@luke:~$ cat .jedrc
if (BATCH == 0)
{
%() = evalfile ("brief"); %% Brief Keybindings (MSDOS only!!)
() = evalfile ("/usr/share/jed/lib/brief.sl");
}
I know that jed sees it because I get an error message when jed starts
that says "S-Lang Error: Undefined Name: ALT_CHAR is undefined".
Am I doing something wrong here, or is it true that jed only supports
Brief keybindings under MS-DOS?
I dont't know about this, but some vital variables are only defined in the
.jedrc file. So instead of creating a new one, you are supposed to copy the
jed.rc file that comes with jed to ~ and modify it to your needs.
BTW: you do not need the whole path to the brief.sl file, as long as it is
in the canonical place (i.e. within the jed_library_path).
Minimal variant:
copy jed.rc to ~/.jedrc
change to
% () = evalfile("emacs"); % Emacs-like bindings
() = evalfile ("brief"); % Brief Keybindings (MSDOS only!!)
try if it works in Linux and tell about problems.
Günter