I just noticed that if I use 1 instead of F1, 2 instead of F2, 3 instead of F3, 4 instead of F4 everything works as expected. I forgot to mention in my first e-mail that I am using vanilla xterm and cwm (Calm Window Manager from the base of OpenBSD). Best, Predrag