• 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: Xterm not reading dotfiles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xterm not reading dotfiles


  • Subject: Re: Xterm not reading dotfiles
  • From: Merton Campbell Crockett <email@hidden>
  • Date: Fri, 16 Nov 2007 12:22:27 -0800


On 16 Nov 2007, at 10:52:42, Jeremy Huddleston wrote:

It used to do

/usr/bin/login -fp <your login> xterm

but I had problems getting .Xresources that way and it also didn't work if "xterm" was user-modified to have command line arguments.

Francisco, what happens if you do this at a terminal?
/usr/bin/login -fp <your login> /bin/sh -c xterm

I started X11.app from the Finder and then executed the above command. A new xterm was not open because ~/.bash_profile which adds / usr/X11/bin to the path wasn't sourced.


If I change the line to

	source .bash_profile ; /usr/bin/login -fp mcc /bin/sh -c xterm

a new xterm is opened with the correct environment.


Merton Campbell Crockett email@hidden



_______________________________________________
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: Xterm not reading dotfiles
      • From: Bill Janssen <email@hidden>
References: 
 >Xterm not reading dotfiles (From: Francisco De La Cruz <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Francisco De La Cruz <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Jeremy Huddleston <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Francisco De La Cruz <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Jeremy Huddleston <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Francisco De La Cruz <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Jeremy Huddleston <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Francisco De La Cruz <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Jeremy Huddleston <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Merton Campbell Crockett <email@hidden>)
 >Re: Xterm not reading dotfiles (From: Jeremy Huddleston <email@hidden>)

  • Prev by Date: Re: Xterm not reading dotfiles
  • Next by Date: Re: update script
  • Previous by thread: Re: Xterm not reading dotfiles
  • Next by thread: Re: Xterm not reading dotfiles
  • Index(es):
    • Date
    • Thread