Use defines in config.h for type & scanf-patterns for eval. Update docs.