rework using terminfo