From owner-freebsd-questions Tue Mar 6 18:30: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 27A9F37B719 for ; Tue, 6 Mar 2001 18:30:00 -0800 (PST) (envelope-from andrew@ugh.net.au) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id D724FA86C; Wed, 7 Mar 2001 13:29:58 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id D5194547B for ; Wed, 7 Mar 2001 12:29:58 +1000 (EST) Date: Wed, 7 Mar 2001 12:29:58 +1000 (EST) From: To: Subject: tcsh, eterm and interactive sessions Message-ID: X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm running Eterm-0.9 and my shell is set to tcsh. Eterm's login_shell setting is set to false. My shell settings check to see if they are being read for an inteacative session or not by checking $?prompt. That should return 1 if prompt is defined and the tcsh manual says: Set by default to `%# ' in interactive shells. Now the test works if I use ssh or telnet but fails if I just open a new Eterm (or xterm for that matter). So why doesn't tcsh know we are interactive? Thanks, Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message