Skip to main content

Minor victory in ex-SCO application

47,300 lines of C (plus 6,800 lines of headers) should not take a full day of effort to get to compile, yet compile it does... & even seems to work.

The few sections I tested on my laptop (running Mandriva Linux 2009.1 rather than SCO Unix 5.0.7) behaved flawlessly. Now if the rest proves to be working, we’re poised to actually change a few things, to the immense relief of their staff.

Driving a terminal (any terminal other than strict VT-100B at 24x80 (or x132) would be good) via ncurses rather than from hand-coded printfs to “\33[%d;%dH” would be fantastic. Then we could axe the proprietary terminal program they’re forced to use under MS-Windows (was even Windows98 in one case until the day before yesterday).

Printing (eventually via PDFs &) CUPS will mean that they can use the hp laser (which does only wordprocessing now) for reports & documents like reminders (A5 sized) & invoices. This replaces a dodgy, ageing impact printer (again, hand-coded with “\33w0” & the like).

Writing CSV files will mean that they can actually use their own data for purposes other than those recognised by the original programmer. Using a modern OS will mean instant backups (via tar, bzip2) to USB flash sticks.

Running on Linux means modern facilities, secure updates, secure/encrypted SSH access from wherever (including from MS-Windows machines via PuTTY).

The horizons are boundless! (-:

Comments

GregoryO said…
I'm getting goosebumps from the excitement. Seriously though, it's great to read about direct and unabashed improvement - must be fulfilling to be the prime mover (:
Leon RJ Brooks said…
Even more fulfilling than the (doubtless temporary) end to frustration after battling countless anarchaisms & an... odd... indenting scheme. (-:
otto said…
i really like your post, very informative

Popular posts from this blog

every-application-is-part-of-a-toolkit at work

I have a LibreOffice Impress slideshow that I wish to turn into a narrated video. 1. export the slideshow as PNG images (if that is partially broken — as at now — at higher resolutions, Export Directly as PDF then use ‘pdftoppm’ (from the poppler-utils package) to do the same). 2. write a small C program (63 lines including comments) to display those images one at a time, writing a config file entry for Imagination (default transition: ‘cross fade’) based on when the image-viewer application (‘display,’ from the GraphicsMagick suite) is closed on each one; run that, read each image aloud, then close each image in turn. 3. run ‘Imagination’ over the config file to produce a silent MP4 video with the correct timings. 4. run ‘Audacity’ to record speech while using ‘SMPlayer’ to display the silent video, then export that recording as a WAV file. 4a. optionally, use ‘TiMIDIty’ to convert a non-copyright-encumbered MIDI tune to WAV, then import that and blend it with the speech (as a quiet b

new life for an old (FTX) PSU, improved life for one human

the LEDs on this 5m strip happen to emit light centred on a red that does unexpectedly helpful things to (and surprisingly deeply within) a human routinely exposed to it. it has been soldered to a Molex connector, plugged into a TFX power supply from a (retired: the MoBo is cactus) Small Form Factor PC, the assorted PSU connectors (and loose end from the strip) have been taped over. the LED strip cost $10.24 including postage, the rest cost $0, the PSU is running at 12½% of capacity, consumes less power than a laptop plug-pack despite running a fan. trial runs begin today.

boundaries

pushing the actual boundaries of the physical (not extremes, the boundaries themselves) can often remove barriers not otherwise perceived. one can then often resolve an issue itself, rather than merely stonewalling at the physical consequences of the issue.