1833780 Members
2286 Online
110063 Solutions
New Discussion

.dtlogin

 
jim bidebo
Regular Advisor

.dtlogin

im not able to find the source for .dtlogin..
where does it "skel" it from?
9 REPLIES 9
Alex Glennie
Honored Contributor

Re: .dtlogin

Hey Jim good job I haven't looked at your points allocation record ;)

I'm not too sure what you are asking but I think the dtlogin (child) process in contol of your current users CDE session should source your users .profile once at startup. You can see the files /PATHS it sources by adding set -x in your $HOME/.dtprofile and uncommenting the DTSOURCEPROFILE=true statement and then examine $HOME/.dt/startlog. (nb you may need to log out of CDE first).

However Xclients such as dtterm,xterm, hpterm do not source a users .profile by default, you'd need to start them via the -ls option or use the login*Shell resource (see man dtlogin(1) etc for details.

If this does not answer your question perhaps you could be more specific / explain what your problem is or what you are trying to achieve .... that way I might stand a chance of earning some points this time ;)

harry d brown jr
Honored Contributor

Re: .dtlogin

do you mean .dtprofile or .dtlogin or do you mean "dtlogin"??? If it's dtlogin (with no dot in front of it) try your application CD's.

live free or die
harry
Live Free or Die
jim bidebo
Regular Advisor

Re: .dtlogin

im sorry, but i have such a shitty inet connection from where i work so adding points to answer is to time consuming... ill try to remember to login from home (where i have a better connection).

well ill try to explain my problem a litle better:

when a user login for the first time the $HOME/.dtprofile is created... (or if the user removes the $HOME/.dtprofile) what i wounder is where it gets the data to create the .dtprofile..

Marcin Wicinski
Trusted Contributor

Re: .dtlogin

Hi,
I think you are looking for .dtprofile skeleton, and you can use /usr/dt/config/sys.dtprofile

Later,
Marcin Wicinski
Alex Glennie
Honored Contributor

Re: .dtlogin

OK Jim ...that's a good reason I'll say no more.

In answer to your question :

/usr/dt/config/sys.dtprofile is yer man !
jim bidebo
Regular Advisor

Re: .dtlogin

ahh... so the /usr/dt/config/sys.dtprofile is the one that is copied to $HOME/.dtprofile?

i tought it was a global .dtprofile (like /etc/profile)
Alex Glennie
Honored Contributor

Re: .dtlogin

It's similar just kept in a different place
jim bidebo
Regular Advisor

Re: .dtlogin

so where is the global .dtprofile? if there is one?
Alex Glennie
Honored Contributor

Re: .dtlogin

I think we're at cross purposes..... its at /usr/dt/config/sys.dtprofile that's the only one as far as I'm aware, if you delete $HOME/.dtprofile it will be replaced by a copy of /usr/dt/config/sys.dtprofile