I don't use xterm, but this seems to work in more places