Style wechseln: ?

Für diese Funktion muß JavaScript aktiviert sein.

umschalten zur deutschen Version

Programming for years (more specific since 1989 on my Atari ST), I never made an application on its own. Only from time to time I made smaller tools for myself and contributions to bigger projects.

The reason for this page is my modification of inadyn for my own purpose. This patch I’d like to publish here.

A little bit more about my programming activities can be found on my Mozilla page.

inadyn :: OTHist for InDesign

inadyn—the patch

Inadyn is a simple client to update dynamic DNS entries. Such dynamic DNS services are offered e.g. by DynDNS or Though it’s by far not the only such application, I’ve chosen inadyn to run on my small home server because its small, simple, written in C and offers rights separation. Not that I’d think of C as the best language (although I know this language the best) and I prefer Perl, Python etc. for certain jobs. But for this job using an interpreter language with all its overhead looks like overkill for me.

Eventually I added some No-IP addresses to the existing DynDNS addresses and had to recognise, that inadyn wasn’t designed to support more than one service provider at once. Since I didn’t like running multiple inadyn instances with different config files as a work around, I started modifying the source code so the program is able to cope with more than one service provider in one config.

All in all inadyn isn’t very flexible in its structure—there aren’t any dynamic allocations of needed structures, everything resides in arrays of fixed size. Now that’s a pity, but before work gets out of hand, I decided to keep that design. So my patch essentially only consists in insertion of another layer, resp. in converting an info structure containing the aliases into an array of info structures.

Being at it, I added a new option --pidfile which enables it writing the PID of the program to a file. That’s useful in order to systematic quit the program (e.g. via Debian’s start-stop-daemon).

Installation & Usage

The patch modifies the files man/inadyn.8, src/dyndns.c, src/dyndns.h, src/http_client.c, src/http_client.h and src/inadyn_cmd.c. It has been created against version 1.96.2 and be can simply applied via patch -p0 < inadyn_patch.diff (called from outside the inadyn directory). After that compile inadyn as used.

[arrow right] Download: inadyn_patch.diff

The config file still works like usual. After global options like

verbose 1
log_file /var/log/inadyn.log
pid_file /var/run/

the block for provider A follows

username yxxx
password xyxx
update_period_sec 300
alias yyyy
alias yyyy

But now further blocks for other providers can follow:

username xxyx
password xxxy
update_period_sec 300
alias yyyy


But why doesn’t I simply contact the author of inadyn so he can incorporate the patch into his program? Well, I already did that in March 2006 but haven’t got an answer till today. That’s why I make the patch freely available here—like the main program it’s available under the terms of the GPL General Public License 2 or newer.

Another coder created a project on SourceForge on and released a version named 1.96.3 in 2009. Besided some other changes this also includes this patch. If you're interested in my patch, go have a look.

In response to a request from Michael Park regarding a binary with my patch for his router I made one. It’s a build for the Linux distribution OpenWrt on MIPS compatible processors like the Linksys WRT54G. You can download it from my server as inadyn_1.96.2-1_mipsel.ipk, the sources are available as inadyn-1.96.2-patched.tar.gz.
Inadyn including my patch is now also included in another router firmware, the one of the Freetz project for AVM Fritz!Box.

Please note that I however can’t provide support for those systems since I don’t own those.

[arrow up] hoch

OpenType-hist-Feature for InDesign

modern and old s While testing an OpenType font in Adobe’s DTP application InDesign I noticed that there are quite a few OpenType features available in the UI, but not the hist feature. This feature replaces—if the font offers that—characters in its historical forms without the need to insert that glyphs itself in the document. The long s shown at the right should be the standard example for a historical form. Here you can see the modern form—the round or end s—and the old form—the long s—in comparison.

Working on another plugin I noticed that internally in the application it’s quite simple to select that feature via an already available method (as well as via object.otfHistorical in a script), only the graphical interface is lacking. So as an exercise I created a plugin that adds an entry for historical forms to the existing OpenType features menu.
Now neither is InDesign an application for everyone nor is the hist feature much used (it’s not even supported in much fonts), but if I already have that plugin, why not publish it? May it be useful for someone.

OTHist screenshot The menu entry is available at the two usual places: in the OpenType submenu of the char panel menus and the OpenType submenu of the control panel. The function also conforms to the existing ones, i.e. a checkmark in front of it if the feature is active in the current selection, a hyphen before it if the selection includes mixed areas and no marking if the feature isn’t active in the selection. Additionally square brackets around the entry mark a font that doesn’t support the feature.

Unfortunately I wasn’t able to add an entry in the options dialogue for character styles or the dialogue for setting a format in Search&Replace. It’s nevertheless possible to include the hist feature in character styles because InDesign adopts the style at the cursor position when creating a new style. So simply set the feature at the current position and create a new style.

The strings in the plugin are available in English and German. I’m open to more localisations but need support of speakers of the languages to be added.
The plugin has been compiled by myself for the Windows versions of InDesign CS3 and CS4. The version for CS5.5 was adapted by Dave Waddell, many thanks for his work. If someone wants and is able to compile it for Mac, please contact me. Please also do so if you experience problems with the plugin. I could only test it in my private installation and it should be simple enough to work flawlessly, but you never know.

I can’t provide OTHist for newer Versions like InDesign CC since I don’t own a license and also haven’t running the programming environment anymore.

[arrow right] for InDesign CS3
[arrow right] for InDesign CS4
[arrow right] for InDesign CS5.5

[arrow up] hoch

posted 23.7.2006, last modified 2014-08-02
© Christian Eyrich
main page | webmaster