• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: No Terminal Opening
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No Terminal Opening


  • Subject: Re: No Terminal Opening
  • From: email@hidden
  • Date: Fri, 27 Jun 2008 19:59:34 -0400

What I want is a *single* login shell, from which all subsequent
xterms/shells inherit their environment.  Other *ix's I've used
(solaris, linux various flavors) do that.  It is often the case that
the login shell does some very expensive initializations to set up the
environment; subsequent xterms and shells inherit that environment
and avoid the login shell overhead.  For example, because of the way
the darwin X11 now manages paths and manpaths via path_helper, a
login shell can be extremely slow in starting up; I wouldn't want
that hit for every shell.

So, how do I only the first shell to be a login shell, and all subsequent
shells and xterms (including those started from the X11-Applications
menu and the command-n shortcut) to start with regular non-login shells
which pick up the login shell environment?

- Terry

> + "Tom Scogland" <email@hidden>:
>
> > So, why not just open x11.app and then open an xterm in it? That's
> > what I do every day, no problems.  As to the login shell pux
> > "xterm*loginShell: true" in your .Xresources file and, assuming the
> > "xrdb merge" in the xinit files doesn't hang on you indefinitely, you
> > should get a login shell in each of your xterms.
>
> Except possibly for the first one; there is a race condition here,
> which is usually "won" by the first X application, in the sense that
> it will initialize itself before the xinit script has the chance to
> read the .Xresources file. Very annoying, and I am not sure what can
> be done about it.
>
> Another way to get a login shell is to run  xterm -ls  from Terminal.
>
> - Harald
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

  • Follow-Ups:
    • Re: No Terminal Opening
      • From: Jeremy Huddleston <email@hidden>
References: 
 >Re: No Terminal Opening (From: Harald Hanche-Olsen <email@hidden>)

  • Prev by Date: Re: No Terminal Opening
  • Next by Date: Re: xkb
  • Previous by thread: Re: No Terminal Opening
  • Next by thread: Re: No Terminal Opening
  • Index(es):
    • Date
    • Thread