My recent change to petattr caused a crash in curses when no petattr was used in config file - because curses was setting petattr to curses-specific value. Init the setting in core instead.