Classic Colors is a simple and efficient paint program for Unix systems, inspired by MS Paint (Windows 95-98 version). It is built on the time-tested Motif UI library, so it should last for a long time and be widely compatible with various Unix flavours.
For now, you must build from source (help making it available in package managers would be greatly appreciated.)
It has been tested on Debian (Ubuntu) and macOS.
- X11 (XQuartz on mac)
- Motif (dev version)
sudo apt install libmotif-dev libxpm-dev
pkg_add motif gmake
brew install openmotif libxpm
You can install XQuartz through brew cask as well:
brew install xquartz
If you just installed XQuartz for the first time make sure you restart otherwise you will get an error:
Error: Can't open display.
Now you are ready to build:
./configure make make install
If you do not want to install in your path, the build output
is a standalone executable which can be moved around.
Classic colors uses the MIT SHM extension when available. This extension allows the display to refresh much faster. There is a fallback codepath when it is not available. It works well, it's just not as smooth.
SHM can be disabled at configuration time:
Unfortunatly, macOS does not allow very much SYSV shared memory to be used, and so it is likely if you resize the window very large it will exceed this limit and switch to the fallback codepath. For the best experience on macOS you will need to increase this limit.
If motif is not available in a package you will need to build it manually.
curl -L https://sourceforge.net/projects/motif/files/Motif%202.3.8%20Source%20Code/motif-2.3.8.tar.gz -O
Here the development dependencies on Debian:
sudo apt install libx11-dev libxt-dev libxext-dev libxft-dev bison flex