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

Conference bulova::decw_jan-89_to_nov-90

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

2527.0. "general questions" by CSOA1::WILKINS () Wed Mar 28 1990 09:27

One of our customers has some general DECwindows questions (some of
which I've also posted in ELKTRA::DESKTOP-VMS as well) concerning 
functionality available, running under VMS V5.3.  Could anyone help
me out with any of these?  Any help would be appreciated.

Why can't you cut and paste from the bookreader?

Is there a way to customize the placement of all the windows on the screen?
Several users at the site would like be able to place and size their Fileview, 
Session Manager, DECterm, etc windows and then save those positions/sizes
with a "customize" command somewhere.  Then the next time they logged in they 
could get all the same windows started and put in the same places either
automatically or with a single command.  Is this possible today, tomorrow, or 
will it be ever?

Is there a way to customize the background window patterns and pointer to
something other than the shown options?  How about a facility to turn each
pixel on and off individually, similar to the way it's done on a Mac?

Is there a way to change the login banner?  The customer would like to
have their own logo displayed instead of ours...

Thanks for any help!

Mark

T.RTitleUserPersonal
Name
DateLines
2527.1STAR::MFOLEYPump up the jellyWed Mar 28 1990 10:2025
>Why can't you cut and paste from the bookreader?

	This is fully discussed in BULOVA::BOOKREADER

>customize the placement of all the windows on the screen

	A complete solution isn't there yet but alot of things in VMS 5.3 allow
	better customization. CREATE/TERM has X and Y positioning for example.
	It's really up to each application. I too wish there was something.

>Background patterns

	XSETROOT and things like that on the MIT tapes will put up
	images and stuff. I suppose it's left as an exercise for the customer?
	Look in ELKTRA::DW_EXAMPLES for some excellent examples. Something they
	could buy today from ASSETS is UTOX. That MIGHT do what you want. I'm
	not sure.. (I know you can put something up in the Pause screen with
	UTOX)

>Is there a way to change the login banner?

	There is in VMS 5.3. I can't remember exactly how too tho. I know
	it's been discussed here.. Maybe someone else will remember.

							mike
2527.2DEFINE/SYSTEM/EXEC DECW$LOGIN_BACKGROUND...SCAM::DIALWed Mar 28 1990 10:496
    DEFINE/SYSTEM/EXEC DECW$LOGIN_BACKGROUND xxx.com
    
    Where "xxx.com" is a command procedure which runs any application that
    can set the root window.
    
    Barry
2527.3CSOA1::WILKINSWed Mar 28 1990 12:5913
    
    Thanks for the quick answers.  If anyone has anything else to add,
    please do!
    
    Re: .2
    How do you "undo" it if you want to get the Digital logo back?
    Also, can you be a little more specific about the .com file to
    run an application which "can set the root window?"  Do you have
    a simple example?
    
    Thanks
    
    Mark 
2527.4DECWIN::FISHERPrune Juice: A Warrior's Drink!Wed Mar 28 1990 13:379
Deasign the logical to get the default behavior back.

Set the root window:  I don't have a program here, but just write an X program
which draws the company logo on the root window.  That means that instead of
doing a CreateWindow to make a new window, you use an Xlib function to get the
id of the root and draw to that.  It should be something like
XRootWindowOfDisplay...

Burns
2527.5more on the com file...GSRC::WESTVariables don't, Constants aren'tThu Mar 29 1990 21:0834
RE:                      <<< Note 2527.3 by CSOA1::WILKINS >>>

  Just like .4 said, deassign the logical to get back the Digital logo.

  As for the com file.  This is a com file that is given to LOGINOUT.EXE
as an input qualifier.  This means that the com file can do ANYTHING you
want it to, DECwindows or otherwise.

  For example, if you would like the puzzle game to come up when you log
off you could do something like:

	Create a com file:

	  $ set disp/crea/node=0/trans=local
	  $ run sys$system:decw$puzzle
	  $ set disp/delete
	  $ logoff

  And if this com file has the name of DO_PUZZLE.COM then you would define
the logical like so:

	$ define/sys/exec decw$login_background DO_PUZZLE.COM

  Note that I have left off the full directory specification.  You should
provide one.

  When this is all set up you will get the puzzle game everytime you log off.


  So let your imagination run wild...  :^)


						-=> Jim <=-

2527.6DECWIN::FISHERPrune Juice: A Warrior&#039;s Drink!Mon Apr 02 1990 17:125
Do you have to set the display?  If so, that is a problem...it should be
started with DECW$DISPLAY set to the appropriate display.  Otherwise, you can't
do remote sessions (say on the DW Terminal).

Burns
2527.7Not real sure...GSRC::WESTVariables don&#039;t, Constants aren&#039;tTue Apr 03 1990 21:5211
  You know....I'm not sure.  I would think not, I'm just in the habit of
always putting that command in my com files that do DECwindows sorts of
things.  Since the device is created in usermode is supposedly goes away
when the device ref count is zero.

  I'll have to do some testing...or someone else probably already knows the
answer to this one.

						-=> Jim <=-