[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

294.0. "Disable geometry = " by GIDDAY::KOTWAL (Ain't no flies of us - Mate!) Thu Feb 23 1989 21:52

Is there any way to disable the default "geometry = ...." in the dxterm
when using the dxsession manager?

I'd like to do what X(1) allows you to...

"If the geometry option is not specified, you can position
the window with the mouse pointer and size it with one of 
the mouse buttons."

The thing that bugs me most is the fact that new windows pop up exactly
over the one I'm using and I then have to move it.  I'd like to be able to
specify where I want the new window interactively *before* creation...
using a rubber band.

Thanks,

Rashid.

P.S.  Using UWS 2.0 (RISC)

T.RTitleUserPersonal
Name
DateLines
294.1Use .X11Startup...MTA::GRAHAMtake no prisoners, kill them!Fri Feb 24 1989 16:3414
    RE.0
    Disable dxterm defaults in your .Xdefaults file and,                 
    
    Use .X11Startup from your $home directory.
    
    Here is an example .X11Startup entry.
    
    (cd bin; testxsh &)
    [d]xterm [-xrm ...] -bg Blue -fg white -sb -n "XUI & OSF -- Perfect \
    Together" -g +10+110 &
    [d]xterm [-xrm ...] -bg Blue -fg white -sb -n "XUI & OSF -- Perfect\
    -g +110+360 &
                                                            Kris..

294.2Don't comprehende!GIDDAY::KOTWALAin't no flies of us - Mate!Sun Feb 26 1989 22:0215
    I'm sorry, Kris, but I don't understand....
    
    How can I disable the dxterm in .Xdefaults. At the moment I have
    the following:
    
    sm.TerminalEmulatorName: dxterm
    
    If I take this out I have the problem I documented in #279.
    
    How does the  -g +10+110 work?
    
    Thanks,
    
    Rashid.

294.3some more ideas...MTA::GRAHAMtake no prisoners, kill them!Mon Feb 27 1989 13:2359
    
    Rashid,
    
    sm.create_terminal: 0  
    
    will give zero terminals at startup. This will enable you to set
    up your defaults in .X11Startup.
    
    Re...Window Geometry (-g argument).
    'man X ' gives me the following...
    
    WINDOW GEOMETRY
         Most X client applications let you specify the size and
         position of the application window with the geometry option.
         The geometry option has the following format:
    
    [width][xlength][x][y]
    
         width               Specifies the number of pixels the win-
                             dow spans horizontally.
    
         length              Specifies the number of pixels the win-
                             dow spans vertically.
    
         x                   Specifies the x screen coordinate (pixel
                             value) for the starting corner of the
                             window.
    
         y                   Specifies the y screen coordinate (pixel
                             value) for the starting corner of the
                             window.
         Depending on the corner of the screen from which each coor-
         dinate value is an offset, the x and y coordinates must be
         preceded by a plus (+) or a minus (-).  The following lists
         the four screen corners and the required positive or nega-
         tive state for the x and y coordinates when you create a
    
    X(1X)
    
         window with respect to that corner.
    
              Upper left corner   +x        +y
              Lower left corner   +x        -y
              Upper right corner  -x        +y
              Lower right corner  -x        -y
    
    
         If the geometry option is not specified, you can position
         the window with the mouse pointer and size it with one of
         the mouse buttons.  For sizing information specific to an
         application, see the reference page for that application.
    
         Most X client applications read options (such as font and
         border width) to control the sizing of their initial window.
         For information about options specific to an application,
         see the reference page for that application.
         
    								Kris..

294.4old uwm referenceFLUME::metskyCould be worse, could be rainingTue Feb 28 1989 14:537
I believe the "If the geometry option is not specified ... " message is 
refering to how uwm allows you to place windows on the screen.  It looks
like out of date documentation to me, unless anyone else can figure out
what it means.

 -dave-

294.5Getting closer to the problem defination...GIDDAY::KOTWALAin't no flies of us - Mate!Tue Feb 28 1989 18:1613
    RE: .4's quote:
    
    This is exactly my point of contention.... dxsession automatically
    puts the window up in a particular place.  This is the same for
    dxterm or xterm (although the initial position is different, it
    is still unchangeable without the geom.. option).
    
    What I would like to achieve is uwm behaviour in the placement of
    new windows using dxsession.  i.e. a rubber band controlled by the
    mouse to allow me to place the window INTERACTIVELY before creation.
    
    Rashid.