* Changing default terminal in CDE?
@ 1996-07-23 4:00 Tony Dyson
1996-07-24 4:00 ` Tim Mooney
1996-07-24 4:00 ` Paul Henderson
0 siblings, 2 replies; 4+ messages in thread
From: Tony Dyson @ 1996-07-23 4:00 UTC (permalink / raw)
Has anyone modified the CDE behaviour to change the default
terminal to something besides dtterm? (eg xterm?)
I've read the documentation and tried all kinds of things to no
avail.
Tony
--
================================================================
Mr. Anthony J. Dyson tony@schroeder.newcastle.edu.au
Dept. of Physics phone: +61 49 21 5565
University of Newcastle fax: +61 49 21 6907
Callaghan, Australia, 2308
================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Changing default terminal in CDE?
1996-07-23 4:00 Changing default terminal in CDE? Tony Dyson
@ 1996-07-24 4:00 ` Tim Mooney
1996-07-26 4:00 ` Tony Dyson
1996-07-24 4:00 ` Paul Henderson
1 sibling, 1 reply; 4+ messages in thread
From: Tim Mooney @ 1996-07-24 4:00 UTC (permalink / raw)
In article <4t20eq$cgf@seagoon.newcastle.edu.au>,
Tony Dyson <tony@linus.newcastle.edu.au> wrote:
> Has anyone modified the CDE behaviour to change the default
> terminal to something besides dtterm? (eg xterm?)
>
> I've read the documentation and tried all kinds of things to no
> avail.
In your $HOME/.dt/types directory, create a file that ends with a .dt
suffix. In that file, put:
ACTION Terminal
{
TYPE MAP
MAP_ACTION Xterm
}
Log out and log back in, and you should have xterm as your terminal from
then on.
All the above action does is change the mapping so that when the `Terminal'
action is run (try `dtaction Terminal' from the command line), instead of
the default mapping of running the `Dtterm' action, it runs the Xterm action,
which is defined in one of the files in /usr/dt/appconfig/types/C.
Tim
--
Tim Mooney mooney@toons.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Bldg. (701) 231-8541 (FAX)
North Dakota State University, Fargo, ND 58105
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Changing default terminal in CDE?
1996-07-23 4:00 Changing default terminal in CDE? Tony Dyson
1996-07-24 4:00 ` Tim Mooney
@ 1996-07-24 4:00 ` Paul Henderson
1 sibling, 0 replies; 4+ messages in thread
From: Paul Henderson @ 1996-07-24 4:00 UTC (permalink / raw)
Tony Dyson wrote:
>
> Has anyone modified the CDE behaviour to change the default
> terminal to something besides dtterm? (eg xterm?)
>
You should be able to edit the file /usr/dt/appconfig/types/C/dt.dt and
change the EXEC_STRING for the ACTION Dtterm from /usr/dt/bin/dtterm -ls
to /usr/bin/X11/xterm. You'll get xterm instead of dtterm when clicking
on the terminal icon.
If you only want to do it for one user, rather than systemwide, copy
dt.dt to $HOME/.dt/types, then edit it to include just the Dtterm
ACTION, and change dtterm to xterm in the EXEC_STRING.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Changing default terminal in CDE?
1996-07-24 4:00 ` Tim Mooney
@ 1996-07-26 4:00 ` Tony Dyson
0 siblings, 0 replies; 4+ messages in thread
From: Tony Dyson @ 1996-07-26 4:00 UTC (permalink / raw)
Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> wrote:
: In article <4t20eq$cgf@seagoon.newcastle.edu.au>,
: Tony Dyson <tony@linus.newcastle.edu.au> wrote:
: > Has anyone modified the CDE behaviour to change the default
: > terminal to something besides dtterm? (eg xterm?)
: >
: In your $HOME/.dt/types directory, create a file that ends with a .dt
: suffix. In that file, put:
: ACTION Terminal
: {
: TYPE MAP
: MAP_ACTION Xterm
: }
The documentation mentions a user-prefs.dt file. I copied that to
/etc/dt/appconfig/C and tried making the change there. I also copied it to
~/.dt/types and altered it to read like this:
ACTION Terminal
{
LABEL Terminal
TYPE MAP
MAP_ACTION Xterm
DESCRIPTION The Terminal action runs the user preferred \
terminal emulator.
}
I'm still getting dtterm though.
Tony
--
================================================================
Mr. Anthony J. Dyson tony@schroeder.newcastle.edu.au
Dept. of Physics phone: +61 49 21 5565
University of Newcastle fax: +61 49 21 6907
Callaghan, Australia, 2308
================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-07-26 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-23 4:00 Changing default terminal in CDE? Tony Dyson
1996-07-24 4:00 ` Tim Mooney
1996-07-26 4:00 ` Tony Dyson
1996-07-24 4:00 ` Paul Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox