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