jed-users mailing list

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

Re: exit in EDT emulation


David Gressett <gresset1@xxxxxxxxxxx> wrote:
>The new  exit intrinsic (#45 in the changes list) has broken the exit 
>command that have been using for years to exit jed in EDT emulation. I have 
>"exit" firmly embedded in my synapses from years of use all the way back to 
>the original DEC EDT editor which I used on a PDP-11 with the RSX-11M OS.
>
>AAAAAArrrrrgh!!!!!

Hmm...  Do you type exit at the mini-buffer prompt?

If so, then put the following in your .jedrc file AFTER loading edt
keybindings:

   define edt_evaluate_cmd ()
   {
       cmd = strtrim (read_mini ("EDT:", "", ""));
       if (cmd == "exit")
         cmd = "exit_jed";
       eval (cmd);
   }
   setkey ("\eOP\eOw");
   
Does this give you the desired behavior?

Thanks,
--John

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


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