Taking pudge's suggestion, I modified my use Perl; Journalizer application to use the SOAP API instead of the slightly-buggy WWW::UsePerl::Journal. Now I can write journal entries in spell-checked, minimal-syntax KwikiText and not worry that comments are disabled.
Speaking of tools, have you ever searched for a small utility, only to find in disbelief that no one has already written it, then written it yourself? The most memorable tool in my case is a utility I call "stare."
I'm sure we've needed to watch repeatedly the output of some command. Maybe it was the listing of a directory or some program that reports status information. In those cases, this might come to mind:
$ while true; do clear; some-command; sleep 1; done
The problem with the above is that the display flickers. "Okay," you might say, "so why not recreate it with Curses?" Well, fair reader, that's exactly what I did almost two-and-a-half years ago. I called it "stare" and used it as an excuse to learn the Curses module. I included two useful options: the ability to hide the header line and the number of seconds to refresh. With the exception of resizing the terminal, it mostly works.
I was recently in an environment where installing Perl modules was, at the time, not an option. Remembering that David uses something called "vis," I searched and found vis.c, an example from Unix Power Tools, 3rd ed.. I did have access to gcc so I began to use it, even though it has the terminal-resizing bug and a small hatred for certain argument combinations.
Now here's the kicker: I needed to abstract
vis into another utility, which I called
watchconf. A few minutes later, when I went to use my shiny new command, tab-completion caused me to blink:
Eh? What is this
watch you speak of?
$ man watch
watch - execute a program peri-
odically, showing output
watch [-dhvt] [-n <seconds>]
[--no-title] [--version] <com-
watch runs command repeatedly,
displaying its output (the
first screenfull). This allows
you to watch the program output
change over time.
Yes, folks, this utility comes with the "procps" package, which is installed on Debian Sarge / Ubuntu Hoary by default, AFAIK. Not only has it been there all along, but it includes a "highlight differences" option and it can handle terminal resizing.
I'll sit here patiently and wait for the "told-you-so's."