Re: make installkernel help required. (ANSWER... sort of)

From: Kevin D. Kinsey, DaleCo, S.P. (kdk_at_daleco.biz)
Date: 09/22/04

  • Next message: Kliment Andreev: "Re: Find Command Syntax"
    Date: Wed, 22 Sep 2004 10:33:27 -0500
    To: phil@sal-n-phil.net
    
    

    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.

    HTH,

    Kevin Kinsey
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Kliment Andreev: "Re: Find Command Syntax"

    Relevant Pages

    • Re: Running Nedit from the terminal
      ... which creates a login shell): ... For example 'xterm &' now works from Terminal. ... The point is that a login shell processes your .profile (or ...
      (comp.sys.mac.system)
    • Re: Failure to execute .profile under AIX 5.2
      ... I hate windows. ... Have you tried the '-ls' flag with 'xterm' command? ... shell (in other words, the first character of the ArgumentVector ... indicating to the shell that it should read the user's .login or ...
      (comp.unix.aix)
    • Re: Running Nedit from the terminal
      ... which creates a login shell): ...   export DISPLAY=:0.0 ... For example 'xterm &' now works from Terminal. ... This will cause xterm to run a login shell (equivalent to typing ...
      (comp.sys.mac.system)
    • Re: running scripts when logging in (via X)
      ... > When I reboot my Debian box, the login comes up in an X environment. ... > How to I get these scripts to run when I login via X ?? ... rather than every time you start a new shell or open a new xterm. ...
      (Debian-User)
    • RE: SSH Tunneling without console login
      ... > that the command will also login onto PC2. ... > not give a shell prompt, ... I only need SSH ... > tunneling purposes, i login to the remote server ...
      (SSH)