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

Conference bulova::decwindows

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

5795.0. "Console window placement on login screen" by RHETT::BURDEN (A bear in his natural habitat) Wed Mar 05 1997 14:06

A customer has found a strange behavior with the console window at the CDE
login screen.  We can reproduce it here as well.  In the
sys$manager:DECW$STARTAPPS.COM file, he modified these two lines:

$ decw$console_selection == "WINDOW"
$ decw$console_geometry == "+0+0"

After he restarted the window manager, the console window flashed in the upper
left corner of the screen then went away as the login box came up.  When he
logged in, the console window came back to the upper left.

If he set the decw$console_geometry to be "+0-0" (lower left) or "-0-0"
(lower left), it stays on the screen when the login box id present.  If
it's set to "+0+0" (upper left) or "-0+0" (upper right), it does what
I described in the paragraph above.

The customer has an Alpha Station 250 with OVMS V6.2 - I tested it on a 
DEC3000 with OVMS V7.1.

Is this a bug?  Is there any quick away around it or should we elevate it?

Thanks
Dave
T.RTitleUserPersonal
Name
DateLines
5795.1Its designed that wayDECWIN::STEFANELLIGreat googaly moogalyThu Mar 06 1997 09:3935
The background for the login screen is covering the console
window.  With the default implementation of CDE, a background window
is drawn with the login screen that covers the whole screen.
For VMS (and Digital UNIX) it leaves an area along the bottom of
the screen (200 pixels) uncovered where the console window normally
appears.

Any part of any pre-existing window, like the console window,
which extends beyond the bottom 200 pixels will be covered.

You can do the following to have the login manager cover all but
the top 200 pixels:

	- create the directory cde$user_common:[config.c]
	- copy cde$system_defaults:[config.c]xresources.dat to
	  the new directory
	- add the following resource specification to the end
	  of the new xresources.dat:

		Dtlogin*login_shell.y: 200

	- then do a "Reset Login Screen" under options (or restart
	  DECwindows)

Doing the above will shift the login box down on the screen by
200 pixels.  I couldn't come up with any other resource specification
to undo this.  Many are hardcoded within the login manager code.
The height of the window covering the background is fixed so you
couldn't leave the top and the bottom uncovered without a code change.

Note also that the login manager grabs the keyboard so you usually
can't interact with applications that are displayed while the login
screen is alos displayed.

Doug
5795.2RHETT::BURDENA bear in his natural habitatThu Mar 06 1997 14:143
Thanks Doug, that does the trick.

Dave