• 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 subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: Randy Ford <email@hidden>
  • Date: Fri, 7 Feb 2003 15:32:06 -0600

On Friday, February 7, 2003, at 02:24  PM, Rene Tio wrote:

This subject has been covered before. Check the thread "dang .xinitrc" in the archives. I put ". $HOME/.profile" in my .xinitrc file for XDarwin, but that does not take care of the Applications menu in Apple X11. There have been suggestions to modify the X11.app startup script and also enabling the loginShell for XTerm resources, all of which work but have their caveats (for example, xterm -ls -e "some command" wouldn't work if "some command" relied on something in .bash_login or .profile or .bash_profile; I've never found out why.)

From the xterm(1) manpage:

    -ls
....
               Note  that this is incompatible with -e, since the
               login program does not provide a  way  to  specify
               the command to run in the new shell.  If you spec-
               ify both, xterm uses -ls.

However, it doesn't look like apple's xterm is using the login program. It's supposed to do a login -f, at least from past experience on other systems, and the man page. I don't get the banners, and my environment doesn't get reset. It looks like it's just invoking the shell as a login shell. If it did invoke login(1), then some of the side effects wouldn't be as bad. (Environment variables wouldn't be repeatedly modified.)

randy.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

References: 
 >(no subject) (From: Rene Tio <email@hidden>)

  • Prev by Date: XFree86 is now hw accelerated
  • Next by Date: Re: Adding apps to the application menu?
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread