HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing default CDE terminal type
Operating System - HP-UX
        1839907
        Members
    
    
        3097
        Online
    
    
        110157
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 02:43 AM
10-01-2003 02:43 AM
			
				
					
					
						Is there a way to change the default terminal type in CDE from dtterm to xterm?
In VUE there was the VUETERM environment variable that we set in /etc/profile.
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
In VUE there was the VUETERM environment variable that we set in /etc/profile.
Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 02:51 AM
10-01-2003 02:51 AM
Solution
			
				
					
					
						Hello,
Here are to configure hpterm instead of dtterm:
1. Copy these two files:
- dtwm.fp
- dt.dt
from this directory:
/usr/dt/appconfig/types/C directory
to this directory:
/etc/dt/appconfig/types/C directory. You may
Note: You must create the /etc/dt/appconfig/types/C directory.
Note: If LANG is not equal to C, you you must replace the C
directory with the setting to your $LANG variable.
2. Edit the file dtwm.fo and search for Dtterm.
Replace this line:
PUSH_ACTION Dtterm
with this line:
PUSH_ACTION My_hpterm.
Note: Save the old line, but comment it out.
Note: The function block should appear as shown below:
CONTROL Term
{
TYPE icon
CONTAINER_NAME PersAppsSubpanel
CONTAINER_TYPE SUBPANEL
POSITION_HINTS 1
ICON Fpterm
LABEL Terminal
# PUSH_ACTION Dtterm
PUSH_ACTION My_hpterm
HELP_TOPIC FPOnItemTerm
HELP_VOLUME FPanel
}
3. Edit the file dt.dt and search for the line ACTION Dtterm.
Copy the whole function block and rename the copied function
block to ACTION My_hpterm. Change this line:
EXEC_STRING /usr/dt/bin/dterm
to this line:
EXEC_STRING /usr/bin/X11/hpterm
Note: The function block should appear as shown below:
ACTION My_hpterm
{
LABEL Terminal
ARG_COUNT 0
ICON Dtterm
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/bin/X11/hpterm
DESCRIPTION The Terminal (Dtterm) action runs the
desktop Terminal Emulator application.
}
4. Restart the workspace manager to activate the change.
Hope this helps,
Nico
		
		
	
	
	
Here are to configure hpterm instead of dtterm:
1. Copy these two files:
- dtwm.fp
- dt.dt
from this directory:
/usr/dt/appconfig/types/C directory
to this directory:
/etc/dt/appconfig/types/C directory. You may
Note: You must create the /etc/dt/appconfig/types/C directory.
Note: If LANG is not equal to C, you you must replace the C
directory with the setting to your $LANG variable.
2. Edit the file dtwm.fo and search for Dtterm.
Replace this line:
PUSH_ACTION Dtterm
with this line:
PUSH_ACTION My_hpterm.
Note: Save the old line, but comment it out.
Note: The function block should appear as shown below:
CONTROL Term
{
TYPE icon
CONTAINER_NAME PersAppsSubpanel
CONTAINER_TYPE SUBPANEL
POSITION_HINTS 1
ICON Fpterm
LABEL Terminal
# PUSH_ACTION Dtterm
PUSH_ACTION My_hpterm
HELP_TOPIC FPOnItemTerm
HELP_VOLUME FPanel
}
3. Edit the file dt.dt and search for the line ACTION Dtterm.
Copy the whole function block and rename the copied function
block to ACTION My_hpterm. Change this line:
EXEC_STRING /usr/dt/bin/dterm
to this line:
EXEC_STRING /usr/bin/X11/hpterm
Note: The function block should appear as shown below:
ACTION My_hpterm
{
LABEL Terminal
ARG_COUNT 0
ICON Dtterm
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/bin/X11/hpterm
DESCRIPTION The Terminal (Dtterm) action runs the
desktop Terminal Emulator application.
}
4. Restart the workspace manager to activate the change.
Hope this helps,
Nico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 02:57 AM
10-01-2003 02:57 AM
			
				
					
						
							Re: Changing default CDE terminal type
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						set the variable TERM in .dtprofile
 
SEP
		
		
	
	
	
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
