home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22037 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.7 KB

  1. Path: sparky!uunet!portal!lll-winken!fnnews.fnal.gov!elwing.fnal.gov!LAURI
  2. From: lauri@elwing.fnal.gov (Laurelin of Middle Earth)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: How do get mwm to put decterms at specific location s at startup?
  5. Message-ID: <1k3ov3INNo03@fnnews.fnal.gov>
  6. Date: 26 Jan 93 16:30:27 GMT
  7. References: <1k1gd1INNp62@phakt.usc.edu>
  8. Reply-To: lauri@elwing.fnal.gov
  9. Organization: Fermi National Accelerator Lab
  10. Lines: 32
  11. NNTP-Posting-Host: elwing.fnal.gov
  12.  
  13. In article <1k1gd1INNp62@phakt.usc.edu>, you write:
  14. >
  15. >Could someone please tell me how to get motif-win-mgr to place my decterms
  16. >at specified locations at startup time (also, other applications if there
  17. >is a generic solution)?
  18.  
  19. There are probably many solutions.  Here is one idea.
  20.  
  21. Look at HELP CREATE/TERMINAL, under /WINDOW_ATTRIBUTES.  It includes the
  22. ability to specify X_POSITION and Y_POSITION (and a bunch of other stuff,
  23. title and icon names and initial state and initial size, etc.)
  24.  
  25. In LOGIN.COM I define a few symbols for creating the DECterms I want to
  26. create during login -- including their position:
  27.  
  28.     $ term1 :== create/terminal/detach/window_attr=(x_pos=2,y_pos=95,...)
  29.     $ term2 :== ...
  30.  
  31. In the AUTOSTART I invoke one command procedure, which then creates all of
  32. these automated windows:
  33.  
  34.     $ term1
  35.     $ term2
  36.  
  37. Hope this helps.
  38.  
  39. -- lauri
  40.  ----------------------------------------------------------------------------- 
  41. | Laurelin Loebel            "All that is gold does not glitter,              |
  42. | lauri@elwing.fnal.gov        Not all those who wander are lost..." - JRRT   |
  43. |...they don't generally like what i say anyway, so i don't speak for them... |
  44.  ----------------------------------------------------------------------------- 
  45.