* dxterm -geometry
@ 1995-05-08 4:00 Brian R. Hunt
1995-05-09 4:00 ` Alfred von Campe
0 siblings, 1 reply; 4+ messages in thread
From: Brian R. Hunt @ 1995-05-08 4:00 UTC (permalink / raw)
Does anyone else have trouble getting dxterm to place windows using
the X geometry resource, either from the command line or from
.Xdefaults or what-have-you? With the Ultrix versions and under OSF/1
1.3, it never did handle negative X and Y offsets correctly, and
behaved a little strangely near the edges of the screen, but now under
OSF/1 3.0 the problem is much worse--I can't even get a placement like
+100+100 to work (unless I use no window manager, or an old version of
mwm). With virtually any window manager I try, if the specified Y
offset is greater than 30, the requested geometry is ignored and the
window is placed according to the window manager's default method.
Does anybody know any elegant workaround? (Obviously I can move the
window by hand, but it would be nice if I could configure the system
to put a couple dxterm windows where I want them upon logging in.)
Are there any prospect of DEC fixing dxterm rather than making it
worse? (Not that I want to badmouth dxterm too much--if I didn't find
several advantages in it over xterm, I wouldn't be posting this.)
--
Brian R. Hunt
bhunt@ipst.umd.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dxterm -geometry
1995-05-08 4:00 dxterm -geometry Brian R. Hunt
@ 1995-05-09 4:00 ` Alfred von Campe
1995-05-10 4:00 ` Laurelin of Middle Earth
0 siblings, 1 reply; 4+ messages in thread
From: Alfred von Campe @ 1995-05-09 4:00 UTC (permalink / raw)
In article <bhunt.799968543@keck2.umd.edu>, bhunt@keck2.umd.edu (Brian R. Hunt) writes:
>...it never did handle negative X and Y offsets correctly
This is a documented restriction of dxterm. It only accepts NW gravity
geometry parameters (i.e., +x+y only).
>OSF/1 3.0 the problem is much worse--I can't even get a placement like
>+100+100 to work (unless I use no window manager, or an old version of
>mwm).
Hmm, it works fine for me. However, you need to make sure that the
default resource file (~/DXterm or whatever you specified with -setup)
does not contain the lines DXterm.x and DXterm.y.
I'd rather not go into the reasons why dxterm behaves this way. Let's
just say that it carries a lot of excess baggage that gets in the way.
Alfred
--
+-----------------------------------------------------------------------+
| US Mail: Alfred von Campe, 1105A Ridgefield Circle, Clinton, MA 01510 \
| Ma-Bell: (508) 365-3982 (H), (508) 467-9585 (W), (508) 467-9557 (fax) \
| Internet: alfred@hannah.enet.dec.com \
+---------------------------------------------+-----------------------------+
| Why is common sense so uncommon? | I'd rather be flying N4381Q |
+---------------------------------------------+-----------------------------+
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dxterm -geometry
1995-05-09 4:00 ` Alfred von Campe
@ 1995-05-10 4:00 ` Laurelin of Middle Earth
1995-05-12 4:00 ` Alfred von Campe
0 siblings, 1 reply; 4+ messages in thread
From: Laurelin of Middle Earth @ 1995-05-10 4:00 UTC (permalink / raw)
In article <3ooli3$eu8@mrnews.mro.dec.com>,
alfred@f14d.mro1.dec.com (Alfred von Campe) writes:
>
> In article <bhunt.799968543@keck2.umd.edu>,
> bhunt@keck2.umd.edu (Brian R. Hunt) writes:
> >...it never did handle negative X and Y offsets correctly
>
> This is a documented restriction of dxterm. It only accepts NW gravity
> geometry parameters (i.e., +x+y only).
Where is it documented? Not the man pages... where else should I be
looking?
>
> >OSF/1 3.0 the problem is much worse--I can't even get a placement like
> >+100+100 to work (unless I use no window manager, or an old version of
> >mwm).
>
> Hmm, it works fine for me. However, you need to make sure that the
> default resource file (~/DXterm or whatever you specified with -setup)
> does not contain the lines DXterm.x and DXterm.y.
I'm running OSF/1 V3.2 and have the same problem when I log in -- but
apparently not later. My .X11Startup file includes dxterm commands which
are *supposed* to set +x+y position, but the position is ignored (although
the other resources I set are used). When I enter the dxterm command
interactively later, the +x+y positions *are* used.
I don't have a ~/DXterm file, I have all of the resources in my .Xdefaults
file. I do *not* include any DXterm.x or DXterm.y resources in that file.
Is there something strange about the .X11Startup environment that is
different from the interactive environment?
Thanks, lauri
/-----------------------------------------------------------------------------\
| Lauri Loebel Carpenter "All that is gold does not glitter, |
| lauri@orthanc.fnal.gov Not all those who wander are lost..." - JRRT |
| #include <std.disclaimer> /* I only speak for myself */ |
\-----------------------------------------------------------------------------/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: dxterm -geometry
1995-05-10 4:00 ` Laurelin of Middle Earth
@ 1995-05-12 4:00 ` Alfred von Campe
0 siblings, 0 replies; 4+ messages in thread
From: Alfred von Campe @ 1995-05-12 4:00 UTC (permalink / raw)
In article <3or061$2bi@fnnews.fnal.gov>, lauri@vssaxp.fnal.gov (Laurelin of Middle Earth) writes:
>Where is it documented? Not the man pages... where else should I be
>looking?
The dxterm man page on my V3.2 system contains the following paragraph:
-geometry
Specifies the width, length, and location of the dxterm window, in
columns, rows and pixels respectively. This flag has the format
[width][xlength][+x][+y].
Unlike xterm or other clients which refer you to the X(1X) man page (which
describes the meaning of + and -), dxterm explicitely lists only +x+y as an
acceptable format.
>Is there something strange about the .X11Startup environment that is
>different from the interactive environment?
I don't know; I don't use .X11Startup. Please email me your file and I'll
try to reproduce this problem on my system.
Alfred
--
+-----------------------------------------------------------------------+
| US Mail: Alfred von Campe, 1105A Ridgefield Circle, Clinton, MA 01510 \
| Ma-Bell: (508) 365-3982 (H), (508) 467-9585 (W), (508) 467-9557 (fax) \
| Internet: alfred@hannah.enet.dec.com \
+---------------------------------------------+-----------------------------+
| Why is common sense so uncommon? | I'd rather be flying N4381Q |
+---------------------------------------------+-----------------------------+
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-05-12 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-08 4:00 dxterm -geometry Brian R. Hunt
1995-05-09 4:00 ` Alfred von Campe
1995-05-10 4:00 ` Laurelin of Middle Earth
1995-05-12 4:00 ` Alfred von Campe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox