HOW TO START X-APPLICATION FROM SELECTION PANEL IN AIXWIN

ITEM: RTA000026721



QUESTION:                                                                       
My customer has an application that they would like to start up from            
the selection panel in AIXwindows.  When they code the .mwmrc file to           
include a line:                                                                 
     f.exec  /home/appl/dmcs/bin/dmcsg &                                        
                                                                                
They can bring up the application as they wish (multiple application            
windows are opened), however, when then end the application via a normal        
exit, ALL AIXwindows are killed and the console returns to a command            
line prompt (no windows at all).                                                
                                                                                
If they change the .mwmrc file to read:                                         
      f.exec aixterm -e /home/appl/dmcs/bin/dmcsg &                             
then when they start the application via selection bar, the application         
starts tries to start up it's windows, but after a flash or two of the         
windows, the application just hangs....(there is no error message)._            
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
    -The hanging of the application when starting it from the Motif             
     menu option defined as 'f.exec aixterm -e /home/appl/dmcs/bin/             
     dmcsg &' could be due to the improper use of the f.exec                    
     command.  I noticed that you did not put quotation marks around the        
     command after the f.exec.  This is necessary when using f.exec to          
     start an aixterm with the '-e' flag.  The .mwmrc line should look          
     like this:                                                                 
                                                                                
      "App_Name"     f.exec "aixterm -e /home/appl/dmcs/bin/dmcsg &"            
                                                                                
     When testing, I found that aixterm -e would only properly f.exec           
     if the aixterm command line was enclosed in quotation marks.              
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q607153      BTNTH                      
                                                                                
Additional search words:                                                        
.MWMRC AIXWINDOWS APPLIC APPLICATION BTNTH DEC92 ENVIRONMENT F.EXEC             
FILE HAVING IX PROBLEMS RISCSYSTEM RISCXWIN SOFTWARE STARTING USER              
USERS                                                                           
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


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