____________________________________________________
VMS DECwindows Version 1.1 Release Notes
June 1992
This document describes software problems,
corrections, and restrictions, as well
as documentation changes that pertain to
Version 1.1 of VMS DECwindows Motif.
Revision/Update Information: This manual supersedes
the VMS DECwindows
Motif Version 1.0
Release Notes.
Operating System: VMS Version 5.4-3
Software Version: VMS DECwindows Motif
Version 1.1
Digital Equipment Corporation
Maynard, Massachusetts
________________________________________________________________
June 1992
The information in this document is subject to change
without notice and should not be construed as a commitment
by Digital Equipment Corporation. Digital Equipment
Corporation assumes no responsibility for any errors that
may appear in this document.
The software described in this document is furnished under
a license and may be used or copied only in accordance with
the terms of such license.
No responsibility is assumed for the use or reliability
of software on equipment that is not supplied by Digital
Equipment Corporation or its affiliated companies.
© Digital Equipment Corporation 1992.
All Rights Reserved.
The postpaid Reader's Comments forms at the end of this
document request your critical evaluation to assist in
preparing future documentation.
The following are trademarks of Digital Equipment
Corporation: Bookreader, CDA, DEC, DECnet, DECpresent,
DECwindows, DECwrite, Digital, LinkWorks, LiveLink, LN03,
MicroVAX, PrintServer, ReGIS, ULTRIX, VAX, VAXcluster,
VAXserver, VAXstation, VMS, VT330, VT340, XUI, and the
DIGITAL logo.
The following are third-party trademarks:
Motif is a trademark of the Open Software Foundation, Inc.
Adobe is a registered trademark of Adobe Systems
Incorporated.
Display PostScript and PostScript are registered trademarks
of Adobe Systems Incorporated.
Open Software Foundation, OSF, OSF/Motif, and Motif are
trademarks of the Open Software Foundation, Inc.
UNIX is a registered trademark of UNIX System Laboratories,
Inc.
X Window System, Version 11 and its derivations (X, X11,
X Version 11, X Window System) are trademarks of the
Massachusetts Institute of Technology.
ZK5955
This document was prepared using VAX DOCUMENT, Version 2.1.
_________________________________________________________________
Contents
Preface................................................... xi
1 General User Release Notes
1.1 Version 1.1 Specific Release Notes............... 1-1
1.2 Access Control-Not Explicitly Enabled by
Default.......................................... 1-2
1.3 Monitor Screen Width Customized Login Logos...... 1-3
1.4 VMS DECwindows Motif Application Notes........... 1-3
1.4.1 Bookreader .................................... 1-3
1.4.1.1 DECW$BOOKSHELF Logical Name Cannot Reference
Search List................................. 1-4
1.4.1.2 Formal Examples, Figures, and Tables........ 1-4
1.4.1.3 Incorrect Text in Message................... 1-4
1.4.2 Calendar ...................................... 1-4
1.4.3 Cardfiler ..................................... 1-5
1.4.4 CDA Viewer/CDA PostScript Converter ........... 1-5
1.4.4.1 CDA Viewer-Viewing PostScript Files with
Errors...................................... 1-5
1.4.4.2 CDA Viewer/CDA PostScript Converter-Graphics
Objects..................................... 1-6
1.4.4.3 CDA Viewer/CDA PostScript Converter-Page
Problem..................................... 1-6
1.4.4.4 CDA Viewer Supports DECfonts Version 1.2.... 1-6
1.4.4.5 Paper Size... Button Renamed................ 1-6
1.4.4.6 Watch Progress Can Cause CDA Viewer to Lose
Expose Events............................... 1-7
iii
1.4.5 DECterm ....................................... 1-7
1.4.5.1 Condensed German Standard Font Not
Available................................... 1-7
1.4.5.2 Cursor Blink Not Disabled in DECterm
Widget...................................... 1-7
1.4.5.3 DECterm Controller and LOGINOUT............. 1-7
1.4.5.4 DECterm Graphics............................ 1-8
1.4.5.5 DECterm Initialization...................... 1-9
1.4.5.6 DECterm Not a Complete VT330/VT340 Terminal
Emulator.................................... 1-10
1.4.5.7 DECterm Resource Usage...................... 1-10
1.4.5.8 DECterm Text................................ 1-10
1.4.5.9 Diagnostic Crash File and Messages-New and
Enhanced.................................... 1-10
1.4.5.10 Displaying Version Information About
DECterm..................................... 1-11
1.4.5.11 Keyboards and Languages..................... 1-11
1.4.5.12 Monitor Screen Width Determines Default Font
Size........................................ 1-12
1.4.5.13 Nohangup and Virtual Terminal Support....... 1-12
1.4.5.14 DECterm PC Interoperability Restrictions.... 1-13
1.4.5.15 ReGIS and SIXEL............................. 1-14
1.4.5.16 ReGIS Locator Report........................ 1-15
1.4.5.17 /PROCESS=procnam Fails if No Process With
Default Name................................ 1-15
1.4.5.18 Queued Printing Requires Name in File
Field....................................... 1-15
1.4.5.19 Screen Print Services....................... 1-15
1.4.5.20 Simultaneous Multiple Language
Performance-Resource Demanding.............. 1-16
1.4.6 LinkWorks .................................... 1-16
1.4.6.1 Application Identifier Name................. 1-16
1.4.6.2 Application Startup Error................... 1-16
1.4.6.3 Work-In-Progress Box........................ 1-16
1.4.7 Mail Restrictions and Problems ................ 1-17
1.4.8 Paint ......................................... 1-17
1.4.8.1 Enhancing the Performance of Some Paint
Operations.................................. 1-17
1.4.8.2 Editing Color Images........................ 1-18
1.4.8.3 Private Colormaps........................... 1-18
1.4.8.4 Saving a Paint File......................... 1-18
iv
1.4.9 Print Screen ................................. 1-18
1.4.9.1 Keyboard Mnemonics Not Implemented.......... 1-18
1.4.9.2 Options Menu................................ 1-19
1.4.9.3 Print Orientation Option-Not Functional..... 1-19
1.4.9.4 Print Screen Default Icon-Large............. 1-19
1.4.9.5 Queue Options Dialog Box.................... 1-19
1.4.9.6 Reduce Only Setting-Not Functional.......... 1-20
1.4.9.7 Resource Values-Changed..................... 1-20
1.5 DECW$CDPLAYER Enhanced........................... 1-20
1.6 Motif Window Manager (Mwm) Notes................. 1-20
1.6.1 Configuration File ............................ 1-20
1.6.2 DECwindows XUI Applications ................... 1-21
1.6.3 Icons ......................................... 1-21
1.6.4 International Keyboard Performance
Improvement.................................... 1-21
1.6.5 Known Problems with Motif Window Manager ...... 1-22
1.6.5.1 Accelerators for Icon in Icon Box........... 1-22
1.6.5.2 Application Started As Icon ................ 1-22
1.6.5.3 Color-Related Resources for Monochrome
Monitors-Customizing........................ 1-22
1.6.5.4 Customizing Colors on 4-Plane Displays...... 1-22
1.6.5.5 Customized Icon Placement in Icon Box....... 1-23
1.6.5.6 DECwindows XUI Modal Dialog Boxes........... 1-23
1.6.5.7 Icon Box-Customizing........................ 1-23
1.6.5.8 Icon Box Colors on Monocrome and Gray-Scale
Systems..................................... 1-23
1.6.5.9 Icon Box Moved Off Screen................... 1-23
1.6.5.10 Icon Title Truncated........................ 1-23
1.6.5.11 Invoking Help for Mwm ...................... 1-24
1.6.5.12 Multihead Systems-Customizing Colors........ 1-24
1.6.5.13 Multiline Icon Text Not Centered ........... 1-24
1.6.5.14 Multiscreen Systems With Mixed Monitors .... 1-24
1.6.5.15 Next Window on Multihead System............. 1-24
1.6.5.16 Restored Window Icons Not Displayed......... 1-25
1.6.5.17 Truncated Icon Title in Vertical Icon Box... 1-25
1.6.5.18 Window Menu on Icon-Displaying with
Keyboard.................................... 1-25
1.6.6 Motif Window Manager-Restarting ............... 1-25
1.6.7 New Mwm Default Font .......................... 1-25
1.7 Public Profiles for Layered Products............. 1-25
1.8 Session Manager and FileView .................... 1-26
1.8.1 Change in Bindings for Lists in FileView and
Session Manager................................ 1-26
v
1.8.2 EWS Users Must Upgrade to EWS Version 1.0A .... 1-26
1.8.3 FileView DELETE Functionality-Changed ........ 1-26
1.8.4 FileView Starts Detached Processes by
Default........................................ 1-27
1.8.5 User Default Resource File .................... 1-27
1.8.6 Session Manager and FileView-Problems ......... 1-28
1.8.6.1 Input Focus Change When Starting Private
Logo........................................ 1-28
1.8.7 Session Manager Process-Stopping .............. 1-28
1.9 Troubleshooting Information...................... 1-29
1.10 Version Checking Command Files................... 1-29
2 Programmer Release Notes
2.1 Version 1.1 Specific Release Notes............... 2-1
2.2 Adding POSIX Support to DECwindows Transports.... 2-2
2.2.1 The POSIX fork() Routine ...................... 2-2
2.2.2 SYS$POSIX_FORK_CONTROL System Service ......... 2-3
2.3 DEC CDA Base Services ........................... 2-3
2.3.1 DDIF$VIEWSHR Interaction Problems with XUI
Applications................................... 2-4
2.3.2 Function Prototypes and Data Type
Definitions.................................... 2-4
2.3.3 New Item Change Lists for Aggregates .......... 2-5
2.3.4 User Get or Put Routine Parameter ............. 2-5
2.4 DECterm.......................................... 2-6
2.4.1 Controller Communication and Startup .......... 2-6
2.4.2 DECterm Controller MUTEX Hang Bug ............. 2-6
2.4.3 DECterm Logical Names ......................... 2-7
2.4.3.1 DECterm Window Positioning.................. 2-7
2.5 VMS DECwindows Motif Version 1.1 Based on
OSF/Motif Release 1.1.3.......................... 2-8
2.6 DECwindows Toolkit............................... 2-8
2.6.1 Additional Non-C Language Binding Support for
Motif.......................................... 2-8
2.6.2 Intrinsics Changes from the Digital Version of
MIT X11 Release 3 to MIT X11 Release 4......... 2-8
2.6.2.1 Changes in Routine Interfaces............... 2-9
2.6.2.2 Changes in Widget Semantics:................ 2-9
2.6.2.3 Other Changes............................... 2-10
vi
2.6.3 Miscellaneous Toolkit Notes, Corrections, and
Restrictions .................................. 2-11
2.6.3.1 Context-Sensitive Help...................... 2-11
2.6.3.2 Debugging Toolkit Applications-SET
BREAK/EXCEPTION Command .................... 2-11
2.6.3.3 Help Callback Routines...................... 2-11
2.6.3.4 Insensitivity Problem....................... 2-11
2.6.3.5 Intrinsics Key Translator................... 2-12
2.6.3.6 Motif Text Widget Translations.............. 2-13
2.6.3.7 Projected Change for XmText Class Widget.... 2-13
2.6.3.8 Shift Lock.................................. 2-13
2.6.3.9 Traversing a Motif Menu Bar with Keys....... 2-13
2.6.3.10 VAX Format Toolkit Bindings................. 2-14
2.6.3.11 XmText Widget Interactive Performance....... 2-14
2.6.3.12 XUI Application Linking Procedures.......... 2-14
2.6.4 New DECwindows Motif Toolkit Shareable
Images......................................... 2-15
2.6.4.1 Code Shareable Images....................... 2-15
2.6.4.2 Thin-Layer Shareable Image.................. 2-16
2.6.5 Upward Compatibility .......................... 2-16
2.6.5.1 Restrictions on Mixing Motif and XUI
Widgets..................................... 2-17
2.7 Display PostScript (DPS) Server Extension-Color
Cells............................................ 2-17
2.8 Layered Products Fonts........................... 2-18
2.8.1 Accessing Layered Products Fonts .............. 2-18
2.8.2 DECpresent Bullet Fonts Available ............. 2-18
2.9 New OSF/Motif Examples........................... 2-19
2.9.1 MOTIFANIM ..................................... 2-19
2.9.2 MRE ........................................... 2-20
2.9.2.1 The Basics of MRE........................... 2-20
2.9.2.2 Editing Colors With MRE..................... 2-21
2.9.2.3 Editing Fonts With MRE...................... 2-21
2.9.2.4 Locating File Names With MRE................ 2-22
2.9.2.5 Editing Boolean (TRUE/FALSE) Resources With
MRE......................................... 2-22
2.9.2.6 Editing Translation Tables With MRE ........ 2-22
2.9.2.7 The MRE Options Menu........................ 2-22
2.9.2.8 MRE Command Entry........................... 2-23
2.9.2.9 Help on MRE................................. 2-24
2.9.2.10 The MRE Edit Menu........................... 2-24
2.9.2.11 Adding Custom Types; Associating Resources
with Types.................................. 2-24
vii
2.9.2.12 Resources That Modify MRE Behavior.......... 2-25
2.9.2.13 Known Problems With MRE..................... 2-27
2.9.2.14 MOTIFGIF and PICT Viewing Programs.......... 2-27
2.9.2.15 Dog Widget.................................. 2-28
2.10 Toolkit Extensions............................... 2-29
2.10.1 DXmCSText Resources to Specify Input Method ... 2-29
2.10.1.1 DXmNinputMethodType......................... 2-30
2.10.1.2 DXmNinputMethod............................. 2-30
2.10.2 DXmCSText With the XmNblinkRate Resource ...... 2-31
2.10.3 DXmCSTextSetSelection Format Change ........... 2-31
2.10.4 DXmHelpSystem Routine Status Value Changes .... 2-32
2.10.5 DXmNlayoutDirection ........................... 2-33
2.10.5.1 DXmNlayoutDirection in DECwindows Extensions
to Motif.................................... 2-33
2.10.5.2 DXmNlayoutDirection in DECwindows Motif..... 2-35
2.10.6 SVN and Compound String Text Widget
Translations................................... 2-40
2.10.7 SVN-Horizontal Live Scrolling Not Supported ... 2-67
2.10.8 SVN Horizontal Separator Line ................. 2-67
2.11 UIL Extensions................................... 2-67
2.11.1 DXmFormSpaceButtonsEqually Restriction ........ 2-67
2.11.2 UIL Compiler .................................. 2-67
2.12 VAX C Sample Programs............................ 2-67
2.13 VAXstations 3520 and 3540-Problem Running DTM ... 2-68
2.14 X11 Display Server............................... 2-68
2.14.1 100 DPI Fonts Not Available on 75 DPI
Monitors....................................... 2-68
2.14.2 Backingstore Disable-New Feature .............. 2-69
2.14.3 Color Name File-Updated ....................... 2-69
2.14.4 Compatibility Option in Server ................ 2-70
2.14.5 Default Character Processing Correction ....... 2-71
2.14.6 Font Names Now Returned in Lowercase .......... 2-71
2.14.7 Known Problems with the X11 Display Server .... 2-71
2.14.8 Server Infinite Loop Correction .............. 2-71
2.15 X Image Extension (XIE).......................... 2-72
2.16 Xlib Extensions.................................. 2-72
2.16.1 Xlib Client Side Library ...................... 2-73
2.16.2 Xlib Routines ................................. 2-73
2.16.2.1 Ada Bindings File Incomplete................ 2-73
2.16.2.2 Command Procedure Builds .PEN Files......... 2-74
2.16.2.3 Parameter/Protocol Datasize Mismatches...... 2-74
2.16.3 XSelectAsyncEvent and XSelectAsyncInput
Routines ...................................... 2-75
viii
3 Documentation Release Notes
3.1 CDA Documentation................................ 3-1
3.2 VMS DECwindows Motif Documentation............... 3-2
3.3 Corrections to Existing Documentation............ 3-3
3.3.1 DECwindows Companion to the OSF/Motif Style
Guide.......................................... 3-4
3.3.2 DECwindows Extensions To Motif ................ 3-4
3.3.2.1 DXmCSTextReplace Format..................... 3-4
3.3.2.2 XmNmodifyVerifyCallback Resource Callback
Structure................................... 3-4
3.3.3 VMS DECwindows Motif User's Guide ............. 3-5
3.3.4 OSF/Motif Programmer's Reference .............. 3-5
3.3.4.1 Core Reference Page......................... 3-5
3.3.4.2 mwm Reference Page.......................... 3-6
3.3.4.3 RectObj Reference Page...................... 3-6
3.3.4.4 VendorShell Reference Page.................. 3-7
3.3.4.5 VirtualBindings Reference Page.............. 3-7
3.3.4.6 WMShell Reference Page...................... 3-7
3.3.4.7 XmArrowButton Reference Page................ 3-8
3.3.4.8 XmArrowButtonGadget Reference Page.......... 3-8
3.3.4.9 XmBulletinBoard Reference Page.............. 3-8
3.3.4.10 XmCascadeButton Reference Page............. 3-9
3.3.4.11 XmCascadeButtonGadget Reference Page....... 3-9
3.3.4.12 XmCommand Reference Page.................... 3-9
3.3.4.13 XmCreateOptionMenu Reference Page.......... 3-10
3.3.4.14 XmCreatePromptDialog Reference Page........ 3-10
3.3.4.15 XmCreateScrolledText Reference Page........ 3-10
3.3.4.16 XmCreateSelectionDialog Reference Page..... 3-10
3.3.4.17 XmDialogShell Reference Page............... 3-10
3.3.4.18 XmDrawingArea Reference Page............... 3-11
3.3.4.19 XmDrawnButton Reference Page............... 3-11
3.3.4.20 XmFileSelectionBox Reference Page.......... 3-11
3.3.4.21 XmForm Reference Page...................... 3-12
3.3.4.22 XmFrame Reference Page..................... 3-12
3.3.4.23 XmGadget Reference Page.................... 3-12
3.3.4.24 XmGetPixmap Reference Page................. 3-12
3.3.4.25 XmLabel Reference Page..................... 3-13
3.3.4.26 XmLabelGadget Reference Page............... 3-13
3.3.4.27 XmList Reference Page...................... 3-13
3.3.4.28 XmMainWindow Reference Page................ 3-13
3.3.4.29 XmMenuShell Reference Page................. 3-14
3.3.4.30 XmMessageBox Reference Page................ 3-14
3.3.4.31 XmProcessTraversal Reference Page.......... 3-14
ix
3.3.4.32 XmPushButton Reference Page................ 3-14
3.3.4.33 XmPushButtonGadget Reference Page.......... 3-15
3.3.4.34 XmRowColumn Reference Page................. 3-15
3.3.4.35 XmScale Reference Page..................... 3-16
3.3.4.36 XmScrollBar Reference Page................. 3-16
3.3.4.37 XmScrolledWindow Reference Page............ 3-17
3.3.4.38 XmSelectionBox Reference Page.............. 3-17
3.3.4.39 XmSeparator Reference Page................. 3-17
3.3.4.40 XmSeparatorGadget Reference Page........... 3-17
3.3.4.41 XmString Reference Page.................... 3-18
3.3.4.42 XmText Reference Page...................... 3-18
3.3.4.43 XmTextField Reference Page................. 3-18
3.3.4.44 XmTextSetTopCharacter Reference Page....... 3-18
3.3.4.45 XmToggleButton Reference Page.............. 3-19
3.3.4.46 XmToggleButtonGadget Reference Page........ 3-19
3.3.4.47 XmVaCreateSimpleOptionMenu Reference Page.. 3-20
4 Version 1.1 New Features
4.1 DECsound ........................................ 4-1
4.1.1 Prerequisites ................................. 4-1
4.1.2 Starting DECsound ............................. 4-2
4.1.2.1 Session Manager............................. 4-2
4.1.2.2 Enhanced CDA Viewer......................... 4-3
4.1.2.3 Integration With Mail ...................... 4-3
4.1.2.4 DCL Command Line............................ 4-4
4.1.3 Using LiveLink Connections .................... 4-8
4.1.3.1 LiveLink Connections from DECwrite.......... 4-8
4.1.3.2 LiveLink Connections from DECpresent........ 4-10
4.1.4 Online Help for DECsound ...................... 4-11
4.1.5 Problems and Restrictions ..................... 4-11
4.2 VMS DECwindows Motif Help System................. 4-12
4.3 New MIT Utilities................................ 4-13
Index
x
Tables
2-1 DECterm Supported Logical Names ............... 2-7
2-2 Virtual Keysyms for VMS Servers ............... 2-12
2-3 DXmNinputMethodType Values .................... 2-30
2-4 DXmHelpSystem Routine Status Values ........... 2-32
2-5 DXmNlayoutDirection Values .................... 2-34
2-6 DXmNlayoutDirection Values for the
DXmCreateScrolledCSText and DXmCreateCSText
Functions...................................... 2-35
2-7 DXmNlayoutDirection Effect on Widget
Components..................................... 2-36
2-8 DXmSvn Widget Button Syntax Translations ...... 2-40
2-9 DXmSvn Widget Keyboard Syntax Translations .... 2-41
2-10 Action Routines for DXmSvn Widget ............ 2-43
2-11 DXmCSText Widget Button Syntax Translations ... 2-47
2-12 DXmCSText Widget Action Routines ............. 2-50
2-13 Additional DXmCSText Behavior ................. 2-66
2-14 Routine Arguments ............................. 2-74
4-1 Electrical Specifications ..................... 4-2
4-2 Audio Editor Options .......................... 4-5
4-3 Qualifiers to Control DECsound Sessions ....... 4-6
4-4 Bitmap Options ................................ 4-14
4-5 atobm Options ................................. 4-15
4-6 bmtoa Option .................................. 4-16
4-7 xev Options ................................... 4-17
4-8 xlsatoms Options .............................. 4-18
4-9 xlsfonts Options .............................. 4-18
4-10 xlswins Options ............................... 4-20
4-11 xmag Options .................................. 4-21
4-12 xmodmap Options ............................... 4-23
4-13 xprop Options ................................. 4-24
4-14 xrdb Options .................................. 4-29
4-15 xrefresh Options .............................. 4-32
4-16 xset Options .................................. 4-33
4-17 xsetroot Options .............................. 4-38
4-18 xwd Options ................................... 4-40
4-19 xwininfo Options .............................. 4-41
xi
4-20 xwud Options .................................. 4-43
xii
_________________________________________________________________
Preface
This document describes software problems, corrections, and
restrictions, as well as documentation changes that pertain
to VMS DECwindows Motif Version 1.1. It also describes
software problems, corrections, and restrictions, as
well as documentation changes from VMS DECwindows Motif
Version 1.0 that have not been updated in the existing
documentation. A margin note is used to specify which
version applies to each release note.
With VMS DECwindows Motif Version 1.1, extensive changes
to the code paths have been made to help developers more
easily translate this product into multiple languages.
In this manual, DECwindows XUI refers to the VMS DECwindows
product prior to VMS DECwindows Motif Version 1.0.
DECwindows Motif refers to the existing VMS DECwindows
Motif product.
Intended Audience
This document is intended for all users of VMS DECwindows
Motif.
Document Structure
This manual contains the following:
o Chapter 1 contains release notes intended for general
users of VMS DECwindows Motif Version 1.1.
o Chapter 2 contains release notes intended for
application and system programmers.
xi
o Chapter 3 describes the contents of the VMS DECwindows
Motif documentation set. Additions and corrections to
the VMS DECwindows Motif documentation set are included
in this chapter.
Version 1.1.1 corrections to Version 1.1 of the
OSF/Motif Programmer's Reference are also documented.
o Chapter 4 describes new features for VMS DECwindows
Motif Version 1.1, including the new VMS DECwindows
Motif Help, the ability to use DECsound, and the new MIT
utilities.
Associated Documents
See Chapter 3 for a description of all VMS DECwindows Motif
Version 1.1 documentation.
Conventions
The following conventions are used in this manual:
mouse The term mouse is used to refer to
any pointing device, such as a mouse,
a puck, or a stylus.
MB1 (Select) MB1 indicates the left mouse button,
MB2 (Drag) MB2 indicates the middle mouse
MB3 (Menu) button, and MB3 indicates the right
mouse button. (The buttons can be
redefined by the user.)
Ctrl+X A sequence such as Ctrl+X (or Ctrl/X)
indicates that you must hold down
the key labeled Ctrl while you press
another key or a pointing device
button.
PF1 X A sequence such as PF1 X indicates
that you must first press and release
the key labeled PF1, then press and
release another key or a pointing
device button.
<Return> In examples, a key name is shown
enclosed in a box to indicate that
you press a key on the keyboard.
xii
boldface text Boldface text represents the
introduction of an argument or a
new term.
Boldface text is also used to show
user input in online versions of the
book.
xiii
1
_________________________________________________________________
General User Release Notes
This chapter contains information about VMS DECwindows
Motif Version 1.1 that is of interest to general users.
1.1 Version 1.1 Specific Release Notes
The release notes in this manual are cumulative from VMS
DECwindows Motif Version 1.0 and still apply to Version
1.1. The following sections contain general user release
notes that pertain specifically to VMS DECwindows Motif
Version 1.1:
o Section 1.3, Monitor Screen Width Customized Login Logos
o Section 1.4.4.4, CDA Viewer Supports DECfonts Version
1.2
o Section 1.4.4.5, Paper Size... Button Renamed
o Section 1.4.5.3, DECterm Controller and LOGINOUT
o Section 1.4.5.4, DECterm Graphics
o Section 1.4.5.5, DECterm Initialization
o Section 1.4.5.7, DECterm Resource Usage
o Section 1.4.5.8, DECterm Text
o Section 1.4.5.9, Diagnostic Crash File and Messages-New
and Enhanced
o Section 1.4.5.10, Displaying Version Information About
DECterm
o Section 1.4.5.11, Keyboards and Languages
o Section 1.6.5.11, Invoking Help for Mwm
o Section 1.6.5.14, Multiscreen Systems With Mixed
Monitors
General User Release Notes 1-1
General User Release Notes
1.1 Version 1.1 Specific Release Notes
o Section 1.4.5.14, DECterm PC Interoperability
Restrictions
o Section 1.4.5.15, ReGIS and SIXEL
o Section 1.4.5.16, ReGIS Locator Report
o Section 1.4.5.19, Screen Print Services
o Section 1.4.6.1, Application Identifier Name
o Section 1.4.6.2, Application Startup Error
o Section 1.4.6.3, Work-In-Progress Box
o Section 1.4.8.3, Private Colormaps
o Section 1.5, DECW$CDPLAYER Enhanced
o Section 1.6.4, International Keyboard Performance
Improvement
o Section 1.6.7, New Mwm Default Font
o Section 1.8.1, Change in Bindings for Lists in FileView
and Session Manager
o Section 1.8.4, FileView Starts Detached Processes by
Default
o Section 1.9, Troubleshooting Information
1.2 Access Control-Not Explicitly Enabled by Default
V1.0 DECwindows Motif does not enable access control by default
but rather uses whatever access control is set by the
server. The VMS server enables access control at startup
time.
To force the DECwindows Session Manager to explicitly
enable or disable access control at login time, you can
define one of the following logical names:
$ DEFINE/SYSTEM/EXECUTIVE DECW$LOGIN_ACCESS_CONTROL ENABLE
$ DEFINE/SYSTEM/EXECUTIVE DECW$LOGIN_ACCESS_CONTROL DISABLE
If the logical name is not defined or if it is defined to
some other value such as "SERVER", DECwindows login will
neither enable nor disable access control.
1-2 General User Release Notes
General User Release Notes
1.2 Access Control-Not Explicitly Enabled by Default
In most cases it should not be necessary to define the
logical name.
1.3 Monitor Screen Width Customized Login Logos
V1.1 By default, if there is no DECwindows Motif license for
the SYSTEM account DECwindows does not display customized
login logos. This is a problem on systems with personal use
DECwindows Motif licenses that do not include SYSTEM on the
list of authorized Motif users.
To display a customized logo without a DECwindows Motif
license for SYSTEM, add the following definition to the
SYS$MANAGER:DECW$PRIVATE_APPS_SETUP.COM file.
$ DECW$LOGINLOGOSUB == "TRUE"
________________________ Note ________________________
If the file does not exist, copy it from
SYS$MANAGER:DECW$PRIVATE_APPS_SETUP.TEMPLATE.
______________________________________________________
After editing the setup file, restart VMS DECwindows Motif
using the following command:
$ @SYS$MANAGER:DECW$STARTUP RESTART
VMS DECwindows Motif login starts the logo process as a
subprocess instead of as a detached process. The license
check sees that the logo process is a child of the login
process, and the X connection is opened.
1.4 VMS DECwindows Motif Application Notes
This section provides information about VMS DECwindows
Motif applications.
1.4.1 Bookreader
This section contains information about the VMS DECwindows
Bookreader.
General User Release Notes 1-3
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.1.1 DECW$BOOKSHELF Logical Name Cannot Reference Search List
V1.0 If your definition of DECW$BOOKSHELF references a search
list logical name, the contents of your library might be
displayed twice:
$ DEFINE DECW$BOOK MYDISK1:[DECW$BOOK], MYDISK2:[DECW$BOOK]
$ DEFINE DECW$BOOKSHELF DECW$BOOK:-
_$ MY_SHELF_LIBRARY.DECW$BOOKSHELF
To correct this problem, terminate the DECW$BOOKSHELF
logical name with a semicolon (;) as follows:
$ DEFINE DECW$BOOKSHELF DECW$BOOK:-
_$ MY_SHELF_LIBRARY.DECW$BOOKSHELF;
1.4.1.2 Formal Examples, Figures, and Tables
V1.0 The following problems exist with formal tables, figures,
and examples (called formal topics) in Bookreader.
o An excessive amount of white space is allocated at the
bottom of formal topics.
o Occasionally, after you resize some formal topics,
Bookreader creates a scroll bar when none is needed.
Resize the figure again to correct the problem.
1.4.1.3 Incorrect Text in Message
V1.0 In the Topic window, Bookreader displays incorrect text
that directs you to click on a hotspot to display a figure,
table, or example. With DECwindows Motif, you must double
click on a hotspot.
For example, the text for a figure should read FIGURE:
DOUBLE CLICK TO DISPLAY FIGURE.
This problem will be corrected in a future version of VMS
DECwindows Motif.
1.4.2 Calendar
V1.0 The following problems exist with Calendar:
o Calendar incorrectly issues an error message when
LinkWorks Services are turned off.
o Calendar does not remove Link highlighting when Links
are made inactive.
1-4 General User Release Notes
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
o If the Window Manager buttons are customized so that
an action is taken when the pointer is in the window
and you press MB1, double clicking in the Month display
becomes disabled.
1.4.3 Cardfiler
V1.0 You cannot modify or save DECwindows Motif card files with
a DECwindows XUI version of the Cardfiler.
The card file format of the DECwindows Motif Cardfiler
contains additional information used for creating
hyperinformation (LinkWorks) connections. This information
is lost if a DECwindows Motif version of the card file is
read and saved using the XUI version of Cardfiler. Hence,
all LinkWorks connections that are made to that card file
might be lost or become unpredictable.
However, the DECwindows XUI version of Cardfiler can be
used to read DECwindows Motif card files. Information in
the old card file format is totally compatible with the
DECwindows Motif Version 1.0 Cardfiler. DECwindows XUI card
files are changed to Motif format when they are read in and
saved using the DECwindows Motif Cardfiler.
1.4.4 CDA Viewer/CDA PostScript Converter
This section contains information about the CDA Viewer and
the CDA PostScript Converter.
1.4.4.1 CDA Viewer-Viewing PostScript Files with Errors
V1.0 If you use the CDA Viewer to view a PostScript file that
contains syntax errors, the CDA Viewer can hang without
displaying an error message until you click on the Cancel
button. This problem will also occur if you accidentally
specify a non-PostScript file with the format .PS to
the viewer. This problem can occur in the CDA Viewer
application or in any application that uses the callable
CDA Viewer interface in DDIF$VIEWSHR.
Be careful to specify only valid PostScript files to the
CDA Viewer when specifying the .PS format.
General User Release Notes 1-5
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.4.2 CDA Viewer/CDA PostScript Converter-Graphics Objects
V1.0 If the CDA Viewer or the CDA PostScript Converter
encounters a document that contains a graphics object with
a very large number of points, it might generate a limit
check error from either X or the PostScript Printer.
If this error occurs, you should modify your DDIF document
so that the graphic object has fewer points.
This problem will be corrected in a future version of the
CDA Viewer and CDA PostScript Converter.
1.4.4.3 CDA Viewer/CDA PostScript Converter-Page Problem
V1.0 If the CDA Viewer or the CDA PostScript Converter is used
to either view or convert a DECpresent Version 1.0 file to
PostScript, some of the pages might appear blank or solid
black.
This is a problem with the DECpresent Version 1.0 style
files and will be corrected in a future version of
DECpresent. To work around this problem, view or convert
the document to PostScript using the DECpresent File menu.
1.4.4.4 CDA Viewer Supports DECfonts Version 1.2
V1.1 For DECwindows Motif Version 1.1, the CDA Viewer supports
DECfonts Version 1.2.
The Linotext fonts were renamed following DECfonts Version
1.1 and before Version 1.2. If a DDIF file contains
DECfonts Version 1.1 Linotext text, the CDA Viewer does
not find it and defaults to Courier 12pt for this text.
To correct this problem, use DECwrite or DECpresent in
conjunction with DECfonts Version 1.2 to modify the font.
1.4.4.5 Paper Size... Button Renamed
V1.1 The Paper Size... button in the Open File Selection box has
been renamed to Display Options... with DECwindows Motif
Version 1.1.
The functions invoked by that button are the same.
1-6 General User Release Notes
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.4.6 Watch Progress Can Cause CDA Viewer to Lose Expose Events
V1.0 If you use the CDA Viewer to view PostScript documents and
have selected the Watch Progress option, the CDA Viewer can
miss expose events for the window.
This problem occurs more often on high performance
workstations such as the VAXstation 3500 series and
VAXstation 3100 Model 76 series workstations. If this
problem does occur, turn off the Watch Progress option
in the Paper Size dialog box to correct the problem.
1.4.5 DECterm
This section contains information about DECterm.
1.4.5.1 Condensed German Standard Font Not Available
V1.0 There is no condensed version of the German Standard (GS)
font. If Condensed is selected while the German Standard
font is selected, the GS font remains selected. There is
no visible change in the font or any other indication that
Condensed has been selected. However, if you subsequently
select Large or Small font, the condensed version of the
Large or Small font is selected.
1.4.5.2 Cursor Blink Not Disabled in DECterm Widget
V1.0 DECterm widgets do not properly receive focus notification
events.
Applications that use the DECterm widget cannot determine
when cursor blink should be enabled and disabled. Cursor
blink might be enabled continuously for these windows, even
when minimized to an icon.
1.4.5.3 DECterm Controller and LOGINOUT
V1.1 The DECterm controller is now initialized by running
LOGINOUT before the controller starts. This change has
the following impact:
o The controller runs the LOGIN files. All logical names
defined in a LOGIN file, including DECW$USER_DEFAULTS,
are used by the controller.
o The process quotas for the controller are set by the
values in SYSUAF instead of SYSGEN. This affects the
total number of DECterm windows that you can create.
General User Release Notes 1-7
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
If the system default quotas are lower than your user
quotas, you can now create more DECterm windows.
1.4.5.4 DECterm Graphics
V1.1 The following information is specific to DECterm graphics:
o In some cases, a private colormap is created in DECterm.
This private colormap is created when ReGIS or sixel
graphics are displayed in the window and a sufficient
number of colors from the default colormap cannot be
allocated. The result is that, when the DECterm window
has input focus, the colormap changes for the entire
workstation. The default colormap is 4 colors on a 4-
plane system or monochrome system and 16 colors on color
systems with more than 4 planes.
To restore a DECterm window to the default colormap,
select Clear Display from the Commands menu to clear
the window, then select Reset Terminal from the Commands
menu to reset the terminal.
o Any dialog boxes created while DECterm is using a
private colormap appear black. To prevent this problem,
create the dialog boxes (that is, bring them up for the
first time) when DECterm is using the default colormap.
o Only graphics, not text, are written to the graphics
backing store. When part of a window has to be redrawn
in DECterm, the graphics portion of the window is drawn
first, then the text is overlaid. As a result, the
window might not look the same when it is redrawn as
it did when the picture was first drawn.
o ReGIS addresses the entire window, not just 24 rows
and 80 columns, so the aspect ratio between text and
graphics might not always be the same as on the VT330 or
VT340.
o The following ReGIS features are not implemented:
- Command Display mode
- Scrolling
- Output cursors
The mouse is used as the input cursor, but the shape
cannot be changed with the S(C(I)) command.
1-8 General User Release Notes
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.5.5 DECterm Initialization
V1.1 To ensure that your DECterm windows do not shrink
unexpectedly to the default size of 80 characters by
24 lines, systemwide and user login command procedures
(SYLOGIN.COM and LOGIN.COM) should not execute the
SET TERMINAL/INQUIRE command procedure on DECterm windows.
Executing the SET TERMINAL/INQUIRE command on mailbox
devices that are created from the Session Manager also
prevents the Session Manager from starting applications
such as DECterm.
You do not have to use the SET TERMINAL/INQUIRE command
because the DECterm controller provides VMS with the proper
characteristics and size of DECterm windows.
To make login procedures work correctly on DECterm windows
and in other environments, such as on terminals, use the
following commands in a system-wide or user login command
procedure:
$ !
$ ! SYS$MANAGER:SYLOGIN.COM and users' LOGIN.COM might contain the
$ ! following command line:
$ ! $ IF (F$MODE() .EQS. "INTERACTIVE") THEN SET TERMINAL/INQUIRE
$ ! To avoid resizing of a terminal window on a workstation, you
$ ! can substitute the following command sequence:
$ !
$ IF f$getdvi( "sys$output:", "trm" )
$ THEN
$ devnam = f$getdvi( "sys$output:", "devnam" ) - "_" - "_"
$ devnam = f$extract(0, 2, devnam)
$ if devnam .eqs. "WT" then goto skip_inquire
$ if devnam .eqs. "TW" then goto skip_inquire
$ if devnam .eqs. "FT" then goto skip_inquire
$ if devnam .eqs. "RT" then goto skip_inquire
$ set terminal sys$output:/inquire
$ skip_inquire:
$ ENDIF
This routine bypasses the SET TERMINAL/INQUIRE command on
DECterm, SET HOST, and VWS, and also on nonterminal devices
such as the mailboxes created by the Session Manager.
If you attempt to resize a DECterm window before you see a
prompt in the window, the window might disappear.
General User Release Notes 1-9
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.5.6 DECterm Not a Complete VT330/VT340 Terminal Emulator
V1.0 As described in the Software Product Description (SPD),
DECterm incorporates some of the features of the VT330
and VT340 series video terminals, such as ReGIS and SIXEL
graphics. It does not provide complete VT330 and VT340
terminal emulation.
1.4.5.7 DECterm Resource Usage
V1.1 You cannot create more terminal windows than your system
resources and quotas allow. In the previous version of
DECterm, the DECterm controller process would crash and
all DECterm windows would disappear when quotas were
exceeded. If you have insufficient resources, a dialog box
now appears with a message indicating that no additional
DECterm windows can be created.
To reduce the memory requirement of each DECterm window and
create additional terminal windows, decrease the number of
Record Lines Off Top in the Display dialog box and decrease
the number of columns for each DECterm window. Once the
resource limit is reached, you must log out of all DECterm
windows that are running on the host system before you
increase the number of terminal windows.
1.4.5.8 DECterm Text
V1.1 The following information is specific to DECterm text:
o User-loadable characters (DRCS), local mode, and control
representation mode are not implemented.
o The checkerboard character (character 97 in the DEC
Special Graphic character set) is used as an error
character in place of the reverse question mark.
1.4.5.9 Diagnostic Crash File and Messages-New and Enhanced
V1.1 DECterm now produces a diagnostic file when a status code
of level Fatal is returned. The file DECTERM_ERROR.LOG
is produced in the login directory when DECterm exits
abnormally. If you have a problem with DECterm and submit
a Software Performance Report (SPR), include a copy of
the log file. Under certain circumstances, a log file can
be generated even when no problem has been encountered.
Therefore, the appearance of a log file as an isolated
event should not be cause for a problem report.
1-10 General User Release Notes
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
You can enable additional levels of diagnostic messages by
defining either a logical name or a symbol named DECTERM_
DIAG. When defined, enhanced diagnostics are displayed
by the DECterm images. This mode should be used only for
diagnosing problems because it causes generation of Session
Manager message windows for each new DECterm created from
the Session Manager.
Normal DECterm diagnostics are still enabled by defining a
logical name DECW$TERMINAL_OUTPUT to point to a file.
1.4.5.10 Displaying Version Information About DECterm
<MARGIN_NOT>(V1.1)
For VMS DECwindows Motif Version 1.1, when you select On
Version from the Help menu, a window displays the following
information instead of the current version and copyright
information:
" 1 About DECterm
1.2.4 On Version
To display copyright and version information about DECterm,
choose On Version from the Help menu.
Additional topics :
. Overview of DECterm
"
To display the current version and copyright information,
select About DECterm under the Topic window.
This problem will be corrected in a future version of VMS
DECwindows Motif.
1.4.5.11 Keyboards and Languages
V1.1 The following information is specific to DECterm keyboards
and languages:
o To start a compose sequence on an LK201 keyboard, you
must press Compose+space bar. The Compose key is a
modifier and is used like a Shift key.
o Keyclick Volume, Auto Repeat, Keyboard Type (national
keyboards), Keyboard Usage mode (data processing
/typewriter mode), and Caps Lock/Shift Lock should be
changed by selecting Keyboard... from the Options menu
General User Release Notes 1-11
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
in the Session Manager on a workstation-wide basis,
instead of through DECterm.
o National Replacement Character Sets (NRCS) are selected
from 7-Bit NRCS Selection... on the Options menu in
DECterm. This selection is independent of both the
keyboard dialect and the keyboard usage mode. For
example, you must change both the Session Manager and
DECterm options to use the French NRCS with the French
keyboard.
o When the keyboard becomes locked (for example, when
the input silo is full), the bell rings in DECterm for
each character that is entered until the lock condition
is cleared. On VT320, VT330, and VT340 terminals, the
Keyclick Volume option is disabled.
1.4.5.12 Monitor Screen Width Determines Default Font Size
V1.0 There are three font sets available for 100 dpi monitors:
100, 140, and 180 decipoint fonts. When a 100 dpi monitor
with a physical screen width of less than 325 millimeters
is used (approximate screen width of a 15-inch monitor),
the 140 and 100 decipoint fonts are selected, respectively,
for the Big and Little font sets. If the physical screen
width is larger than 325 millimeters, then the 180 and 140
decipoint fonts are used.
To use the smaller font set on a small monitor, place the
following commands in the DECW$TERMINAL_DEFAULTS.DAT file:
DECW$TERMINAL.main.terminal.littleFontSetName:
-DEC-terminal-*-r-*--*-100-100-100-c-*-*-*
DECW$TERMINAL.main.terminal.bigFontSetName:
-bitstream-terminal-*-r-*--*-140-100-100-c-*-*-*
1.4.5.13 Nohangup and Virtual Terminal Support
V1.0 The Pseudoterminal Driver used by DECterm for terminal
creation does not inhibit asynchronous system trap (AST)
notification when you enter the SET TERMINAL /NOHANGUP
command; therefore, the /NOHANGUP qualifier is no longer
supported in DECterm. In previous releases, this feature of
the driver was often used for directing debugger output to
a separate window.
1-12 General User Release Notes
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
The driver also no longer supports the TT2$M_DISCONNECT
bit that is used to cause a created process to establish a
virtual terminal on creation. Therefore, DECterm does not
inherently offer virtual terminal support.
However, you can simulate /NOHANGUP and virtual terminal
support by entering the following command:
$ CREATE/TERMINAL/NOPROCESS [/DEFINE=XXX]
This command creates a DECterm with no associated process
but with a logical name of "XXX" that points to the
terminal. This technique permits output to be directed
to a separate DECterm other than the one in which the
application is running. To redirect output, enter the
following commands:
$ DEFINE /USER DBG$INPUT xxx:
$ DEFINE /USER DBG$OUTPUT xxx:
$ RUN /DEBUG application.exe
To establish a session that uses a virtual terminal, enter
the following command (note that the /DEFINE qualifier
is not required), establish focus to the newly created
DECterm, press Return and log in:
$ CREATE/TERMINAL/NOPROCESS
1.4.5.14 DECterm PC Interoperability Restrictions
V1.1 The following interoperability restrictions apply when
using DECterm on a PC system:
o The DECterm window is not sized properly on the PC
screen. Initially, the DECterm window is located
partially off the screen and is larger than the PC
screen. You must manually center and resize the window.
To make the window fit on the screen, choose Window...
from the Options menu. Select Condensed Font (132
columns) and click on the OK button. To save the change,
select Save Options from the Options menu.
o When the Backspace toggle button is enabled, pressing
the backspace key produces no response on the PC system.
To prevent this problem, select the Delete setting for
this toggle button.
General User Release Notes 1-13
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
o The Comma Key Sends (,<) option does not work on the PC.
Pressing the Comma key produces a comma, but pressing
Shift/, produces the number 9.
To prevent this problem, select the Comma Key Sends (,,)
option of this toggle button.
o The Tilde Key Sends ESC option does not work on the PC.
When this option is enabled, pressing the Tilde (~) key
does not operate as an escape key.
To prevent this problem, select the Tilde Key Sends (`~)
option of this toggle button.
o DECterm does not support function, editing, and keypad
keys on non-LK201 keyboards. This is a problem for PC-
based and MAC-based X servers. These servers do not
generate all the KEYSYM functions the LK201 supports and
not all DECterm functions are accessible. For example,
you cannot run EDT in screen mode from DECterm if you
are not using an LK201 keyboard.
You might not be able to run programs that depend on
those keys if your keyboard does not include certain
LK201 keys. There are, however, some functional
equivalents for these keys. For example, EDT has a
line editing mode in which commands can be entered in
alphanumeric form rather than with function keys.
If a program requires function keys, you can manually
enter the escape sequences for the keys. For example,
press <ESC>Ow for the KP7 key and press Ctrl+3 or Ctrl+[
for the escape function. The escape sequences for each
key are listed in the DECterm Text Programming Manual.
1.4.5.15 ReGIS and SIXEL
V1.1 Inadequate initialization and memory leaks have been
corrected for DECterm graphics. DECterm should not
fail when displaying ReGIS and SIXEL images. Displaying
these images, or entering VTX, should not terminate the
controller.
1-14 General User Release Notes
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.5.16 ReGIS Locator Report
V1.0 When DECterm sends a ReGIS locator report in response to
the R(P(I)) command, or in multiple input mode, and the
locator position is outside the addressable area, DECterm
sends a locator report with the coordinates omitted. For
example, press the A key to generate the report:
A[]<CR>, where <CR> is a carriage return (ASCII code 13).
1.4.5.17 /PROCESS=procnam Fails if No Process With Default Name
V1.0 When a new process is created, it is assigned a default
name that is the same as the user name. If there is no
process with the default name and a DECterm is created with
the /PROCESS=procnam switch, the new process will have the
default process name rather than the specified one. If the
/PROCESS=procnam qualifier specifies a process name that is
already in use, creation of the DECterm will succeed, but
creation of the process will fail.
The DCL command CREATE/TERMINAL returns the error message:
Duplicate process name
1.4.5.18 Queued Printing Requires Name in File Field
V1.0 The Queued Printer feature in the Printer Options dialogue
box queues files to print only if you enter a file name in
the file name entry box. A file with the name specified in
the file field is generated in SYS$LOGIN whenever printing
is selected with the Queued Printing option enabled.
1.4.5.19 Screen Print Services
V1.1 To use screen print services to a port device, you must
have read and write privileges. You cannot use screen
print by allocating the device, since the controller task
requires access to the device. Set the device to WORLD:RW.
To use the printer port on a VAX 3100, the following
command must be entered from a privileged account or
included in the system startup file:
$ SET PROTECTION=WO:RW TTA3:/DEVICE
General User Release Notes 1-15
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.5.20 Simultaneous Multiple Language Performance-Resource
Demanding
V1.0 DECterm is a multithreaded application that permits
creating multiple DECterms from a single client task called
a controller. The controller is started automatically when
the first DECterm is requested. A controller supports only
one language at a time. For simultaneous multiple language
support, an additional controller must be started for each
language (and one for each display, if the target device is
multihead). Controllers are resource demanding, and optimum
performance in a multiple-language environment requires
additional resources.
1.4.6 LinkWorks
This section contains information about LinkWorks Services.
1.4.6.1 Application Identifier Name
V1.1 In the previous release of LinkWorks, the application
identifier name was omitted from the Source and Target
portions of the Complete Link... dialog box. The
application identifier name is supplied for VMS DECwindows
Motif Version 1.1.
1.4.6.2 Application Startup Error
V1.1 In the previous release of LinkWorks, the following
message was displayed when a LinkWorks path was followed
by selecting Step Forward from the Link menu:
Application startup error
With VMS DECwindows Motif Version 1.1, the message is no
longer displayed when following a LinkWorks path.
1.4.6.3 Work-In-Progress Box
V1.1 When you select the Go To or Visit operations from the
Link menu, an application is invoked to display and edit
the destination of the link. If the application is already
running, the destination object appears immediately. If the
application has to be started, display of the destination
object might be delayed because of the need to start the
application. This delay might be up to a minute or more
depending on the application, the system resources, and the
system activity.
1-16 General User Release Notes
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
With VMS DECwindows Motif Version 1.1, a Work-In-Progress
box appears for a lengthy response to a LinkWorks
navigation request. This box contains an OK button, which
you can press to dismiss the box. If you do not dismiss
the box, it automatically disappears when the navigation
request is completed.
1.4.7 Mail Restrictions and Problems
V1.0 The following problems exist in Mail:
o The XUI Window Manager does not automatically set input
focus to windows when they are mapped. You must click on
each window to get input focus.
o The next and previous arrow buttons in the Read window
do not dim at the end or beginning of the folder,
respectively. They are ineffective if selected.
o Use of the Message button in the Read window to scroll
through a large message can be very slow.
o Folders and Drawers with links are not highlighted in
the paned interface. LinkWorks operations, however, can
still be performed on these items.
o Performance of the text widget in the Create-Send window
can be degraded if the word wrap option is turned on. To
enhance performance, turn off the word wrap option.
1.4.8 Paint
This section contains information about the Paint
application.
1.4.8.1 Enhancing the Performance of Some Paint Operations
V1.0 On GPX systems, Paint might appear slow even with basic
operations such as drawing a brush stroke. The reason is
that the pixmap is being swapped into the pixmap memory in
order to paint the object. If Paint performance is slow,
click on the Pencil tool and draw a point in the image
area. This should improve performance following the initial
Pencil click.
When editing images (especially color images), you can
resize the image area using the Picture Size... entry from
the Options menu. Resizing to the least possible image area
significantly reduces the amount of pixmap memory required.
General User Release Notes 1-17
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.8.2 Editing Color Images
V1.0 When editing color images, all drawing operations occur in
the current drawing color. You can determine the current
color only if the Palette dialog box is visible. The
current drawing color is highlighted in the Palette dialog
box.
In addition to selecting a different color from the Palette
dialog box, you can use the dropper tool to pick up a color
from the canvas. The change in the current drawing color is
reflected in the Palette dialog box.
1.4.8.3 Private Colormaps
V1.1 If your workstation does not have sufficient colormap
entries to view or edit a color image, Paint creates
a private colormap. When this happens, the Paint image
retains its colors, but the colors on the rest of the
workstation are modified. To restore the colors to their
original values, give another window input focus by
clicking on it using the default window manager focus
policy.
For more information about changing focus and colormaps
with the Window Manager, see the VMS DECwindows Motif
User's Guide or the OSF/Motif Programmer's Guide.
1.4.8.4 Saving a Paint File
V1.0 Saving a Paint file creates an empty file along with the
saved picture file. The latest version of the output file
is the saved picture. The previous version is the empty
file. This empty file can be deleted.
1.4.9 Print Screen
This section contains information about the Print Screen
application.
1.4.9.1 Keyboard Mnemonics Not Implemented
V1.0 Keyboard mnemonics have not been implemented in this
version of Print Screen.
Operation of Print Screen is possible through keyboard-
traversal key sequences and by using the mouse.
1-18 General User Release Notes
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.9.2 Options Menu
V1.0 The Options menu item has the following limitations:
o The PostScript page size options are not functional in
this release.
o The OK, Cancel, and Help buttons on the PostScript
options and SIXEL Options dialog boxes might appear
off center.
1.4.9.3 Print Orientation Option-Not Functional
V1.0 The Print Orientation (with Portrait and Landscape
settings) option has been added to Print Screen, however,
it is not yet functional.
1.4.9.4 Print Screen Default Icon-Large
V1.0 The Print Screen application does not have its own
distinctive icon and does not support icon sizes other
than large.
As a result, the icon is the default Motif icon of four
squares. If you attempt to customize icon size, only a
portion of this icon is viewable.
1.4.9.5 Queue Options Dialog Box
V1.0 The Queue Options dialog box has the following limitations.
o The settings for the options listed in the Queue Options
dialog box do not operate correctly. You should not
change the settings since most of them do not work. In
previous versions of DECwindows, the Options... button
was disabled because of this problem.
The only supported options are to select a queue and
then to select the OK or Cancel buttons.
o Regardless of language implementation, the title of
the print widget always appears in the English language
as Queue Options and is not translated into the local
language.
General User Release Notes 1-19
General User Release Notes
1.4 VMS DECwindows Motif Application Notes
1.4.9.6 Reduce Only Setting-Not Functional
V1.0 The Reduce Only radio button in the Fit-To-Paper option is
not yet functional.
1.4.9.7 Resource Values-Changed
V1.0 The resource values in the file DECW$PRINTSCREEN.DAT now
are identical to the labels on the associated buttons.
This permits the file to be read and edited by users in any
locale.
This resulting incompatibity makes existing saved values in
DECW$PRINTSCREEN.DAT unusable to Print Screen. To use these
saved values, print out the old file for reference and then
select and save the desired options using the Print Screen
user interface.
1.5 DECW$CDPLAYER Enhanced
V1.1 With DECwindows Motif Version 1.1, the DECW$CDPLAYER
application has been enhanced to improve the user interface
due to the Motif widgets and UIL.
To use the new version, you must copy DECW$CDPLAYER.UID
and DECW$CDPLAYER.DAT to either DECW$USER_DEFAULTS or
DECW$SYSTEM_DEFAULTS.
The DECW$CDPLAYER application requires PHY_IO and
DIAGNOSE privileges to operate the compact disk player
hardware. Either your process or the image must have these
privileges.
1.6 Motif Window Manager (Mwm) Notes
This section contains information about the VMS DECwindows
Motif Window Manager.
1.6.1 Configuration File
V1.0 The configuration file DECW$MWM_RC.DAT defines how the
Window Manager uses the function keys. Most of the
accelerators use the form Alt key (or Compose Character
key) and function key, for example Alt+F7. If any
application needs to use these keys, you must either
comment them out by placing an exclamation point (!) at
the beginning of the line or create new keyboard bindings.
Then change Mwm*keyBindings:DefaultKeyBindings in the Mwm
resource file to point to the new bindings.
1-20 General User Release Notes
General User Release Notes
1.6 Motif Window Manager (Mwm) Notes
With the Motif binding, you can nolonger use the
Alt+spacebar or the Compose Character+spacebar to bring
up the Window menu because it interferes with Compose
Character sequences in DECterm. Use Shift+F11 to bring
up the Window menu.
To re-enable Alt+space, select the appropriate option in
the Workspace Options dialog box and apply the current
settings. You can also remove the comment for the default
button bindings for Alt+space in the DECW$MWM_RC.DAT file.
1.6.2 DECwindows XUI Applications
V1.0 The resource Mwm*useDECMode allows earlier versions of
DECwindows XUI applications to behave correctly with the
Motif Window Manager. In particular, this resource is used
to control focus, window placement, multiline icons, and
the window's initial state (normal or minimized).
1.6.3 Icons
V1.0 Icons with bitmaps of depth greater than 1 are no longer
supported. The Window Manager reports a warning only if
the Mwm*ICCCMCompliant resource is set to TRUE and it then
attempts to display the icon. This resource is turned off
by default.
1.6.4 International Keyboard Performance Improvement
V1.1 With VMS DECwindows Motif Version 1.1, performance is
improved for international keyboards when you customize
Mwm. Select the For International Keyboards option, or the
Ignore The Mod Keys option from Workspace Options, or set
the resource Mwm*ignoreModKeys to TRUE. Mwm only ignores
the Mod keys that are used by the current keyboard. Mwm
also automatically updates all the window bindings if the
you change the keyboard using the Keyboard Options from the
Session Manager window.
In Version 1.0, if the Mwm*ignoreModKeys resource was
set, Mwm would ignore all the Mod keys, regardless of
the current keyboard. This degradedthe response to the
keyboard and mouse. For backward compatibility, you can
still achieve this by setting the Mwm*ignoreAllModKeys
resource to TRUE.
General User Release Notes 1-21
General User Release Notes
1.6 Motif Window Manager (Mwm) Notes
1.6.5 Known Problems with Motif Window Manager
This section contains information about known problems with
the Motif Window Manager.
1.6.5.1 Accelerators for Icon in Icon Box
V1.0 When using an icon box, the accelerators on an icon's
Window menu do not work unless you display that menu.
Instead, accelerators always apply to the icon box.
1.6.5.2 Application Started As Icon
V1.0 If an application is started as an icon before the Window
Manager is started, the application's Main window is not
minimized when the Window Manager is started. This can
occur when you change X properties relating to icons before
the Window Manager is started or when the Window Manager is
starting. It can also occur if you start an application as
an icon when the Window Manager is restarted after it has
been previously started and is inactive.
1.6.5.3 Color-Related Resources for Monochrome
Monitors-Customizing
V1.0 Mwm does not support full customization of color-related
resources for monochrome monitors in the Options dialog
box. In order to change the colors, you might need to
modify the pixmap resources by directly editing the
DECW$MWM_BW.DAT resource file. For example, to change the
color of the active window's title background, you must
change the Mwm*activeBackgroundPixmap resource. Some values
include 25_foreground, 50_foreground, 75_foreground, and
unspecified pixmap.
In addition, by default, the title text is created with a
white background. To use the same color as the rest of the
title, set the Mwm*cleanText resource to FALSE.
1.6.5.4 Customizing Colors on 4-Plane Displays
V1.1 There are a limited number of colors on a 4-plane display.
You might not be able to modify colors with the color mix
widget if the system usurps the color entries.
To correct this problem, distribute as many of the colors
as possible between the screen, window, border, icons, and
pointer.
1-22 General User Release Notes
General User Release Notes
1.6 Motif Window Manager (Mwm) Notes
1.6.5.5 Customized Icon Placement in Icon Box
V1.0 If you customize the icon placement of applications by
specifying iconX and iconY resources in the application's
resource file, the placement is ignored if you are using an
icon box.
1.6.5.6 DECwindows XUI Modal Dialog Boxes
V1.0 There are several problems with DECwindows XUI modal dialog
boxes.
If an application displays a dialog box before the
main window is visible, the modal dialog box might be
hidden behind the main window. It then appears that the
application is hung. In this case, you must terminate the
application.
If you dismiss a modal dialog box, then the focus might not
automatically revert to its parent.
1.6.5.7 Icon Box-Customizing
V1.0 To customize the position and size of an icon box, move and
resize the icon box and then select Apply Current Settings
from the Workspace Options menu.
1.6.5.8 Icon Box Colors on Monocrome and Gray-Scale Systems
V1.0 Customizing the icon box background color for monochrome
and gray-scale monitors does not work properly unless you
have a multihead system with different monitor types. You
cannot change the default icon box background color for
monochrome and gray-scale systems.
1.6.5.9 Icon Box Moved Off Screen
V1.0 If you move the icon box to the edge of the screen and
then resize it using the keyboard, you can move it off
the screen. To retrieve the icon box, press Alt+Tab until
you reach that window and then press Shift Escape (F11) to
bring up the Window menu for that window. Then you can move
the window back onto the screen.
1.6.5.10 Icon Title Truncated
V1.0 The text for inactive icons is truncated to the size of
the icons. Currently, there are two methods to view the
complete text for an icon. First, you can make the icon
active. Second, you can customize your icons using the Icon
Options menu item and change the width of the icons.
General User Release Notes 1-23
General User Release Notes
1.6 Motif Window Manager (Mwm) Notes
1.6.5.11 Invoking Help for Mwm
V1.1 If you invoke Help for Mwm on screen 1 of a multiscreen
system, Help fails and generates an error.
To correct this problem, invoke Help for Mwm on screen 0
only. This problem will be addressed in a future update.
1.6.5.12 Multihead Systems-Customizing Colors
V1.0 If you have a multihead system with different monitor types
(color, monochrome, or gray-scale), you can customize the
colors only by using the Options dialog box on the monitors
that match the type of your main monitor (screen 0). To
customize the other monitors, you must either log into
another system with that monitor type or directly edit the
resource files.
1.6.5.13 Multiline Icon Text Not Centered
V1.0 The Window Manager does not center all the lines of a
multiline icon title.
1.6.5.14 Multiscreen Systems With Mixed Monitors
V1.1 If you have a multiscreen system with mixed monitor types,
such as one color and one monochrome monitor, the Window
Manager dialog boxes might not appear with the correct
colors on the second screen. For example, if screen one is
a monochrome monitor, the text might not be readable.
To correct this problem, you should modify the colors for
screen 0 to create enough contrast between the foreground
and background colors so that they can be interpreted
as black-on-white or white-on-black for the monochrome
monitor.
This will be fixed in a future release in conjunction with
the R5 intrinsics.
1.6.5.15 Next Window on Multihead System
V1.0 On a multihead system, if you continuously cycle the
windows using Ctrl+MB1 or by selecting Next Window,
eventually the cycling does not work properly.
1-24 General User Release Notes
General User Release Notes
1.6 Motif Window Manager (Mwm) Notes
1.6.5.16 Restored Window Icons Not Displayed
V1.0 If you are not storing icons in an icon box, the icons for
the restored windows are not displayed on the screen.
1.6.5.17 Truncated Icon Title in Vertical Icon Box
V1.0 If the icon box is displayed vertically with only one
column, then when an icon is selected, the active icon
label is truncated on the right side.
1.6.5.18 Window Menu on Icon-Displaying with Keyboard
V1.0 If you bring up the Window menu on an icon by highlighting
the icon and pressing F4, the Window menu is not posted and
might not work properly.
1.6.6 Motif Window Manager-Restarting
V1.0 The file SYS$MANAGER:DECW$MWM.COM is used for information
on how to restart the Window Manager. By default, it is
always restarted on all the screens that are available.
However, if you are not starting the Window Manager from
the Session Manager, then the Window Manager might not have
been initially started on all the available screens. You
can modify this file to change how the window is restarted
for your system.
In the future, the restart method might change to
dynamically check which parameters were passed to the
Window Manager when it was initially started.
1.6.7 New Mwm Default Font
V1.1 The default font for Mwm is now the same as the default
font for the DECwindows toolkit. This font is not as
condensed and is more readable. You can change back to the
Version 1.0 font by modifying DECW$MWM.DAT and replacing
Menu-Medium with Helvetica-Bold.
1.7 Public Profiles for Layered Products
V1.0 Layered products that provide a DECwindows interface
can use the Create Public Profile File command to
create a profile file that ships with the layered
product and is installed when the system manager
installs the layered product. The file can be placed in
SYS$COMMON:[VUE$LIBRARY.USER] directory. Product-specific
profile files should be named by appending the product
General User Release Notes 1-25
General User Release Notes
1.7 Public Profiles for Layered Products
prefix to the name PROFILE.VUE$DAT. For example, the
file CMS$PROFILE.VUE$DAT names a profile containing CMS
definitions. Any command files or other related files can
also be placed in SYS$COMMON:[VUE$LIBRARY.USER] and should
be referenced as VUE$LIBRARY in the profile.
For more information on using the Create Public Profile
File command, refer to the VMS DECwindows Motif User's
Guide.
1.8 Session Manager and FileView
This section contains information about the Session Manager
and FileView.
1.8.1 Change in Bindings for Lists in FileView and Session
Manager
V1.1 With VMS DECwindows Motif Version 1.1, the list windows in
FileView and the Session Manager are more consistent with
the default Motif toolkit for keyboard and mouse actions.
The file lists are located in the main FileView window
and the Work in Progress box. Actions that have changed
include:
o Selecting multiple discontiguous files
o Using Ctrl+MB1 instead of Shift+MB1
1.8.2 EWS Users Must Upgrade to EWS Version 1.0A
V1.0 VAXELN Window Server (EWS) users must upgrade to EWS
Version 1.0A to use DECwindows Motif Version 1.0. If you
end a session while using EWS Version 1.0, the server
crashes. The login box does not appear unless the server
is explicitly restarted.
1.8.3 FileView DELETE Functionality-Changed
V1.0 Previously when you deleted a file using FileView and you
specified the file with a semicolon at the end (such as
SAMPLE.DAT;), FileView deleted all versions of the file.
This function was different from the DCL command DELETE,
which only deletes the latest version of a file that ends
with a semicolon.
1-26 General User Release Notes
General User Release Notes
1.8 Session Manager and FileView
In DECwindows Motif, if you use FileView's DELETE command
and you specify a file with a semicolon at the end,
FileView now deletes only the latest version of the file.
1.8.4 FileView Starts Detached Processes by Default
V1.1 With VMS DECwindows Motif Version 1.0, users often exceeded
their process quota because the default was SUBPROCESS.
With VMS DECwindows Motif Version 1.1, the default process
type for many applications started by FileView and the
Session Manager is DETACHED. The implication of this change
is that the SYS$MANAGER:SYLOGIN.COM and SYS$LOGIN:LOGIN.COM
command procedures are executed during application startup.
Extensive login command procedures degrade application
startup.
To enhance application startup, you can conditionalize the
SYLOGIN.COM and LOGIN.COM command procedures to execute
only the commands required for application startup.
Commands that should be executed include the redefinition
of DECW$USER_DEFAULTS, if present, and other logical name
definitions referenced in a DECwindows application. You can
add the following lines to the SYLOGIN.COM and LOGIN.COM
files after those application startup commands.
$ mode = f$mode()
$ tt_devname = f$trnlnm("TT")
$ session_mgr_login = (mode .eqs. "INTERACTIVE") .and.-
(f$locate("WSA",tt_devname) .ne. f$len(tt_devname))
$ session_detached_process = (mode .eqs. "INTERACTIVE") .and.-
(f$locate("MBA",tt_devname) .ne. f$len(tt_devname))
$ if session_mgr_login .or. session_detached_process then exit
Applications continue to run even if these lines are not
added to the SYLOGIN.COM and LOGIN.COM files.
1.8.5 User Default Resource File
V1.0 During Session Manager startup, the user default resource
file DECW$XDEFAULTS.DAT and all session resource files
are now read from the DECW$USER_DEFAULTS: directory. This
is a change from previous versions when the resource file
was read from the SYS$LOGIN: directory. By default, the
DECW$USER_DEFAULTS: directory points to the SYS$LOGIN:
directory, but you can change this by defining the logical
General User Release Notes 1-27
General User Release Notes
1.8 Session Manager and FileView
name DECW$USER_DEFAULTS in your LOGIN.COM or DECW$LOGIN.COM
file.
1.8.6 Session Manager and FileView-Problems
V1.0 The following are known limitations for Session Manager and
FileView:
o You must reselect Autostart selections after upgrading
to DECwindows Motif Version 1.0. Previous Autostart
customization is not used in this version of DECwindows
Motif.
o Some dialog boxes include FileView in the title bar and
use FileView icons, even though they are invoked from
the Session Manager.
o The function of creating a new view by pressing the
shift key while clicking MB1 on a directory is not
implemented in this version. Use the New View... menu
item to create a new view.
1.8.6.1 Input Focus Change When Starting Private Logo
V1.0 If you are logging into DECwindows and using a private logo
command file, input focus might revert unexpectedly to the
Username field when the private logo starts up.
1.8.7 Session Manager Process-Stopping
V1.0 Stopping the Session Manager process can have serious
consequences for nonprivileged workstation users.
DECwindows must be restarted to avoid the following
problems:
o A nonprivileged user cannot start a new Session Manager
or create a new login box.
o If the session is paused, the Pause cover window is
deleted and unauthorized users can access windows on
that workstation.
o The workstation can also become unusable if the Session
Manager process is terminated by the job controller (for
example, when the user's access hours, which might be
from 8 a.m. to 5 p.m., are exceeded).
1-28 General User Release Notes
General User Release Notes
1.8 Session Manager and FileView
One workaround for the problem is to restart DECwindows
on each workstation in a batch job that runs during
off-hours.
If you stop the Session Manager process be sure and restart
(if you have system manager privileges) DECwindows with the
following command:
$@SYS$MANAGER:DECW$STARTUP RESTART
1.9 Troubleshooting Information
V1.1 The VMS DECwindows Motif Version 1.1 kit contains a file
that explains some of the common problems that you might
encounter while using VMS DECwindows and provides general
troubleshooting techniques. The name of this file is
TROUBLESHOOTING_GUIDE.TXT and it can be found in SYS$HELP.
1.10 Version Checking Command Files
V1.0 The VMS DECwindows Motif Version 1.0 kit contains version
checking command procedures that layered products can use
during their installation procedure. The following three
files are placed in the SYS$UPDATE directory during the
installation of VMS DECwindows Motif Version 1.0:
o DECW$GET_IMAGE_VERSION.COM
A command procedure that extracts the image
identification string from an image and places it into a
user-defined symbol.
o DECW$COMPARE_VERSIONS.COM
A command procedure that compares two image
identification strings and assigns a value to a user-
defined symbol with the possible results:
- Facility codes do not match.
- Identifiers are the same.
- Second identifier is older than the first.
- Second identifier is newer then the first.
o DECW$VERSIONS.COM
General User Release Notes 1-29
General User Release Notes
1.10 Version Checking Command Files
A convenient procedure that assigns symbols for the
version of DECwindows (from Xlib), the version of the
transport (from transport_common), the version of the
server (from the dix shareable), the version of Xlib,
the version of the toolkit (from DECW$XMLIBSHR.EXE), the
version of the applications (from VUE$MASTERSHR.EXE),
and the version of the programming support (from
DECW$UILMOTIF.EXE).
1-30 General User Release Notes
2
_________________________________________________________________
Programmer Release Notes
This chapter contains information about VMS DECwindows
Motif Version 1.1 that is of interest to programmers.
2.1 Version 1.1 Specific Release Notes
The release notes in this manual are cumulative from VMS
DECwindows Motif Version 1.0 and still apply to Version
1.1. The following sections contain programmer release
notes that pertain specifically to VMS DECwindows Motif
Version 1.1:
o Section 2.2, Adding POSIX Support to DECwindows
Transports
o Section 2.4.1, Controller Communication and Startup
o Section 2.4.2, DECterm Controller MUTEX Hang Bug
o Section 2.4.3, DECterm Logical Names
o Section 2.4.3.1, DECterm Window Positioning
o Section 2.6.3.10, VAX Format Toolkit Bindings
o Section 2.9, New OSF/Motif Examples
o Section 2.10.1, DXmCSText Resources to Specify Input
Method
o Section 2.10.2, DXmCSText With the XmNblinkRate Resource
o Section 2.10.3, DXmCSTextSetSelection Format Change
o Section 2.10.4, DXmHelpSystem Routine Status Value
Changes
o Section 2.10.5, DXmNlayoutDirection
o Section 2.10.6, SVN and Compound String Text Widget
Translations
o Section 2.10.8, SVN Horizontal Separator Line
Programmer Release Notes 2-1
Programmer Release Notes
2.1 Version 1.1 Specific Release Notes
o Section 2.11.1, DXmFormSpaceButtonsEqually Restriction
o Section 2.11.2, UIL Compiler
o Section 2.15, X Image Extension (XIE)
o Section 2.16.1, Xlib Client Side Library
o Section 2.16.3, XSelectAsyncEvent and XSelectAsyncInput
Routines
2.2 Adding POSIX Support to DECwindows Transports
V1.1 DECwindows-specific transports require code modifications
to support POSIX fork() requirements. If you have written
a specific transport and also plan to implement POSIX
support, you must make the required changes to your
transport source code. This note describes the required
changes.
2.2.1 The POSIX fork() Routine
V1.1 The POSIX fork() routine creates a copy of the currently
executing process, completely cloning P1 and P0 space. Both
the original process (the parent) and the new process (the
child) proceed on identical paths from that point.
When using the POSIX fork() routine, data is not
duplicated because:
o Files that are not opened through the POSIX file system
are not known to the child.
o Channels that are not shareable or opened through POSIX
are not known to the child.
o The AST queue of the parent is not copied to the child.
Because of these limitations, the POSIX implementation
has placed certain demands on protected shareable images,
including DECwindows specific transports:
o It is the responsibility of each protected shareable
image to acknowledge that it can be forked.
o Based on how the child process should function, each
protected shareable image must handle any cleanup or
duplication of its own data in a routine called a fork
callback.
2-2 Programmer Release Notes
Programmer Release Notes
2.2 Adding POSIX Support to DECwindows Transports
Specific transports must acknowledge (on the client side)
that they can be forked. The SYS$POSIX_FORK_CONTROL system
service, described in Section 2.2.2, is provided for this
purpose.
Specific transports do not need to perform any cleanup
work.
2.2.2 SYS$POSIX_FORK_CONTROL System Service
V1.1 A new SYS$POSIX_FORK_CONTROL system service was added in
VMS Version 5.5 that registers that a protected shareable
image can be forked. It also registers the address and
parameter to a fork callback.
The execution of the POSIX fork() routine fails if the
application has been linked with, or has activated, a
protected shareable image that has not called SYS$POSIX_
FORK_CONTROL.
Therefore, in your specific transport's open routine, add a
call to the SYS$POSIX_FORK_CONTROL system service similar
to the following:
$ POSIX_FORK_CONTROL(CNTRL = POSIX$C_SETUP_CALLBACK,
WHEN = POSIX$M_CALL_IN_CHILD,HANDLER = posix_fork_cb);
In this example, the CNTRL parameter indicates that the
image is setting up a callback so that it can be forked,
the WHEN parameter tells when to call the fork callback,
and the HANDLER parameter gives the address of the fork
callback.
Other parameters that are not used in this example allow
for a parameter to be passed to the callback routine,
and to specify the access mode (maximized to that of the
caller).
2.3 DEC CDA Base Services
This section contains information about the CDA Toolkit.
Programmer Release Notes 2-3
Programmer Release Notes
2.3 DEC CDA Base Services
2.3.1 DDIF$VIEWSHR Interaction Problems with XUI Applications
V1.0 If you have an existing, working DECwindows XUI application
that is linked directly against DDIF$VIEWSHR and you are
creating CDA Viewer widgets by fetching them as user-
defined widgets from a DRM hierarchy, the fetch fails after
you install DECwindows Motif.
The problem occurs only if your application satisfies all
of the conditions stated previously. The problem does not
occur if you use C calls to create CDA Viewer widgets; the
problem also does not occur if you are not linked directly
to DDIF$VIEWSHR (for example, if you use LIB$FIND_IMAGE_
SYMBOL to load DDIF$VIEWSHR).
If possible, you should upgrade your application to use the
Motif DDIF$VIEWSHR to avoid this problem.
2.3.2 Function Prototypes and Data Type Definitions
V1.0 New function prototypes and data type definitions are now
available when using DEC CDA Base Services.
C include files, which define generic, platform-independent
data types and prototypes, are now available for use when
you are referencing CDA access, user-defined, converter,
or Viewer routines. Use of these files is optional but
strongly recommended to reduce the possibility of argument
or data type mismatches that can result from programming
errors and to improve the portability of CDA applications
among platforms.
The new C include files are listed as follows:
cda$typ.h Defines new, generic data types
cda$ptp.h Prototype definitions for CDA access
routines
dvr$decw_ptp.h Prototype definitions for DECwindows CDA
Viewer routines
dvr$cc_ptp.h Prototype definitions for character cell
CDA Viewer routines
For more information, refer to the Reference Manual in the
DEC CDA Base Services documentation set.
2-4 Programmer Release Notes
Programmer Release Notes
2.3 DEC CDA Base Services
2.3.3 New Item Change Lists for Aggregates
V1.0 DEC CDA Base Services has added new item-change lists for
DDIF$_LW1, DDIF$_LL1, and DDIF$_GLA aggregates.
When reading documents with the CDA access routines
and with the DDIF$_INHERIT_ATTRIBUTES processing option
turned on, applications can now distinguish between items
explicitly present and those present by inheritance in the
DDIF$_LL1, DDIF$_LW1, and DDIF$_GLA aggregates.
To permit programmers to do this, the DEC CDA Base Services
has added aggregate items DDIF$_LW1_ITEM_CHANGE_LIST,
DDIF$_LL1_ITEM_CHANGE_LIST, and DDIF$_GLA_ITEM_CHANGE_
LIST to aggregates DDIF$_LW1, DDIF$_LL1, and DDIF$_GLA
respectively. The item change lists specified by these
items will enumerate the items that were explicitly
specified in the particular aggregate.
2.3.4 User Get or Put Routine Parameter
V1.0 The user get or put routine parameter is no longer
referenced by DDIF Front and Back Ends.
Applications that call CONVERT can provide their own user
get or put routines to perform stream I/O. Applications
provide their own get or put routines by using the item-
list items CDA$_INPUT_PROCEDURE or CDA$_OUTPUT_PROCEDURE.
They can also specify an associated parameter value (via
item-list items CDA$_INPUT_PROCEDURE_PARM and CDA$_OUTPUT_
PROCEDURE_PARM) to be passed to the get or put routine.
Using the DEC CDA Base Services shipped with VMS Version
5.4, applications that converted to or from DDIF or DTIF
format and that provided user get or put routines were
required to pass the actual value of the parameter in the
item list.
In VMS DECwindows Motif Version 1.0, applications must
instead encode the associated parameter item as the
address of a longword containing the value that is
actually to be passed to the get or put routine. In other
words, applications must provide an additional level of
indirection, since the DDIF Front and Back Ends will
dereference the item-list item before calling the user
get or put routine.
Programmer Release Notes 2-5
Programmer Release Notes
2.3 DEC CDA Base Services
To be consistent with this approach, user-written
Converter Front and Back Ends that support stream I/O
should dereference the parameter item before passing it
to the input or output routine. (Stream I/O support is
provided via the items CDA$_INPUT_PROCEDURE and CDA_$INPUT_
PROCEDURE_PARM or CDA$_OUTPUT_PROCEDURE and CDA$_OUTPUT_
PROCEDURE_PARM as passed to the Converter entry points
domain$READ_format and domain$WRITE_format)
Applications that call the CDA Viewer routine DvrViewerFile
also require similar recoding if they provide callback
routine and parameter arguments to DvrViewerFile.
2.4 DECterm
This section contains information about DECterm programming
issues.
2.4.1 Controller Communication and Startup
V1.1 With VMS DECwindows Motif Version 1.1, the mailbox name for
task-to-task communication is stored by using a root window
property instead of a logical name. No more DECW$TERMINAL_
MAILBOX_* system logical names are created. Also, the
DECterm controller is no longer installed with privileges.
2.4.2 DECterm Controller MUTEX Hang Bug
V1.1 If your terminal windows are hung when you run DECterm
and the DECterm controller is in a MUTEX state, define the
following logical name to stop resource wait from occurring
when the controller is initialized:
$ DECW$DECTERM_CTRL_SSRWAIT = 1
You should only define this logical name when the DECterm
controller is hung in a MUTEX state. Other use of this
logical name can have a negative impact on other parts of
the toolkit.
2-6 Programmer Release Notes
Programmer Release Notes
2.4 DECterm
2.4.3 DECterm Logical Names
V1.1 Table 2-1 describes the logical names that are supported by
DECterm for VMS DECwindows Motif Version 1.1.
Table_2-1_DECterm_Supported_Logical_Names__________________
Logical_Name__________Description__________________________
DECW$DECTERM_CTRL_ Required for controller startup.
OPTIONS
DECW$DECTERM_CTRL_ Defines WSEXTENT quota for
WSEXTENT controller.
DECW$DECTERM_CTRL_ Defines WSQUOTA quota for controller.
WSQUOTA
DECW$DECTERM_CTRL_ Defines PSWAPM quota for controller.
PSWAPM
DECW$DECTERM_CTRL_ Sets SSRWAIT flag for controller.
SSRWAIT
DECW$DECTERM_ Quota values are not checked before a
DISABLE_QUOTA_ terminal is created when this is set
CHECKING to 1.
DECW$DECTERM_MEM_ Monitors memory usage in the
DIAG controller.
Used for diagnostics.
DECW$DECTERM_OUTPUT Defines output for DECterm
controller.
______________________Used_for_diagnostics.________________
2.4.3.1 DECterm Window Positioning
V1.1 A resource has been defined to manage repositioning a
DECterm window when a resize operation forces part of
the window off the screen. If a DECterm window is made
bigger by using the window dialog box or by entering a
SET TERMINAL/PAGE=nn or SET TERMINAL/WIDTH=nn command, the
Controller moves the newly resized DECterm window so that
it can be viewed in its entirety. If you prefer not to move
the DECterm, add the following line to your DECW$TERMINAL_
DEFAULT.DAT file:
DECW$TERMINAL.main.terminal.autoAdjustPosition: off
Programmer Release Notes 2-7
Programmer Release Notes
2.4 DECterm
Another resource is available if the hold screen key is too
slow. Add the following lines to your DAT file:
DECW$TERMINAL.main.terminal.syncFrequency: 1
DECW$TERMINAL.main.terminal.batchScrollCount: 1
Using this resource can affect the performance of the
DECterm window. The actual impact on performance varies
from site to site. You can trade off scrolling speed to
hold-screen response time. A faster hold-screen response
results in a slower scrolling speed. The default values for
these resources are 10 and 0, respectively.
2.5 VMS DECwindows Motif Version 1.1 Based on OSF/Motif Release
1.1.3
V1.0 VMS DECwindows Motif Version 1.0 release was based on the
OSF/Motif Release 1.1.1.
V1.1 VMS DECwindows Motif Version 1.1 release is based on the
OSF/Motif Release 1.1.3.
2.6 DECwindows Toolkit
This section contains information about the DECwindows
Toolkit.
2.6.1 Additional Non-C Language Binding Support for Motif
V1.0 Additional language binding support for Motif is supplied
for three languages: Ada, FORTRAN, and Pascal. The files
are in SYS$LIBRARY and are named DECW$MOTIF.ADA for Ada,
DECW$MOTIF.FOR for FORTRAN, and DECW$MOTIF.PAS for Pascal.
2.6.2 Intrinsics Changes from the Digital Version of MIT X11
Release 3 to MIT X11 Release 4
V1.0 This section describes changes in the Intrinsics from
the Digital version of the MIT X11 Release 3 Intrinsics
(Digital Release 3) to the MIT X11 Release 4 Intrinsics
(MIT X11 Release 4).
2-8 Programmer Release Notes
Programmer Release Notes
2.6 DECwindows Toolkit
2.6.2.1 Changes in Routine Interfaces
V1.0 The following changes occur in routine interfaces:
o The names parameter in XtNameToWidget routine differs
in where to begin matching the widget name in the widget
hierarchy. Digital Release 3 expects the first name
in the qualified name to be the "root" widget. MIT X11
Release 4 expects the first name in the qualified name
to be a child of the root widget.
o Digital Release 3 gets the application shell name from
XtInitialize names parameter; MIT X11 Release 4 does
not (it uses NULL). You will need to break XtInitialize
up into its component parts in order to name the shell
widget.
o Digital Release 3 Intrinsics accept a NULL application
context in XtDisplayInitialize and uses the default
application context; MIT X11 Release 4 does not.
o The XtCancelSelectionCallbackProc parameter has been
deleted from calls to XtGetSelectionValueIncremental
and XtGetSelectionValuesIncremental in MIT X11 Release
4. Applications are expected to recognize a canceled
selection by the fact that the XtSelectionCallbackProc
is called with a type of XT_CONVERT_FAIL.
However, the parameters of the VAX format Intrinsics
routines XT$GET_SELECTION_VALUE_INCR and XT$GET_
SELECTION_VALUES_INCR have not changed. The
XtCancelSelectionCallbackProc parameter is ignored.
2.6.2.2 Changes in Widget Semantics:
V1.0 This section describes changes in widget semantics.
________________________ Note ________________________
Widgets created with XUI low- and high-level routines
will retain the Digital Release 3 behavior even after
the application is relinked.
______________________________________________________
The changes in widget semantics are as follows:
o Parameters to incremental selection callbacks use
a changed passing mechanism. Specifically, in
XtConvertSelectionIncrProc, XtSelectionDoneIncrProc, and
Programmer Release Notes 2-9
Programmer Release Notes
2.6 DECwindows Toolkit
XtCancelConvertSelectionProc, MIT X11 Release 4 passes
the receiver-id argument by reference; Digital Release
3 passes it by value. In XtConvertSelectionIncrProc,
MIT X11 Release 4 passes the max_length argument by
reference; Digital Release 3 passes it by value.
o MIT X11 Release 4 passes additional parameters to event
handlers, widget instance initialization procedures, and
widget set_values procedures. These parameters can be
safely ignored and Digital Release 3 behavior will be
retained. See the specifications for the MIT X11 Release
4 Intrinsics for more information.
o MIT X11 Release 4 requires the setting of a flag in a
class extension record in order to allow gadget children
for a widget class. See the specifications for the MIT
X11 Release 4 Intrinsics for more information.
o MIT X11 Release 4 handles XtSetValues of callbacks
correctly, but Digital Release 3 widget code might
contain a workaround that does not work with the fixed
Intrinsics. If the widget set_values routine compares
the old and new values of a callback field and attempts
to replace the callbacks, you should remove that code.
The Intrinsics now include this function.
o MIT X11 Release 4 does not invoke accelerator actions on
insensitive widgets; Digital Release 3 does.
2.6.2.3 Other Changes
V1.0 This section describes other changes that affect upward
compatibility.
o The information in four Digital Release 3 public .h
files (Convert.h, Translate.h, Selection.h, Event.h)
is now included in the Intrinsic.h file. The files are
retained for upward compatibility. If your application
includes these files, you should replace them with the
Intrinsic.h file instead.
o Four Digital Release 3 public .h files (CompObj.h,
CompObjP.h, WindowObj.h, WindowObjP.h) do not exist
in MIT X11 Release 4. The files are retained for upward
compatibility. For the sake of portability, you should
not use them.
2-10 Programmer Release Notes
Programmer Release Notes
2.6 DECwindows Toolkit
o Additional instance fields have been added to the end
of WMShell and VendorShell instance parts in MIT X11
Release 4. This will affect an application that accesses
fields within shell instance records without using the
DwtResolvePartOffsets method to do so.
2.6.3 Miscellaneous Toolkit Notes, Corrections, and Restrictions
This section contains information about notes,
restrictions, and corrections for the Toolkit.
2.6.3.1 Context-Sensitive Help
V1.0 Context-sensitive help mode can be terminated only by
clicking MB1. There is no keyboard equivalent.
2.6.3.2 Debugging Toolkit Applications-SET BREAK/EXCEPTION
Command
V1.0 If you enter the debugger command SET BREAK/EXCEPTION when
debugging a toolkit application, your application might
stop when the toolkit attempts to activate the shareable
image DECW$DXM_I18NLIB.EXE or DECW$DXM_I18NIOSHR.EXE, which
might not be on your system.
If your application stops, enter the debugger command GO
to continue execution. This is an expected event and the
toolkit has an exception handler in place to handle it.
2.6.3.3 Help Callback Routines
V1.0 Help callback routines invoked through DXmHelpOnContext
should be prepared to accept a NULL callback structure
parameter. DXmHelpOnContext cannot obtain sufficient
information to construct a valid callback structure and
so passes a NULL.
2.6.3.4 Insensitivity Problem
V1.0 The following widgets (and gadgets) do not display dimmed
(greyed) when they are set insensitive:
o XmArrowButton
o XmScrollBar
o XmScale
o XmText
o DXmCSText
Programmer Release Notes 2-11
Programmer Release Notes
2.6 DECwindows Toolkit
2.6.3.5 Intrinsics Key Translator
V1.0 Motif defines an Intrinsics key translator that in turn
translates certain keycodes into Virtual keysyms. See
the entry in the OSF/Motif Programmer's Reference on
VirtualBindings for information on Virtual keysyms.
The set of Virtual keysyms for Digital VMS servers is
listed in Table 2-2.
Table_2-2_Virtual_Keysyms_for_VMS_Servers__________________
OSF_Keysyms___________Digital_VMS_Keysyms__________________
osfCancel: <Key>F11
osfLeft: <Key>Left
osfUp: <Key>Up
osfRight: <Key>Right
osfDown: <Key>Down
osfEndLine: Alt<Key>Right
osfBeginLine: Alt<Key>Left
osfPageUp: <Key>Prior
osfPageDown: <Key>Next
osfBackSpace: <Key>Delete
osfDelete: Shift<Key>Delete
osfUndo: Alt<Key>Delete
osfCopy: Shift<Key>DRemove
osfCut: <Key>DRemove
osfPaste: <Key>Insert
osfAddMode: Shift<Key>F8
osfHelp: <Key>Help
osfMenu: <Key>F4
osfmenu bar: <Key>F10
osfSelect: <Key>Select
osfActivate:__________<Key>KP_Enter________________________
2-12 Programmer Release Notes
Programmer Release Notes
2.6 DECwindows Toolkit
2.6.3.6 Motif Text Widget Translations
V1.0 To implement Digital virtual bindings, it is necessary
for Digital to modify the default XmText and XmTextField
translation manager syntax. Specifically, the following
syntax line is removed:
Shift ~Ctrl ~Meta ~Alt <Key>osfDelete: cut-clipboard()
If you use virtual bindings where the osfCut virtual keysym
is not bound, you will not have any key sequence bound to
the cut-clipboard action by default. To work around this,
you can override the XmText and XmTextField translations in
your DECW$XDEFAULTS.DAT file.
2.6.3.7 Projected Change for XmText Class Widget
V1.0 OSF/Motif Release 1.1 uses XmText class widgets when it
automatically creates text widgets in composite widgets
such as the XmFileSelectionBox widget.
A future release of OSF/Motif could change to create
XmTextField class widgets instead. If your application
manipulates the text widgets of such composite widgets, be
careful to use only routines that work with both XmText
class and XmTextField class widgets. Otherwise, your
application might not work in the future.
2.6.3.8 Shift Lock
V1.0 OSF/Motif Release 1.1 currently treats the Shift Lock key
combination as a modifier. Mnemonics, accelerators, and
certain keys in keyboard traversal do not operate if the
Shift Lock is on.
2.6.3.9 Traversing a Motif Menu Bar with Keys
V1.0 There is a problem with using the keyboard to traverse a
Motif menu bar with servers based upon the Digital Release
3 or earlier. The problem is that keyboard traversal
only works if the mouse pointer is positioned within the
currently pulled down menu.
Programmer Release Notes 2-13
Programmer Release Notes
2.6 DECwindows Toolkit
2.6.3.10 VAX Format Toolkit Bindings
V1.1 The argument passing mechanism for some arguments to
XT$APP_MAIN_LOOP and XT$CREATE_APPLICATION_SHELL is
inconsistent, but exist for backwards compatibility. This
only affects the VAX format functions. If the C functions
XtAppMainLoop and XtCreateApplicationShell are used, the
arguments should be passed as follows:
o XT$APP_MAIN_LOOP-The application_context parameter
should be passed by value instead of by reference
o XT$CREATE_APPLICATION_SHELL-The argcount parameter
should be passed by value instead of by reference
2.6.3.11 XmText Widget Interactive Performance
V1.0 The performance of the XmText widget on large text buffers
degrades significantly when the value of XmNwordWrap is
set to On. Consider setting the value of XmNwordWrap to Off
or making it user selectable if XmText widget interactive
performance is a problem in your application.
2.6.3.12 XUI Application Linking Procedures
V1.0 You might need to modify XUI application-linking procedures
to specifically include SYS$SHARE:DECW$XLIBSHR.EXE, which
is the Xlib shareable image. The DECW$DWTLIBSHR.EXE
shareable image previously linked against the Xlib
shareable image, but it no longer does. If your linking
procedure includes one of the following lines, you will
need to add another line to the procedure:
SYS$SHARE:DECW$DWTLIBSHR/SHARE
SYS$LIBRARY:DECW$DWTLIBSHR/SHARE
The line that you need to add, if it is not already in your
linking procedure, is as follows:
SYS$SHARE:DECW$XLIBSHR/SHARE
2-14 Programmer Release Notes
Programmer Release Notes
2.6 DECwindows Toolkit
2.6.4 New DECwindows Motif Toolkit Shareable Images
V1.0 For VMS DECwindows Motif Version 1.0, the architecture of
the DECwindows Toolkit shareable images is new. There are
three reasons for this change in architecture:
o To add support for OSF/Motif.
o To allow the possibility of mixing XUI and Motif widgets
in the same application (NOTE: A restriction on mixing
XUI and Motif widgets is described in the following
sections).
o To provide binary upward compatibility from the Digital
version of the MIT X11 Release 3 Intrinsics to the
standard MIT X11 Release 4 Intrinsics and to allow
Digital to supply better binary upward compatibility
support in the future.
There are now two classes of DECwindows toolkit shareable
images:
o Code shareable images that contain the toolkit functions
o Thin-layer shareable images against which an application
links
There are five shareable images used to support XUI and
Motif.
2.6.4.1 Code Shareable Images
V1.0 The toolkit code resides in four other shareable images:
o DECW$XMLIBSHR
o DECW$DXMLIBSHR
o DECW$DWTSHR
o DECW$XTSHR
Use the DECW$XMLIBSHR shareable image for applications that
use XM (standard OSF/Motif routines).
Use the DECW$DXMLIBSHR shareable image for applications
that use DXM (the Digital extension to Motif).
DECW$DWTSHR and DECW$XTSHR shareable images are activated
by DECW$DWTLIBSHR as needed.
Programmer Release Notes 2-15
Programmer Release Notes
2.6 DECwindows Toolkit
2.6.4.2 Thin-Layer Shareable Image
V1.0 The DECW$DWTLIBSHR shareable image has been changed into a
thin-layer shareable image.
Continue to use DECW$DWTLIBSHR with applications that use
only XUI or Intrinsics, or both.
DECW$DWTLIBSHR contains only the "public" symbols that the
application links against (for example, the transfer vector
and global data) and the code that dynamically activates
the code shareable images. It does not contain the toolkit
code.
2.6.5 Upward Compatibility
V1.0 The combination of DECW$DWTLIBSHR, DECW$DWTSHR, and
DECW$XTSHR shareable images is intended to be binary
and upwardly compatible with the previous DECW$DWTLIBSHR
shareable image. A possible exception is applications
that dynamically activate the image DECW$DWTLIBSHR using
LIB$FIND_IMAGE_SYMBOL. The problem with dynamic image
activation is that the semantics of the Intrinsics have
changed in places from the Digital version of the MIT X11
Release 3 Intrinsics (Digital Release 3) to the MIT X11
Release 4 Intrinsics. A previously linked XUI application
calls through entries in the XUI transfer vector that use
the Digital Release 3 semantics of the Intrinsics. However,
as soon as that application relinks (or dynamically
activates DECW$DWTLIBSHR), it uses the MIT X11 Release
4 semantics of the Intrinsics (see Section 2.6.2 for
details).
Applications that dynamically activate DECW$DWTLIBSHR
should be changed to link directly against DECW$DWTLIBSHR.
DECW$DWTLIBSHR is now a thin-layer, shareable image that
is small and that dynamically activates automatically the
majority of the toolkit code only when necessary. So there
is no reason for applications to continue to dynamically
activate DECW$DWTLIBSHR.
In addition, Digital cannot guarantee binary upward
compatibility in the future for applications that
dynamically activate the toolkit shareable images.
DECwindows toolkits (XUI and Motif) are based upon
standards that Digital does not control. When the standards
make an incompatible change, Digital will change the
2-16 Programmer Release Notes
Programmer Release Notes
2.6 DECwindows Toolkit
toolkit to follow it. However, the intent is to add code
that allows existing executable images to run unchanged (as
has been done with this release).
2.6.5.1 Restrictions on Mixing Motif and XUI Widgets
V1.0 There is a restriction on mixing Motif and XUI widgets.
The problem results from the fact that both XUI and Motif
have their own Vendor Shell widget class. If an application
is linked against XUI and not Motif, the XUI Vendor Shell
widget class is used in order to maintain compatibility
with DECwindows XUI. If an application is linked against
Motif, the Motif Vendor Shell widget class is used. Motif
widgets require the Motif Vendor Shell; XUI widgets are
compatible with the Motif Vendor Shell. The problem occurs
when an XUI-only application dynamically activates (using
LIB$FIND_IMAGE_SYMBOL) a shareable image that uses Motif.
The Toolkit makes the decision to use the XUI Vendor Shell
when the Toolkit is initialized and the Motif widgets in
the dynamically activated shareable image do not work.
The workaround is to add the application image name to
the DECW$USE_XM_VENDOR_SHELL logical name. This logical
name contains a comma-separated list of image names for
which the Toolkit is to use the Motif Vendor Shell. The
value of DECW$USE_XM_VENDOR_SHELL logical name defaults to
NOTES$MAIN. To add additional image names to this logical
name, enter the following:
$ DEFINE DECW$USE_XM_VENDOR_SHELL "NOTES$MAIN,-
_$ yourimage1,yourimage2,..."
Note that DECW$USE_XM_VENDOR_SHELL does not affect
applications that use Motif since they are already using
the Motif Vendor Shell.
2.7 Display PostScript (DPS) Server Extension-Color Cells
V1.0 You can associate a colormap with a DPS context using
the DPSCreateContext routine or the setXgcdrawablecolor
operator. You can also specify that DPS allocates its
own colors from the specified colormap using the actual
parameter to DPSCreateContext or the setXgcdrawablecolor
operator.
Programmer Release Notes 2-17
Programmer Release Notes
2.7 Display PostScript (DPS) Server Extension-Color Cells
If you have created the colormap using the AllocAll flag,
you must not also specify a nonzero value for the actual
parameter. DPS always allocates colors as shareable
and AllocAll forces all possible colormap entries to be
allocated as nonshareable.
2.8 Layered Products Fonts
This section contains information about layered product
fonts.
2.8.1 Accessing Layered Products Fonts
V1.0 If you want to use any layered products that supply
their own X fonts, your system manager must invoke the
DECW$MKFONTDIR command file in order for the X server
to be able to access the layered products' fonts. The
system manager will need to invoke this command file
only for layered products installed after DECwindows
because DECwindows installation automatically invokes
DECW$MKFONTDIR.
The system manager should enter the following command:
$ @SYS$UPDATE:DECW$MKFONTDIR
After the system manager enters this command, you must
end the current session and start a new session before the
server can access the fonts.
The reason is that the DECwindows X Server now supports
font directory files for faster startup. Fonts supplied by
the DECwindows kit come with prebuilt font directory files.
However, layered products do not supply font directory
files with their fonts.
This restriction will be lifted in the future as layered
products are modified to invoke the DECW$MKFONTDIR command
file in their kit installation procedures.
2.8.2 DECpresent Bullet Fonts Available
V1.0 The VMS DECwindows Motif Version 1.0 software kit provides
nine 75 dpi and nine 100 dpi bullet fonts. These fonts are
for the sole use of DECpresent. In addition, the kit also
provides a font metrics file PRESENT_BULLETS.AFM and a
corresponding PostScript file PRESENT_BULLETS.PS.
2-18 Programmer Release Notes
Programmer Release Notes
2.9 New OSF/Motif Examples
2.9 New OSF/Motif Examples
Some new examples from OSF have been added to the
DECwindows Motif Kit.
2.9.1 MOTIFANIM
V1.1 This program demonstrates the following OSF/Motif features:
o Declaration of icon/bitmap using UIL for portability
across visuals
o Exchange of value between UIL and C using Mrm
o Use of the Motif form widget
o Background procedure running while the client process is
waiting for inputs (Xt intrinsics feature)
Motifanim lets you animate a set of pixmaps in an X window.
The pixmaps are not fixed by motifanim but are read at
startup from existing UID files.
The syntax of all the animation.uid files can easily add
a new set of pixmaps to be animated using motifanim. Some
tree examples of animation data files include:
o dog.uil
o plane.uil
o superman.uil (superman<N>.xbm are referenced in
superman.uil)
The default animation is dog. To run the demo with the
other animations, use the commands:
$set default decw$examples
$motifanim := "$decw$examples:motifanim"
$motifanim -anim plane
$motifanim -anim superman
The files motiflogo.uil, motifanim.uil, and motifanim.c are
the core components of the program.
Programmer Release Notes 2-19
Programmer Release Notes
2.9 New OSF/Motif Examples
2.9.2 MRE
V1.1 MRE gives you a convenient way to view and edit your
resource files. The internal rules of MRE, which can be
extended by a user-supplied file, allow it to determine
whether resources are colors, fonts, files, or other
types. Based on the type of a resource, MRE provides the
appropriate editing mechanism:
o Colorbars for colors
o Font selection window for fonts
o File selection window for files
o Simple text window for others
2.9.2.1 The Basics of MRE
V1.1 Use one of the following commands to run MRE:
$ set default decw$examples
$ run mre
or
$ set default decw$examples
$ mre := "$decw$examples:mre"
$ mre <filename>
If you invoke MRE without command line arguments, it
searches for the file named .Xdefaults in your home
directory. If you specify a file on the command line, MRE
uses that file instead.
MRE loads the resource file that you specify (or
.Xdefaults) and presents all resource lines in a listbox.
Using options from the view menu, you can sort the listbox
based on:
resource -- sm*file*sensitive: on
^^^^^^^^^
specification -- sm*file*sensitive: on
^^^^^^^^^^^^^^^^^
value -- sm*file*sensitive: on
^^
2-20 Programmer Release Notes
Programmer Release Notes
2.9 New OSF/Motif Examples
You can toggle the display of various resource categories
using the toggle buttons in the lower half of the view
menu. You can also use the Short Cut pixmap buttons to
the left of the list to quickly restrict display to only
colors, only fonts, or only Booleans (TRUE/FALSE).
You can select a particular resource to edit by double-
clicking on the resource in the list or by selecting the
Edit button under the list. In the case of font or color
resources, an appropriate editing window opens. For Boolean
resources, the value flips to its opposite. For other types
of resources, this version of MRE provides a text window.
To clone a resource, edit the text in the selection window
beneath the listbox and click on the Add button. To delete
a resource, select it and click on the Delete button.
2.9.2.2 Editing Colors With MRE
V1.1 If you have a color system, MRE lets you edit colors usingI scale widgets and a list of named colors. Selecting a namedCH color from the list sets the scale values properly for the= named color and updates the color in the patch.l G The Set Root Window Background button sets the backgroundsF of your display, if you select a named color. You cannotA use it to set a hex value string as the background.s E Clicking on MB3 in the color patch window allows you toiB take the current background color of that window andB assign it to the window's foreground, topShadow, andG bottomShadow. You can use this to view color combinations C while maintaining Motif's three-dimensional illusion.i &