untested but possibly complete code of dvsource-alien.c