From owner-freebsd-questions@FreeBSD.ORG Wed Sep 22 16:58:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9DD616A4CE for ; Wed, 22 Sep 2004 16:58:11 +0000 (GMT) Received: from pengo.systems.pipex.net (pengo.systems.pipex.net [62.241.160.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CAEE43D1D for ; Wed, 22 Sep 2004 16:58:11 +0000 (GMT) (envelope-from phil@sal-n-phil.net) Received: from [10.0.0.254] (81-178-119-225.dsl.pipex.com [81.178.119.225]) by pengo.systems.pipex.net (Postfix) with ESMTP id DF3D44C002C7; Wed, 22 Sep 2004 17:57:52 +0100 (BST) From: Phil Payne To: "Kevin D. Kinsey, DaleCo, S.P." In-Reply-To: <41519B47.9020402@daleco.biz> References: <1095692181.643.3.camel@gw.internal> <1095708454.643.10.camel@gw.internal> <1095710679.643.12.camel@gw.internal> <1095848367.4475.15.camel@gw.internal> <20040922103835.GA85905@orion.daedalusnetworks.priv> <1095849784.39983.2.camel@gw.internal> <20040922121549.GA870@orion.daedalusnetworks.priv> <1095857042.39983.6.camel@gw.internal> <20040922141843.GB1589@orion.daedalusnetworks.priv> <1095862932.39983.9.camel@gw.internal> <41519B47.9020402@daleco.biz> Content-Type: text/plain Message-Id: <1095872272.59613.11.camel@gw.internal> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 22 Sep 2004 17:57:53 +0100 Content-Transfer-Encoding: 7bit cc: Giorgos Keramidas cc: freebsd-questions@freebsd.org Subject: Re: make installkernel help required. (ANSWER... sort of) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: phil@sal-n-phil.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2004 16:58:12 -0000 On Wed, 2004-09-22 at 16:33, Kevin D. Kinsey, DaleCo, S.P. wrote: > Phil Payne wrote: > > >On Wed, 2004-09-22 at 15:18, Giorgos Keramidas wrote: > > > > > >>On 2004-09-22 13:44, Phil Payne wrote: > >> > >> > >>>On Wed, 2004-09-22 at 13:15, Giorgos Keramidas wrote: > >>> > >>> > >>>>Weird. Everything seems ok but you seem to be bumping on a problem > >>>>related to the shell in use :-/ > >>>> > >>>> > >>>Weirder... installed Eterm... and I can installkernel & install ports > >>>fine. So looks like its only aterm & xterm that have given me a problem. > >>> > >>> > >>Hmmm. What's your login shell? Is it really invoked as a "login shell" > >>by your xterms/aterms (i.e. with the -ls option of xterm)? > >> > >> > > > >I use /bin/tcsh. It's not invoked by any aterm/xterm options, its just > >set in /etc/passwd. Is that what you meant? > > > >Phil. > > > > > > That's the first part. xterm doesn't {by default} set up your shell > as a "login" shell ... therefore it doesn't get certain environment > variables, and probably there are a few other things I don't know > about ... > > A simple test: try typing "logout" to exit your xterm. If it responds > "not a login shell", then, well, it's not. Starting xterm with -ls should > help with the problem, as Giorgos stated. > > Now, to further support the theory Giorgos has here, Eterm *does* > seem to use its "-l" option by default, so when using Eterm the terminal > would invoke tcsh as a login shell ... and things should work. I believe you're correct about it being a login shell issue. Using xterm and using "su -" instead of "su" fixes the issue. Not sure what's different in the environment that makes a full login shell work though. Anyway, many thanks to all who helped sort this out. Thanks, Phil. > HTH, > > Kevin Kinsey