• 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: $SHELL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $SHELL


  • Subject: Re: $SHELL
  • From: David Borman <email@hidden>
  • Date: Mon, 14 Sep 2009 09:46:02 -0500

Thank you all for the ideas about what was up with $SHELL. I'm not sure where the problem was, but it is now fixed, SHELL is once again being set up correctly. There are two possible explanations:

1) I installed 10.6.1 this morning.

2) I had changed my login shell to /bin/sh and back to /bin/csh using the chpass(1) command. Using Scott's suggestion, I checked it through System Preferences->Accounts Advanced Options. It was correct there as /bin/csh, but I went ahead and saved the current settings. Perhaps that set something that was missed when changing the login shell via chpass(1).

I did both of these things before I had started up X today, so I couldn't say for sure which of these two actions fixed the SHELL issue.

The only other issue that I have is that anything that starts out of my ~/.xinitrc gets started with a working directory of / instead of $HOME. It has been this way for some time, at least since I was running the default Leopard X11. My fix for this has been to just add a "cd $HOME" at the top of my ~/.xinitrc, which seems to be a reasonable workaround.

			-David Borman



On Sep 12, 2009, at 2:46 PM, Scott Buchanan wrote:

For Snow Leopard did you set the default shell in your account information? (System Preferences->Accounts and then right-click on your account to get the Advanced Options)

Scott
On Sep 12, 2009, at 8:26 AM, Doug McNutt wrote:

I donno if it's still true because I'm limited to OS 10.3.9 for compatibility with my SE/30 file server.

Having used csh since before Macintosh, and even after Mac via MPW's version, I was really surprised to find that PATH and SHELL were a problem in OS neXt. Environment.plist and ~/.tcshrc seemed not to be working at all.

What I found was that the startup script for tcsh and csh in /etc was getting executed AFTER environment.plist and ~/.tcshrc.

The PATH variable and perhaps SHELL were getting arbitrarily reset. I left those files in place but removed the contents. Yes. I filed a bug but never heard anything.

--
--> So are we going to celebrate the start of a new decade at the end of this year? Or do the tens start at in January 2011? <--

_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) This email sent to email@hidden
References: 
 >$SHELL (From: David Borman <email@hidden>)
 >Re: $SHELL (From: Peter Collinson <email@hidden>)
 >Re: $SHELL (From: Doug McNutt <email@hidden>)
 >Re: $SHELL (From: Scott Buchanan <email@hidden>)

  • Prev by Date: Re: X11 does not launch
  • Next by Date: Fink problems on Mac 10.4
  • Previous by thread: Re: $SHELL
  • Next by thread: X11 does not launch
  • Index(es):
    • Date
    • Thread