[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

784.0. "Can Input focus be directed auotomatically" by 20964::SHEPRO (Service Before Protocol) Tue May 16 1989 08:53

    This is from the VWSLAT conference.....
    
    
    
          <<< VSG::VSG9$DUA3:[V4COMMON.NOTES$LIBRARY]VWSLAT.NOTE;1 >>>
                                  -< VWS-LAT >-
================================================================================
Note 232.0               password echoed to wrong window                 1 reply
20964::SHEPRO "Service Before Protocol"              13 lines  15-MAY-1989 14:10
--------------------------------------------------------------------------------
    Using an older version of VWSLAT on a 4.7 VMS Workstation, input focus
    is directed directly to the newly created window for logging in.  In
    the latest/greatest version used in a D.W. environment, input focus is
    *not* on the created session, but still with VWSLAT.  
    
    If the user is unaware of this, he/she may type their username *and
    password* (echoed) on the wrong screen, thus allowing their password to
    be seen by anybody looking on.
    
    What't the possiblity of this reflecting the VWS environment?
    
    Alan
    
================================================================================
Note 232.1               password echoed to wrong window                  1 of 1
PRNSYS::LOMICKAJ "Jeff Lomicka"                      11 lines  15-MAY-1989 14:18
                          -< Well it's not MY fault! >-
--------------------------------------------------------------------------------
The DECWindows code enforces a policy of not allowing applications to
direct input focus to their newly created terminal emulator windows.

I think this is bad, but it's a discussion for the DECWindows conference. 

VWSLAT actually sends the SRM-define escape sequence for popping the
window to the top and assigning input focus, but the only "emulator"
around that obeys it is the VT330/340 in multi-session mode, which
doesn't really support VWSLAT.



T.RTitleUserPersonal
Name
DateLines
784.132148::KLEINSORGEToys &#039;R&#039; UsTue May 16 1989 13:057
    
    I think that the terminal architect indicated that the workstation
    terminal emulators *not* recognize that sequence as it's intention
    was not so broad.
    
    

784.27130::LOMICKAJJeff LomickaTue May 16 1989 13:1013
Nowithstanding the lack of architecture in this area, my statement still
stands that DECWindows is ENFORCING the policy of not allowing
application to assign input focus to the emulators that they themselves
create. 

Well, okay, VWSLAT should really be using the DECTerm widget directly
instead of the DECW$TERM_PORT, at which point VWSLAT would have the
control it needs - but bear in mind that DECW$TERM_PORT is currently
the only supported way to create DECTerms.  If I use the DECTerm widget
in VWSLAT, I could run into trouble with the "undocumted interface"
barrier to entry into ASSETS.


784.332148::KLEINSORGEToys &#039;R&#039; UsTue May 16 1989 13:2015
    
    How is the enforcement done?  As this is an internal product and at
    "best" may someday become a ASSET application (i.e. "as is" ), are
    there not ways of doing this in complete disregard of any standard
    (especially sine the "standard" may be  obviated by a new "standard"
    (Motif) soon)?
    
    Strict conformance to such a rule when it is *clearly* the intention
    of the user to create and use a new window is crazy.  It's like when
    the default for TPU was to pop up a EVE window, leave the terminal
    window useless (as it was running TPU) and yet not even switch the
    input focus to the EVE window.
    
    

784.47130::LOMICKAJJeff LomickaTue May 16 1989 13:287
The "enforcement" is that no mechanism is provided for assigning the
input focus to the window.  There's no OSC or CSI sequence, and no
reliable or even acceptable way of getting the window ID, and as far as
I know, no set-up file or customization string entry I could provide in
order to get it to take focus upon creation.


784.54268::RASPUZZIMichael Raspuzzi - VMS/LAT EngineeringTue May 16 1989 13:506
One could add "grab input focus" when a new window is created in the
customize procedure.  This could be off by default and if a user wants
input focus on newly created windows, they could enable this.

Mike

784.6How do I do this?20935::SHEPROService Before ProtocolTue May 16 1989 15:465
The content of the replies to my original question/concern is beyond me.  In 
response to .5, though, How do I do this?

Alan

784.74268::RASPUZZIMichael Raspuzzi - VMS/LAT EngineeringTue May 16 1989 16:2217
Re .6:

You can't do it.  I was speaking from a programmers point of view.  For
example, let's say I am enhancing DECTerm.  One item I might want to add
in the customize settings window is something like "Grab input focus when
new window is created".  A user would go to customize on the menu bar
of a DECTerm, select change settings and in the window that pops might
one of the items that could be selected would be "grab input focus..."

The wording in my original message does lead one to believe that it can
be done today but it can't.  I'm merely suggesting that applications
that create windows (like DECTerm) that might want to grab input focus
(or might not want to grab input focus) could have a customize setting
that would allow a user to set it to his or her liking.

Mike