keeping my terminfo code safe