NEED TO MODIFY TITLE ON MOTIF SMIT (MSMIT) WINDOW

ITEM: RTA000040682



QUESTION:                                                                       
  I am creating multiple aixterm windows on an X-Station to run smitty          
for various RS/6000 systems.  I use the -T switch on the aixterm                
command to specify a title containing the hostname.  I'd like to use            
Motif smit instead but am not able to figure out a way to modify the            
window on a per system basis.  Is there a way to do this?                       
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A: The problem you are having is due to Msmit setting its own title             
   name and ignoring the X resource for title set by the user.                  
   You could make a case for the argument that this is a bug,                   
   and you are welcome to try registering it as a defect with                   
   Software Support, but I believe they will close it out                       
   as: "Working as Designed".                                                   
                                                                               
   There are two things we can do to differentiate these occurrences            
   of Smit. We can change the icon name, and change the background              
   color.  This needs syntax like:                                              
        smit -bg red -xrdb ' msmit*iconName:Msmit1 '                            
   Since this is a bit of syntax to remember all the time I tried to            
   get this as a menu item on the root mouse menu:                              
                                                                                
     "remote smit"  f.exec "rexec  specialsmit  "                       
   where specialsmit is a korn shell you create on the remote machine           
   that looks like:                                                             
   #¢/bin/ksh                                                                   
   export TERM=aixterm                                                          
   export DISPLAY=localhost:0                                                   
   smit -bg red -xrdb 'msmit*iconName:Msmit1'                                   
                                                                               
   The reason I created a separate korn shell script rather than put            
   all of it on the .mwmrc f.exec line:  I needed triple layers of              
   nested quote marks to make it all work.                                      
   Notice: rexec requires a $HOME/.netrc file on the local machine              
   to specify the userid and password on the remote host.                       
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q655838      CQLQP                      
                                                                                
Additional search words:                                                        
APR94 CHANGE CQLQP IX MODIFIER MODIFY MOTIF MSMIT OP OZIBM OZNEW                
RISCOSO RISCSYSTEM SMIT SOFTWARE SYS TITLE WINDOW                               
                                                                               


WWQA: ITEM: RTA000040682 ITEM: RTA000040682
Dated: 11/1996 Category: RISCOSO
This HTML file was generated 99/06/24~12:43:16
Comments or suggestions? Contact us