Create .terminfo file