load tigetrc from resource file