[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

563.0. "How do you turn off DECwindows window mgr?" by KEPERA::BURMEISTER (Nothing is true, All is permitted.) Sun Apr 09 1989 23:48

    	I am working with a reseller in Houston TX who wants
    	to port his application to DECwindows on both VMS and
    	Ultrix. The kicker is that they have their own window
    	manager and would like to be able to turn Dwm off at
    	the same time they would like to be able to manually
    	start DECterms (or Xterms) for coding and debugging 
    	purposes. 

    	So how do you do it. I apologize for not having a 
    	DECwindows system around to try to figure it out
    	myself but alas the only functioning workstation I
    	have right now only runs HPWS$wm. Hmmmmmm.
    
    	Thanks in advance for your pearls of wisdom.

T.RTitleUserPersonal
Name
DateLines
563.1kill the varmitEVOAI2::PIKESilly rabbit, **trix is for kids !Mon Apr 10 1989 05:3922
    on ultrix I switch between the dec window manager and the hp window
    manager simply by killing the process and running the other one.
    Having the hp window manager doesn't prevent me from starting a
    DECterm.  Try something like the following:
    
    (under root)
    	# ps -ax  ! get the pid of the process running dxwm
    	# kill PID
    	# /etc/local/hpwm &   ! start the hpwm or other wm in the background
    	# /etc/bin/dxterm &   ! start a decterm window
    (same kinda thing to switch back to dec window manager)
    
    if you're using the dec session manager and you want a window manager
    to kick in automatically upon login, add the following line to your
    .Xdefaults file.
    
    sm.windowManagerName	/usr/local/hpwm  (or other wm)
    
    I rather fancy that a similar operation should work under VMS.
    
    Charly.

563.2VMS exampleGOFER::HARLEYAt home, you can scratch where it itchesMon Apr 10 1989 11:3434
I use the following .Com file (I have it in my Vue menu):

$
$ ! This command file will (hopefully) start up the HP window manager for me.
$
$ Set NoOn
$ If F$Mode() .eqs. "OTHER"
$  Then
$	Set Verify
$	Set Display/Create/Transport=Local
$	Define Sys$Login 'F$TrnLNM("HPWM_Dir")'
$	Set Default Sys$Login:
$	MCR HPWM
$	Set Display/NoPermanent
$	Deass/Group HPWM_Dir
$  Else
$	Dir = F$TrnLnm("Sys$Login")
$	Define/Group HPWM_Dir 'Dir'
$	If P1 .eqs. "" Then P1 = "DECW$WM_1"
$	Stop "''P1'"
$	Run/Detach Sys$System:Loginout	-
		/Input='Dir'HPWM.Com	-
		/Output='Dir'HPWM.Log	-
		/Process="''P1'"	-
		/Page_File=10000
$
$  EndIf
$

I use basically the same thing to get back to the DECwindows WM (I just use
$ Run DECW$WinMgrExe instead of MCR HPWM)

/Harley