Before I forget, also: Is there some easy way to have a function called, say, once per second? I could use alarm(), but sadly we have to stay compatible with windows as the only non-posix platform... ;-) | alexander ewering instinctive mediaworks | ae[@]instinctive[.]de http://www[.]instinctive[.]de