From owner-freebsd-questions Thu Nov 16 15:47:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from zugzug.hq.newdream.net (zugzug.hq.newdream.net [216.246.35.10]) by hub.freebsd.org (Postfix) with SMTP id 78EB937B479 for ; Thu, 16 Nov 2000 15:47:07 -0800 (PST) Received: (qmail 25098 invoked from network); 16 Nov 2000 23:47:06 -0000 Received: from jazz.hq.newdream.net (HELO hq.newdream.net) (216.246.35.141) by zugzug.hq.newdream.net with SMTP; 16 Nov 2000 23:47:06 -0000 Message-ID: <3A1472FE.A297DA6F@hq.newdream.net> Date: Thu, 16 Nov 2000 15:51:26 -0800 From: Will Yardley Organization: New Dream Network X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: .bash_profile in titlebar etc. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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