index  news

Modified 2005-02-07 09:01

Simon's programming projects

A command-line calculator

I have implemented a command-line calculator for C-style arithmetics (ints/floats). I find this useful for performing bin/hex/dec-conversions for different expressions. Examples:

[ska@ipdska calc]$ calc -h "(123+22 | 1) >> 2"
0x00000024

[ska@ipdska calc]$ calc -c "(0x45<<8) | 0x46"
"EF"

[ska@ipdska calc]$ calc  "5.0*3.4392-12"
5.1960000000000015

[ska@ipdska calc]$ calc -b 0x31
0b0000 0000 0000 0000 0000 0000 0011 0001

Download this here: calc.tar.gz

Linux keyboard statistics

I have made a small Linux kernel patch that collects statistics about the usage of the keyboard (keypresses). Apart from that, it presents a /proc-interface with the statistics and contains a few user-level programs to pretty-print the statistics and store the statistics over reboots.

This is yet unreleased, but if you are interested I can send the source code to you (it is written for version 2.2, I'll probably port it to 2.4/2.5 some time)

libghthash

libghthash, a generic hash table in C, can be found here.

TT-News ticker

TT-News is a news-ticker that displays news in a small window in X. It can fetch news from several sources and has it's own page here.

FClock

Fclock is a quick digital clock hack with clean looks for docking in the fvwm button-bar (F as in Fvwm, Clock as in clock). This is mostly for myself, but the code is available under the GPL here for download if someone is interested (beware - UGLY!). FClock is written in C++ with QT.

Download the program here: fclock-0.1.1.tar.gz (source, 11 Kb).

FvwmIconMan showonlyiconic patch

I've written a small (~10 line) modification to the Fvwm module FvwmIconMan that adds a configuration option to only show iconified windows. I want it to work in that way since I like to have a "window storage" where I can easily place windows which are not used at the moment.

The patch has been applied to the Fvwm CVS-tree, so you'll get it if you check out the latest tree or download a recent snapshot. Thanks to Dominik Vogt for fixing the patch up a bit. Oh, this is a finished project :-).

REX 6000 projects

I have written a few games/utilities for the REX 6000 PDA. These can be found on the REX page.

MS-DOS programs

Before using Linux, I was a MS-DOS user. I have written a few games and programs for that OS as well, see the DOS programs page.

Ideas

Time line for rxvt/xterm

Add a time line at the right border of an rxvt window, displaying (in colors) the difference in time between the output line (is it even possible?). This would be useful to see how much time it took to display certain lines.

Pimodillio

Pimodillio would be a PIM/organiser style program. I would like such a program for UNIX with a nice curses UI. I have not done anything more than thinking about this still.

Columns for X11

I have been working a port of the Columns-game to Linux, which will use QT and run under X-windows. This has not come very far, you can move a column around the screen. Not much, in other words. You can download my Columns-game for DOS instead and play with that. The X11-version will be similar - if it is finished.

Pix port

I have thought of attempting a port of my DOS pixel painter Pix to Linux/(SDL). I feel that the graphics area lack a good pixel paint program like Deluxe Paint for the Amiga, with features for high resolution, true/high color and such. Send me a mail if you know of such a program for Linux. You may grab the source for Pix and fiddle with it if you like, but beware, it's a bit too much of a hack still...


To contact me, mail to the following address (decrypted):

ska[at]bth[dot]se

You can click here to see some statistics on the page.