Compiling an X windows program on MINIX 3

Compiling an X Windows program on MINIX 3 is slightly more complicated than usual because the different releases use store the include files and libraries that the compiler needs in slightly different locations.

Continue reading
Posted in Minix | Tagged , | Leave a comment

Installing X windows on MINIX 3

How to install and configure X Windows and TWM on MINIX 3.

Continue reading
Posted in Minix | Tagged , | Leave a comment

Installing SSH on MINIX 3

How to install and configure SSH on MINIX 3.

Continue reading
Posted in Minix | Tagged , | Leave a comment

Installing MINIX 3

MINIX is a free, open-source, unix like operating system based on a microkernel architecture that was created by Andrew Tanenbaum to provide students with a way to learn about the internals of an operating system.

Continue reading
Posted in Minix | Tagged | Leave a comment

Run a script as a service

A while ago I posted a python script using ‘pygame‘ to display the time in various time zones on my Raspberry Pi using the 7″ touch screen.

At the time I intended to follow that post with another describing how to run the script automatically when the system boots, but I forgot about it – until now!

Continue reading
Posted in Linux | Tagged , | Leave a comment

A getch() function for VAX-C

If you happen to be a bit of a VMS programming novice like myself you may find this useful.

Continue reading
Posted in Programming, VMS | Leave a comment

Searching Files

The following (rather long) command will search all the specified files in the current folder for the matching text and display the file names and matching lines.

Continue reading

Posted in Linux | Tagged | Leave a comment

Setting up I2C on a Raspberry Pi

How to load the necessary kernel modules, configure user access, and install the necessary packages to allow python programs to use the I2C bus is documented in several different places. I just thought I’ll pull together the various steps I now use in one place.

Continue reading
Posted in Hardware, Raspbian | Tagged , , | Leave a comment

Python dumping data in hex using list comprehensions

Recently I wanted to display the contents of a buffer in hex using Python, and ended up writing a short routine to dump the contents of a string in hex and ASCII, to which I added a few more lines to give a simple implementation of ‘hexdump‘ in Python.

Continue reading
Posted in Linux, Programming | Tagged | Leave a comment

Bouncing Balls in Python

Another python class! This time I’ve created a class to represent the position and motion of a ball in two dimensions. The graphical effect created when a number of balls are dropped together is strangely mesmerising…

Continue reading
Posted in Programming | Tagged , | Leave a comment