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

Conference bulova::decwindows

Title:DECWINDOWS
Notice:DECwindows Motif V1.2-4 SSB kits: note 5519
Moderator:GRIM::MESSENGER
Created:Wed Nov 28 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5861
Total number of notes:24081

5760.0. "Multi-Headed Setup Under CDE..." by XDELTA::HOFFMAN (Steve, OpenVMS Engineering) Tue Jan 28 1997 13:31

    Multi-headed workstations under CDE -- apparently not supported
    -- can be gotten to (more or less) work.

    As there isn't particularly much detail in the manuals on this...

    o Copy SYS$STARTUP:DECW$PRIVATE_SERVER_SETUP.TEMPLATE to
      SYS$STARTUP:DECW$PRIVATE_SERVER_SETUP.TEMPLATE.COM.

      Set it up per the directions in the template comments.  (usually,
      only a few changes are required.) 

      Do not force the choice of the primary display via the
      DECW$PRIMARY_DEVICE symbol.  (This definitely does not work as
      expected -- it seems to pick this over all other devices, and
      the pointer can get "stuck" in the other window if you're not
      careful.  If it does, remember <ALT><TAB> can cycle through the
      available windows.)

      A multi-headed configuration is detected by default and -- when
      present -- is the default configuration.  (No setup edits are
      specifically required to select multi-headed operation...)

      Set DECW$DEFAULT_KEYBOARD_MAP to your keyboard -- this is often
      one of the following:

	US_LK401AA (LK401, LK461, LK46W), or
		Traditional OpenVMS keyboard...
	US_LK443AA_PC or _LK (PC keyboard
		PC keyboard, using the PC or the LK key definitions...

      See DECW$KEYMAP: for the available keymaps.

    o Read or copy over the text file CDE$SYSTEM_DEFAULTS:[man]DTWMRC.4,
      this describes how to alter SYS$LOGIN_DEVICE:[.DT]DTWMRC.DAT.
      (DTWMRC.DAT is analogous to the SYS$LOGIN:DECW$MWM_RC.DAT
      `Motif Classic' configuration file.)

      Set up the default root menu in DTWMRC.DAT to include various
      application controls -- most everything that can be performed
      via the CDE control panel can be done via DTWMRC.DAT, too.

    o Once all the above procedures are in place, re-run the startup
      procedure "@SYS$STARTUP:DECW$STARTUP RESTART", and re-login.

	--

    I'm still working on various attributes -- such as the colors and
    the controls -- in the secondary window.  (The colors are definitely
    messed up in the secondary window, and I haven't figured out how to
    select the background over there quite yet.)

	--

!-------------------------------------------------------------------
!
!               Menu descriptions
!
!    Workspace menu from MB1 on screen
!
Menu DefaultRootMenu
{
        "Workspace"               f.title
        no-label                  f.separator
        "Applications"    _A      f.menu AppMenu
        no-label                  f.separator
        "Shuffle Up"      _U      f.circle_up
        "Shuffle Down"    _D      f.circle_down
        "Next Window"     _N      f.next_key
        "Previous Window" _v      f.prev_key
        no-label                  f.separator
        "Pack Icons"      _P      f.pack_icons
        "Options"         _O      f.menu MwmCustomizeMenu
        no-label                  f.separator
        "Restart..."      _R      f.restart
}
Menu AppMenu
{
        "Applications"            f.title
        "DECterm"         _T      f.exec "create/terminal/detach"
	... other menu options...
}

T.RTitleUserPersonal
Name
DateLines
5760.1GERUND::WOLFEI&#039;m going to huff, and puff, and blow your house downWed Feb 12 1997 23:1511
Steve, 

You can display dtstyle on the second head to set backgrounds etc. 
The resources it sets should even be saved/restored properly across 
sessions (at least I don't remember having to hand edit anything)

Lots of other things don't work. The most annoying - workspace
switching only works on head 0. 


			Pete 
5760.2I Want My MWMXDELTA::HOFFMANSteve, OpenVMS EngineeringThu Feb 13 1997 11:0116
   CDE fell over a few too many times, was a little too `busy', and had
   a few too many restrictions.  (Particularly restrictions around the
   lack of multi-headed support.)  I've updated the background menu and
   have dropped back to MWM -- the DT window manager didn't provide me
   with anything I didn't already have with a slightly `tweaked' MWM.

   There's a screen background that blew CDE off several local systems. 
   (This has probably been reported before.)  Selecting the Inlay-Color
   background wedged CDE on *some* of the local systems -- seemingly
   only members of the AlphaStation 255 series, but I'm not sure if
   that's a solid pattern.

   With multi-head, the workspace feature isn't as valuable as it might
   otherwise be -- I may still wire it up under MWM, however.

5760.3you need to install Open3DWRKSYS::RICHARDSONThu Feb 13 1997 12:1211
    The bug involving InlayColor was fixed a real long time ago - you need
    to install the newest Open3D kit to get the updated device-dependent
    Xserver code.  The code that ships with the operating system is very,
    very old.  This bug only happens on TGA2 graphics cards, and didn't
    really have anything to do with cde other than being easy to reproduce
    in this way.
    
    /Charlotte
    
    PS - I agree with all the other reasons why you don't run cde - I don't
    run it either!
5760.4We Have FIS-Related ProblemsXDELTA::HOFFMANSteve, OpenVMS EngineeringFri Feb 14 1997 09:229
   Why hasn't this TGA2 fix been rolled into a DECwindows Motif fix kit,
   and into the FIS kit?  (We're still shipping systems to customers with
   factory-integrated TGA2 cards with this bug present -- I didn't check
   to see if the FIS was shipping baseline DECwindows Motif V1.2-4, or
   the patched version.)

   This does not make us look good.

5760.5DTWMRC.DAT; Root Window Menu CustomizationXDELTA::HOFFMANSteve, OpenVMS EngineeringMon Mar 03 1997 13:1378
   Here's the local DTWMRC.DAT -- this shows how to customize the MB1
   popup on the screen background.  This is a very useful approach when
   adding commands and local features to CDE.  (For details, see the man
   page SYS$SYSROOT:[CDE$DEFAULTS.SYSTEM.MAN]DTWMRC.4.)

   AppMenu, shown below, can be used to invoke user-specifed commands
   when MB1 is pressed on the root window...  In the example, just the
   DECterm option is shown.  But it should give you some ideas...

   The file DTWMRC.DAT normally resides in SYS$LOGIN:[.DT].

   --

!
! Copyright � 1990, 1993 Digital Equipment Corporation.  All rights reserved.
!                      
!----------------------------------------------------------------------------
!
! Motif window manager configuation file
                       ^^^^^^^^^^^^
   nice typo...

!
! This contains all window manager menu definitions and
! keyboard bindings.
!
! Here is a list of possible window manager functions:
!
! f.beep, 
! f.circle_down [icon|transient|window], f.circle_up[icon|transient|window], 
! f.exec "Command",
! f.dec_customize DialogBox, f.dec_help Topic,
! f.focus_color, f.focus_key, f.kill,
! f.lower [freeFamily|within|-ClientName], 
! f.maximize, f.menu MenuName, f.minimize, f.move, 
! f.next_cmap, f.next_key [icon|transient|window], f.pass_key, 
! f.prev_cmap, f.prev_key [icon|transient|window],
! f.nop, f.normalize, f.normalize_and_raise,
! f.pack_icons, f.post_smenu, f.quit_mwm, 
! f.raise [freeFamily|within|-ClientName],
! f.raise_lower, f.refresh_win
! f.refresh, f.resize,
! f.restart, f.restore, f.restore_and_raise, 
! f.screen next|prev|back|#,
! f.send_msg id, f.separator, f.set_behavior, f.title Title,
!
!-------------------------------------------------------------------
!
!               Menu descriptions
!
!    Workspace menu from MB1 on screen
!
Menu DefaultRootMenu 
{
	"Workspace"  	                          f.title
	no-label	       	                  f.separator               
	"Applications" 	  _A	                  f.menu AppMenu
	no-label	       	                  f.separator               
	"Shuffle Up"   	  _U	                  f.circle_up
	"Shuffle Down"	  _D 	                  f.circle_down
        "Next Window"     _N                      f.next_key
        "Previous Window" _v                      f.prev_key
	no-label	       	                  f.separator               
        "Pack Icons"      _P                      f.pack_icons 
        "Options"         _O                      f.menu MwmCustomizeMenu
	no-label	   	                  f.separator
	"Restart..."	  _R	                  f.restart
        "Help"            _H                      f.menu MwmHelpMenu    
}
Menu AppMenu 
{
	"Applications"  	                  f.title
	"DECterm" 	  _D	                  f.exec "create/terminal/detach"
	...
}

	...