Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 12:29:58 +1000 (EST)
From:      <andrew@ugh.net.au>
To:        <questions@freebsd.org>
Subject:   tcsh, eterm and interactive sessions
Message-ID:  <Pine.BSF.4.32.0103041843500.76115-100000@starbug.ugh.net.au>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0103041843500.76115-100000>