Date: Fri, 13 Aug 2004 14:50:28 +0700 From: Roger Merritt <mcrogerm@stjohn.ac.th> To: freebsd-questions@FreeBSD.ORG Subject: Strange prompt behavior in tcsh Message-ID: <5.2.0.9.0.20040813143600.00a0fec0@127.0.0.1>
next in thread | raw e-mail | index | archive | help
I recently installed the port shells/tcshrc, and ever since I've been getting some funny output on the console whenever I change directories: kepler:/root# echo $SHELL /bin/tcsh kepler:/root# cd /etc \033]2;KEPLER - /etc\007kepler:/etc# kepler:/etc# cd \033]2;KEPLER - /root\007kepler:/root# kepler:/root# The prompt setting in .tcshrc.set is "%B%m%b:%S%/%s%# ". Obviously it's no huge thing, but why am I seeing the \033]2...\007 string after 'cd'ing? Before I installed the port, my .tcshrc set the prompt to "%n@%m:%~%# " and I didn't get the literal string. Now it only shows on the first prompt after I 'cd', and after that the prompt seems to work right. Obviously the port sets something else, but before I start digging, has anyone else solved this? -- Roger
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.0.20040813143600.00a0fec0>