Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/usingeup/public_html/textpattern/lib/constants.php on line 149
General error Warning: Cannot modify header information - headers already sent by (output started at /home/usingeup/public_html/textpattern/lib/constants.php:149) on line 5144
General error Warning: Cannot modify header information - headers already sent by (output started at /home/usingeup/public_html/textpattern/lib/constants.php:149) on line 575 Page 2


Photo by Anas Alshanti on Unsplash


Getting started

Let’s walk through setting up Notepad++ to highlight (and run!) Euphoria files.


Head over to the Download Notepad++ page and grab the latest Notepad++ Installer 32-bit x86 package. You should use the 32-bit version regardless of your Windows installation; the 64-bit version of Notepad++ doesn’t support many plugins. You’d only need a 64-bit editor if you were working with files that are over 1-2 GB a piece.


To be honest, I’m not going to step through the installation here. Just run the installer and accept the defaults.


Download UDL

I have created an updated User Defined Language file for Euphoria 4.1. This file will add syntax highlighting to Notepad++.

You can get it on the Downloads page. Here is a direct link: Euphoria.xml (6kB)

Import UDL

  1. Launch Notepad++ and then click Language > Define your language…
  2. Click Import, browse to the Euphoria.xml file you downloaded, and click Open.
  3. A message should say Import successful.
  4. Change the User language dropdown to Euphoria and verify the settings.
  5. Click Language > Define your language… again to close the UDL panel.

Test UDL

Now open a Euphoria file, such C:\Euphoria\demo\win32\window.exw, to see the syntax highlighting works correctly.

Add a launcher

Now we’ll add a couple hotkeys to launch Euphoria programs directly from Notepad++.

Rekey Run command

I like to use F5 to run Euphoria programs, but this is the default key for the Run… dialog in Notepad++.

  1. Click Run > Modify Shortcut/Delete Command…
  2. Select the Main Menu tab.
  3. Scroll all the way down and select the Run command (line 269).
  4. Click Modify and change this to Shift+F5 and click OK.
  5. Click Close to close the Shortcut mapper dialog.

Add new command

The Notepad++ Run command doesn’t have a “start in” directory option, which is useful for ensuring that your program starts in its “home” directory. That way, you can reference files in the local directory from code, and ex.err files will be generated in the same directory.

To remedy this, I created a small program called startw.exw, which you can also find on the Downloads page.

Here’s how to use it:

  1. Download startw.exw and place it into your C:\Euphoria\bin directory.
  2. In Notepad++, click Run > Run…
  3. Paste in the following command: C:\Euphoria\bin\euiw.exe C:\Euphoria\bin\startw.exw -d "$(CURRENT_DIRECTORY)" C:\Euphoria\bin\euiw.exe "$(FILE_NAME)"
  4. Click Save…
  5. Name the command Run in Euphoria and select F5 as the hotkey.
  6. Click Cancel to close the Run dialog.

Now you can run your Euphoria applications by simply pressing F5. We’ll explore additional commands in future articles.

Categories Beginner, Windows


Photo by Steven Wei on Unsplash


Getting started

Let’s walk through installing Euphoria 4.1 on Ubuntu 16.04.


Head over to the Downloads page. The links under “Download from Github” do not include a release for 64-bit Linux. Scroll down to the section labeled Beta for Testing: Euphoria 4.1.0 Beta 2. These are actually the same files in the releases at the top of the page. Download the Linux file for your architecture.

Note: While it is technically possible to run 32-bit applications in 64-bit Linux, I wouldn’t suggest it. Doing so introduces an entire 32-bit runtime system into your operating system that is entirely unnecessary. (Unlike Windows, where the 32-bit subsystem is forever and always a part of the 64-bit system.)

These are the files you’ll want to download:

Architecture Filename Size
Linux 32-bit euphoria-4.1.0-Linux-x86-57179171dbed.tar.gz 14,032 KB
Linux 64-bit euphoria-4.1.0-Linux-x64-57179171dbed.tar.gz 14,358 KB


Step 1: Terminal

Click the Dash button, type terminal, and then click Terminal.

Step 2: Extract

Type cd Downloads and press Enter.

Type tar xzf euphoria-4.1.0-*.tar.gz and press Enter.

Step 3: Install

Type sudo mv euphoria-4.1.0-Linux-x64/ /usr/local/ and press Enter.

This directory and all its files should be owned by root.

Type sudo chown -R root:root /usr/local/euphoria-4.1.0-Linux-x64 and press Enter.


Step 1: Edit profile

We need to edit your Bash profile. Type nano ~/.bashrc and press Enter.

Scroll to the bottom of the file. Press Escape then / to get there immediately.

Step 2: Insert path

Add the following line to the end of the file.

export PATH="/usr/local/euphoria-4.1.0-Linux-x64/bin:$PATH"

To save the changes, press Ctrl+O (for Write Out). To exit Nano, press Ctrl+X (for Exit).

Step 3: Verify installation

Close Terminal and open it again for the profile changes to take effect.

Type eui -v and press Enter. This should display the currently installed version of Euphoria.

That’s it! You’re all done.

Categories Beginner, Linux


Photo by Samuel Zeller on Unsplash


Getting started

Let’s walk through installing Euphoria 4.1 on Windows 10.


Head over to the Downloads page and grab the latest build for your system. If you are using 64-bit Windows then I would recommend using 64-bit Euphoria. Some things may not work correctly with 64-bit (such as Win32Lib), but later I will show you how to set up multiple development environments to toggle between each version.

These are the files you’ll want to download:

Architecture Filename Size
Windows 32-bit euphoria-4.1.0-x86.exe 9,299 kB
Windows 64-bit euphoria-4.1.0-x64.exe 10,650 kB


Launch the installer you downloaded and step through the installation.

Step 1: Welcome

Click Next to begin.

Step 2: License Agreement

Accept the license agreement and click Next.

Step 3: Information

Click Next to continue.

Step 4: Select Destination Location

If you plan on installing multiple versions of Euphoria on one system (we’ll get into that in a later article), then I suggest naming the destination with the version number, e.g. C:\Euphoria41.

Click Next to continue.

Step 5: Select Components

Select the components to install. You can accept the defaults here. Feel free turn off Source code, Unit tests, and even Tutorials if you want to save the 4 MB or so of space.

Click Next to continue.

Step 6: Select Start Menu Folder

I don’t think you need a Start Menu folder created, so I typically check Don’t create a Start Menu folder.

Click Next to continue.

Step 7: Select Additional Tasks

Again, you don’t need to Associate file associations. You can also skip Update environment if you want to do that manually (we’ll cover in the Environment section).

Click Next to continue.

Step 8: Installing

Step 9: Information

You don’t need to reboot your system right now.

Click Next to continue.

Step 10: Complete

And we’re done! Click Finish. Next we’ll verify your environment settings.


Step 1: System Properties

Click Start, type environment, and then click Edit the system environment variables.

This actually opens the System Properties control panel for some reason. Click the Environment Variables… button.

Step 2: Environment Variables

If you selected Update environment in Step 7 above, then you should see your Euphoria path listed here, e.g. C:\Euphoria\bin. If it’s listed here then skip down to verify your installation. Otherwise, proceed to the next step and we’ll add it manually.

Step 3: Edit Environment Variables

Click New to add a new value.

Type in C:\Euphoria\bin and press Enter.

When you’re done, click OK, OK, OK to save and close everything.

Step 4: Verify Your Installation

Click Start, type command prompt, and then click Command Prompt.

Type eui -v and press Enter. This should display the currently installed version of Euphoria.

That’s it! You’re all done.

Categories Beginner, Windows


Photo by Taskin Ashiq on Unsplash

…and we’re back!

After a bit of hiatus (maybe a year or two?), I’ve found a much better hosting solution for

I’m back to using Textpattern over dokuwiki to manage the site. Textpattern was my first choice but I could not run a MySQL database on my previous hosting (it was just too tiny of a VPS).

I’ve got C.K. Lester’s original site back online here and I’ll be working on converting and upgrading his original content as well as writing a lot of my own.

There will be weekly articles as well as an updated FAQ section. Each article will feature a nice free 1080p wallpaper from Unsplash, so feel free to download the image and use it as you’d like.

Here’s to a (hopefully) wonderful 2018!

Categories Editorial, General