StoWiki/ blog/ debian/ Shell Scripts Frontend Tool

Well, today I've started to upload things related to the CDDT code to Debian. My first upload is a simple package that has been splitted from the current CDDT runtime code, as it is useful by itself. I've called it SSFT, the initials of Shell Scripts Frontend Tool.

It is a shell function library that includes functions to display messages and get data from the user; the functions use zenity, dialog or plain text to do their work, depending on the value of the SSFT_FRONTEND variable; the idea was inspired by the debconf frontends, but uses only shell code with standard utilities (with the exception of the optional zenity and dialog utilities and the use of gettext.sh from gettext to support L10N).

I've tested the current code against a lot of Bourne Shell compatible shells, including posh (that one made me remove the use of the local built in and rename the variables to _l_ as a prefix), so it should work more or less OK on any modern Unix.

I don't know if anybody but me will use the library, if anyone tries it and finds a bug please report it to the SSFT project or the BTS (well, that will need a little bit of waiting, but I suppose that no one will try the package until it gets into the archive).