| 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 |
Hello all...
This notes file is huge and I wasn't sure what to use in a "search" criteria
so I'm going to ask this here and hope someone can either help me out or give
me a pointer to what I need.
I am not a Xwindows programmer but am currently working on an application that
uses GKS (ATC-GKS and not DEC's GKS). It handles all the screen management per
say so I don't have to deal with that. However, the xterm window that I am
running the program from needs to be re-sized and re-located. I need a quick
method of doing this without having to go dig through manuals (that aren't
available to me at the customer's site anyway). Any help would be appreciated.
-- Samir Kaleem
(314) 639-3186
REDBRD::KALEEM
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 3354.1 | ABYSS::dike | Tue Sep 18 1990 12:45 | 14 | ||
Run xterm -help. You will see in part:
usage:
xterm [-options ...] [-e command args]
where options include:
-help print out this message
-display displayname X server to contact
-geometry geom size (in characters) and position
...
The -geometry size is in characters and position in pixels, and the format
is =WxH+X+Y. -geometry =80x25+100+100 would give you an 80x25 char xterm
located at (100, 100).
Jeff
| |||||
| 3354.2 | Need to this from the program | REDBRD::KALEEM | Cyborg | Tue Sep 18 1990 18:18 | 12 |
<<< Note 3354.1 by ABYSS::dike >>>
>Run xterm -help. You will see in part:
I should have mentioned that this is on VMS (so really a DECWindows xterm).
Besides this, I really need to do this from within my program because I will
need to resize the window depending on the context of the program.
Any other suggestions Jeff (by the by..thanx for your response).
-- Samir
| |||||
| 3354.3 | Try gks people | REDBRD::COOLEY | Wed Sep 19 1990 09:17 | 8 | |
Sorry I don't have details, but GKS does have services to get terminal
(WS) size, which then enable you to create windows which are less than
100% of the x/y size. This can allow you to resize; I don't know about
locate, but I bet its there. This will allow you to do what you want
from your application program, using gks directly. Try the gks
notesfile (also huge!).
Don
| |||||