Date: Thu, 16 Nov 2000 15:51:26 -0800 From: Will Yardley <william@hq.newdream.net> To: freebsd-questions@freebsd.org Subject: .bash_profile in titlebar etc. Message-ID: <3A1472FE.A297DA6F@hq.newdream.net>
next in thread | raw e-mail | index | archive | help
i've been using the following in my .bash_profile to place the hostname etc. in the titlebar with Eterm (and Putty on my PC). i have just two problems with this. one is that using escape sequences in my prompt always seems to mess stuff up - the line will wrap over itself if i'm typing a long command instead of rolling over to the next line. secondly, this leaves me unable to use the PS1 variable anymore. thirdly does anyone have any ideas on how to export $TERM to linux when using ETERM but not when on the console? is there an easy shell script for this? thanks.... -will if [ $TERM = linux ] then PS1='\033]2;\u@\h `pwd` `date` \007$ ' fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A1472FE.A297DA6F>