Re: Euphoria Linux Installation

new topic     » goto parent     » topic index » view thread      » older message » newer message

Here is how I make ed.ex useful.


For nostalgic reasons, the "official" Euphoria editor is ed.ex . Consider ed.ex to be a demo program that shows you how a code editor works. It is handy for quick editing and launching demo programs.

Many Linux distributions have a line editor named "ed" installed by default. Use these steps to make ed.ex the default editor:

Tested on Mint Linux.

  • install Euphoria
  • compile ed.ex
    • make a temporary directory in your home directory
      for example: /home/mint/oEu_temp
    • copy ed.ex from /user/share/euphoria/bin to the temp directory
    • open a terminal in oEu_temp; at the prompt type:
      euc ed.ex
    • after some activity you will get a compiled editor named ed
      test the editor by typing ./ed hello.ex
  • copy the compiled Euphoria ed to /bin
    • open your filemanager as root
      (you will need your use password for this)
    • copy ed to /bin
  • run ed
    • open a terminal
    • at the prompt type ed hello.ex

Is there any downside to this approach? I intend to add this suggestion to the documentation.

Tom

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu