Date: Wed, 22 Sep 2004 17:57:53 +0100 From: Phil Payne <phil@sal-n-phil.net> To: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz> Cc: freebsd-questions@freebsd.org Subject: Re: make installkernel help required. (ANSWER... sort of) Message-ID: <1095872272.59613.11.camel@gw.internal> In-Reply-To: <41519B47.9020402@daleco.biz> References: <1095692181.643.3.camel@gw.internal> <b2807d0404092012164482224f@mail.gmail.com> <1095708454.643.10.camel@gw.internal> <b2807d0404092012522360c8ba@mail.gmail.com> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <phil@sal-n-phil.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1095872272.59613.11.camel>