A new day starts... with new hardware issues
I woke up in the morning just to find out that my network is down. Why is it
down? Because my all-in-one Linux Server has just died. Apparently it was the
power supply, two exploded electrolytic capacitors strongly indicated such
Of course this has to happen on a public holiday. *sigh*. Oh yes, I used to
have a spare power supply somewhere... somewhere in the boxes that I had
already moved to my our new appartment.
Well, in the end it really only was that power supply, thank god.
One should think that console-based applications are common under Linux, as on
any other *NIX-like OS. Furthermore, one would assume that there is at least
one, if not a variety of curses-based widget toolkits available.
The largest such project seems to be CDK (Curses Development Kit), so I choose
it for the GSPC software.
Apparently, CDK isn't used that frequently either - otherwise it would be
impossible for me to find that many bugs, even without trying to do something
wicked. Let's say you want to add an item to a scrolled list... and after
adding about 8 items, the toolkit segfaults. It turns out the list items are
dynamically allocated, but only reallocated if you replace all of them (as
opposed to just adding a single one).
Or let's say you want the "END" key to work in such a scrolled list,
independent if there are less, equal or more items than fitting in your
So Unix is supposed to be the text-oriented world, and still there are way more
(and more stable) widget toolkits for X11 than there are for text mode. *sigh*