jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Brief keybindings (newbie)


On Thu, Jul 17, 2003 at 02:15:51PM -0400, John E. Davis wrote:
> Steve Corwin <steve@xxxxxxxxxxxx> wrote:
> >Am I doing something wrong here, or is it true that jed only supports 
> >Brief keybindings under MS-DOS?
> 
> Brief makes extensive use of the ALT key, which is very poorly
> supported (if at all) by most terminals.  It is possible that brief.sl
> can be made to work with Xjed, but unlikely for a generic terminal.

I think, that by replacing the hard-coded strings in brief.sl with the
appropriate Key_* variables from keydefs.sl, much can be won and it should
run smoothly with xjed on a IPMPC (say with Linux).

E.g.

- setkey ("brief_home", "\xE0G");	       %  Home
- setkey ("brief_home", "Ow");	       %  Home
- setkey ("brief_end", "\xE0O");	       %  End
- setkey ("brief_end", "Oq");	       %  End
- setkey ("brief_delete","\xE0S");       %  Delete
- setkey ("brief_delete","\xOn");        %  Delete

+ requires("keydefs");
+ setkey ("brief_home", Key_Home);
+ setkey ("brief_end", Key_End);
+ setkey ("brief_delete", Key_Delete);

...

Günter

(on holiday the next 3 weeks.)

-- 
Milde at ife.et.tu-dresden.de


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]