In Fedora 8, if the user has /bin/tcsh as SHELL, doing xterm -title MYTITLE does not work, "MYTITLE" is not set as the title. This is bad if you want to set the xterm title depending on the work you want to do in it, and finding the cause why this does not work is very hard for a user. This happens because of this line in /etc/csh.cshrc: alias precmd 'echo -n "\033]0;${USER}@${HOSTNAME}:${PWD}"; echo -n "\007"' precmd is not a great idea to use at any time, and to use it to set the window title is an overkill, the same thing can be accomplish by setting the "prompt" variable: set prompt='%{\033]0;%n@%m:%c\007%}[%n@%m %c]%# ' Another issue: $user is used in setting the prompt variable for tcsh at the beginning of the file, better use this: set prompt='[%n@%m %c]%# ' it is shorter and avoids \ The problem described in the bug report did not happen in previous versions of Fedora.
Created attachment 293054 [details] Get rid of bad precmd usage, fix tcsh prompt Attach is a patch that fixes this issue. Please apply, it would be great if the package could be updated soon, this is bad for tcsh users. Thanks
Fixes included in next rawhide build. Thanks, Read ya, Phil