1. Question about ed.ex
- Posted by Jacques Guy <j.guy at TRL.TELSTRA.COM.AU> Feb 19, 1998
- 569 views
I wanted to switch off the beep when you execute a program from inside the editor, so I looked at ed.ex and its included files, thinking it would be easy to locate and disable, but... I can't see that Ctrl-G anywhere! Help, someone?
2. Re: Question about ed.ex
- Posted by Michael Sabal <mjs at OSA.ATT.NE.JP> Feb 19, 1998
- 582 views
- Last edited Feb 20, 1998
---------- From: Jacques Guy[SMTP:j.guy at TRL.TELSTRA.COM.AU] Sent: Friday, 20 February, 1998 3:01 AM To: Multiple recipients of list EUPHORIA Subject: Question about ed.ex I wanted to switch off the beep when you execute a program from inside the editor, so I looked at ed.ex and its included files, thinking it would be easy to locate and disable, but... I can't see that Ctrl-G anywhere! Help, someone? ---------- 1) If you look in "library.doc" under system(s, i), you'll see 3 options = for i. The editor uses option 1, which restores the graphics mode and = beeps. If you want to get rid of the beep, change the line that = executes your program to option 0. 2) My 2-cents on syntax... For 0-base sequences, I agree w/ Rob. I = haven't needed 0-base except rarely, and the conversion was easier to do = in-line. I like the idea of very_long_sequence_name[half_way..end] = instead of having to type length(~~) every time. To avoid shrouding = conflicts, you CAN'T use short names for important or global variables. = I also agree with the idea of global exception handling, perhaps = including a procedure code so we can identify where the exception came = from (although some may say this sounds too OO). 3) If anyone is interested, I have some routines for an AI system = (language recognition) available. However, I've been too busy to do = much with them recently -- I've gotta learn Java :( Ebeda-ebeda--That's all folks! Mike Sabal