FUNCT more robust configuration for xterm and meta/alt