Changing the default terminal in HPUX 10.X

The CDE uses a dtterm as the default terminal. It is analogous to the old hpterm in HPUX 9.X. You can, however, change the default terminal from dtterm to an xterm or back to an hpterm. Here are the steps:

If you want to make an xterm or hpterm the default for everyone on your system:

  1. Copy the file /usr/dt/appconfig/types/C/user-prefs.dt to /etc/dt/appconfig/types/C.
  2. Edit user-prefs.dt and find the ACTION Terminal section.
  3. Change MAP_ACTION Dtterm to either xterm or Hpterm
  4. If you changed it to Hpterm, you are done. If you changed it to xterm continue to the next step.
  5. Create a file called xterm.dt in the same directory. Add the following lines to this file:
    
    ACTION xterm
    {
         LABEL         xterm
         TYPE          COMMAND
         EXEC_STRING   /usr/bin/X11/xterm -sb -sl 2000
         ICON          Dthptrm
         WINDOW_TYPE   NO_STDIO
    }
    
  6. Log out and back into the CDE.

If you want to make an xterm or hpterm the default for just yourself:

  1. Copy the file /usr/dt/appconfig/types/C/user-prefs.dt to the .dt/types directory in your home directory.
  2. Edit user-prefs.dt and find the ACTION Terminal section.
  3. Change MAP_ACTION Dtterm to either xterm or Hpterm
  4. If you changed it to Hpterm, you are done. If you changed it to xterm continue to the next step.
  5. Create a file called xterm.dt in the same directory. Add the following lines to this file:
    
    ACTION xterm
    {
         LABEL         xterm
         TYPE          COMMAND
         EXEC_STRING   /usr/bin/X11/xterm -sb -sl 2000
         ICON          Dthptrm
         WINDOW_TYPE   NO_STDIO
    }
    
  6. Log out and back into the CDE.