Date: Fri, 13 Aug 2004 08:23:09 -0400 From: epilogue <epilogue@allstream.net> To: Roger Merritt <mcrogerm@stjohn.ac.th> Cc: freebsd-questions@freebsd.org Subject: Re: Strange prompt behavior in tcsh Message-ID: <20040813082309.44917ab7@localhost> In-Reply-To: <5.2.0.9.0.20040813143600.00a0fec0@127.0.0.1> References: <5.2.0.9.0.20040813143600.00a0fec0@127.0.0.1>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Aug 2004 14:50:28 +0700 Roger Merritt <mcrogerm@stjohn.ac.th> wrote: > 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%# ". given that %B starts boldfacing and %b ends it (ie. where your problem seems to start and end), my guess would be that your console setting does not support boldfacing. > 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? actually, i think that the preferred order would be to dig first and ask questions later. ;) > -- > Roger > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040813082309.44917ab7>