add fallback procedure, and make terminfo.scm readable