The title of xterm defined with option -T or -title does not appear in the title bar, instead the current directory is shown there. I do not know whether this is a problem of xterm or the window manager, but it happens both with twm and mwm.