Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 16:09:59 +1300
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        andrew@ugh.net.au
Cc:        questions@FreeBSD.ORG
Subject:   Re: tcsh, eterm and interactive sessions
Message-ID:  <20010307160958.A58150@itouchnz.itouch>
In-Reply-To: <Pine.BSF.4.32.0103041843500.76115-100000@starbug.ugh.net.au>; from andrew@ugh.net.au on Wed, Mar 07, 2001 at 12:29:58PM %2B1000
References:  <Pine.BSF.4.32.0103041843500.76115-100000@starbug.ugh.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 07, 2001 at 12:29:58PM +1000, andrew@ugh.net.au wrote:

[...]
> So why doesn't tcsh know we are interactive?

Dunno what you're using, but it works fine for me (Eterm, xterm) with
/bin/tcsh and ~/.tcshrc:

	if ($?prompt) then
		# An interactive shell -- set some stuff up
		set prompt = "%m-%c,%t%# "
	endif

-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                   "Lots of folks confuse bad management with destiny"
                                                         - Kin Hubbard

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?20010307160958.A58150>