Operating System - HP-UX
1827664 Members
3462 Online
109966 Solutions
New Discussion

where is the file containing dtterm startup command?

 
Arnold Ling
Contributor

where is the file containing dtterm startup command?

where is config file that contains the dtterm startup command
nothing can stop me
4 REPLIES 4
Alan Riggs
Honored Contributor

Re: where is the file containing dtterm startup command?

It depends on how you are starting it. If you are using the terminal action on a standard Xwindows desktop then the configuration file is:

/usr/dt/appconfig/types/C/dt.dt

This file should be copied to:

/etc/usr/dt/appconfig/types/C

and any modifications should be made to the file under /etc. Otherwise, patching or upgrades will overwrite any customizations you make.
RikTytgat
Honored Contributor

Re: where is the file containing dtterm startup command?

Hi,

Alan is right, but I'd like to add the following.

A nice command that could help you in the future finding the right CDE configuration file is dttype(1) (or dttypes(1) - I can't remember exactly and don't have a machine nearby).

It shows about everything about your CDE configuration
AND the file the item in configured in.

Be careful. The output of this command is extremely long!!

Bye,
Rik.
Alex Glennie
Honored Contributor

Re: where is the file containing dtterm startup command?

try either : /usr/dt/bin/dtterm or
dtaction Dtterm

one is the command line, one is the action type.

If you want one to appear automatically copy either of the above into :

vi $HOME/.dt/sessions/sessionetc

/usr/dt/bin/dtterm &
:wq!
chmod 777 sessionetc

exit out of CDE and test !
Paolo Airaldi
Occasional Advisor

Re: where is the file containing dtterm startup command?

Hi,

the directory where copy dt.dt is /etc/dt/appconfig/types/C/dt.dt. Original files (in /usr/...) should be removed or (better) renamed because CDE read both.