From owner-freebsd-questions Tue Mar 6 19:10:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 7A32237B718 for ; Tue, 6 Mar 2001 19:10:06 -0800 (PST) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f2739xN58394; Wed, 7 Mar 2001 16:09:59 +1300 (NZDT) (envelope-from jonc) Date: Wed, 7 Mar 2001 16:09:59 +1300 From: Jonathan Chen To: andrew@ugh.net.au Cc: questions@FreeBSD.ORG Subject: Re: tcsh, eterm and interactive sessions Message-ID: <20010307160958.A58150@itouchnz.itouch> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from andrew@ugh.net.au on Wed, Mar 07, 2001 at 12:29:58PM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ---------------------------------------------------------------------- "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