Re: Euphoria Linux Installation
- Posted by _tom (admin) Jul 15, 2013
- 1986 views
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
- make a temporary directory in your home directory
- copy the compiled Euphoria ed to /bin
- open your filemanager as root
(you will need your use password for this) - copy ed to /bin
- open your filemanager as root
- 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