Re: Euphoria Linux Installation

new topic     » goto parent     » topic index » view thread      » older message » newer message
ChrisB said...

Hi

It'll work of course, but some Linux purists might be upset by the contamination of the /bin folder. Perhaps the compiled ed should be put in the /usr/bin folder.

Chris

I think that installing euphoria in the root file system is a huge pain in the neck. I recommend installing euphoria directly into user space using the generic tar/gz package: euphoria-4.0.5

Under Ubuntu 13.04, my .profile ends with the euphoria assignments:

# set PATH so it includes user's private bin if it exists 
if [ -d "$HOME/bin" ] ; then  
    PATH="$HOME/bin:$PATH"  
fi 
    PATH="$HOME/euphoria/bin:$PATH" 
    # PATH="$/usr/bin:$PATH" 
    EUDIR="$HOME/euphoria" 
    EUINC="$HOME/euphoria/include" 
    export PATH EUDIR EUINC 

Indeed, the only advantage I see to installing Euphoria into the root system in the traditional "Debian" manner would be if such a euphoria package was made available part in parcel with a Linux distribution like ruby, python, lua, etc.

For what it is worth I have not been able to get WxEuphoria to work under Ubuntu 13.04.

Using ed.ex, you will probably have to change some of the key assignments for the LXDE terminal, most notably:

------------------------------------------------------------------------ 
-- HOME = 262 
 
-- CONTROL_a, LXDE/GNOME-terminal: moves cursor to beginning of line 
HOME = 1 
 
-- END = 360 
-- CONTROL_], LXDE/Gnome-terminal: moves cursor to end of line 
END = 29    
--------------------------------------------------------------------------- 

Those assignments may seem strange, but you will fine that pressing "CONTROL + ]" and "CONTROL + a" is actually much easier than reaching for the end/home buttons. At any rate the HOME and KEY buttons will not work for ed.ex under most, if not all linux terminals.

You can also download my heavily modified version of ed.ex: edx ,which will not work unless you have installed euphoria directly into your user space/home directory. You can get some ideas and examples of how ed.ex can be modified and "shaped" to your preferences.

Regards, Ken Rhodes

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

Search



Quick Links

User menu

Not signed in.

Misc Menu