Need help with focus on twm, fvwm2 or <insert window manager here>

Need help with focus on twm, fvwm2 or <insert window manager here>

Post by Chuck Matter » Fri, 10 Nov 2000 04:00:00



I've got an unusual problem, I'm deploying a number of diskless
workstations which will run XFfree86 front-ended by Xvnc for both the
local user and remote support staff.  Initially the local user will
have only x3270 running full screen and no mouse to emulate the dumb
terminals we are replacing (there is a graphical interface in the
works to be deployed at a later date).  Here's the problem:

Occasionally x3270 will pop-up an informational message (the network
went down momentarily or something) which requires the enter button
being clicked or the enter key being pressed (no mouse remember).  The
problem is that the pop-up does not receive keyboard focus and the user
is stuck dead in the water.  Currently we use twm, fvwm2 is already
there since we are starting from a slightly modified RedHat base but
I'm not against any mainstream window manager (Gnome fan myself).
What I need is a directive that will cause any pop-up to take focus so
that it can be acknowledged via the keyboard.  This must be an
automatic focus shift as the users are not guaranteed to be
technologically sophisticated so some key stroke to mouse mappings are
not a good option in this case, they just need to be able to hit
<enter> and get back to work. Any suggestions would be appreciated.
--
-----------------------------------------------------------------------------
|Chuck Mattern           | "That which does not kill us, makes us stronger."|

-----------------------------------------------------------------------------

 
 
 

Need help with focus on twm, fvwm2 or <insert window manager here>

Post by Sven Maschec » Fri, 10 Nov 2000 04:00:00


 > Initially the local user will have only x3270 running full screen
 > and no mouse to emulate the dumb terminals we are replacing [...]

 > Occasionally x3270 will pop-up an informational message (the network
 > went down momentarily or something) which requires the enter button
 > being clicked or the enter key being pressed (no mouse remember).  The
 > problem is that the pop-up does not receive keyboard focus and the user
 > is stuck dead in the water.  Currently we use twm, fvwm2 is already
 > there since we are starting from a slightly modified RedHat base but
 > I'm not against any mainstream window manager (Gnome fan myself).

This is exactly what twm and fvwm (derived from twm) are broken about:
They can't handle child windows properly.

For this reason i switched away from fvwm1/2 (to WindowMaker in my case).

But IMHO every non-twm-derived and not-too-simple windowmanager
_should_ do it right.

As you don't want a new desktop itself, a slim windowmanager will suffice.

Hm, <URL:http://www.plig.org/xwinman/> doesn't list this feature.

The only question might be, if the popup window has a correct
'window specification'.  It's the field "WM_CLASS(STRING)"
in the output of xprop(1).  Then it's easy for the windowmanager
to identify and handle a window different.

In general, x3270(1) seems to give it's child windows proper
names (f.i. "errorPopup.X3270").

Sven

 
 
 

Need help with focus on twm, fvwm2 or <insert window manager here>

Post by Walter Dn » Tue, 14 Nov 2000 04:00:00



> Occasionally x3270 will pop-up an informational message (the network
> went down momentarily or something) which requires the enter button
> being clicked or the enter key being pressed (no mouse remember).  The
> problem is that the pop-up does not receive keyboard focus and the user
> is stuck dead in the water.  Currently we use twm, fvwm2 is already

  In fvwm2 the following line in .fvwm2rc enables {ALT-TAB} to do what
it does in Windows9X...

Key Tab AT M WindowList

...the only *ytrap is that the user may have to toggle the "numlock"
key.  I assume that even low-tech users can understand {ALT-TAB}.

--
Walter Dnes

 
 
 

1. LILO help <><><><><><>

I just installed RH6 on a box that only had a 50MB DOS partition to
begin with.
During the RH install, I used Disk Druid to set up additional
partitions as follows:
/       ~1 GB
swap    ~40 MB
/usr    ~500 MB
/boot   ~10 MB

When prompted, I told it to install LILO into the "/boot" partition.

Upon restarting the system after the install, it booted into DOS again
from my origional active DOS partition.

I tried booting from the emergency rescue disk that I was prompted to
create during the install, but it gives me an error "0x10" and stops.

I can boot using the RH "boot.img" boot disk, hitting F4, and then
inserting the "rescue.img" disk made from dosutils on the RH CD, but I
have no idea what to do from there.

I want to make the thing boot with LILO and ask whether to start DOS or
boot Linux (as default). I realize now that I probably shoud've just
told it to install LILO into the MBR.

Please tell me there is an easy/painless way to get LILO to do this
without re-installing totally.

Please respond via Email to:  jack972 [<at>] netzero [<dot>] net

Many thanks!

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Top 10 posters comp.unix.shell

3. <<->> x-server and backspace: help needed please <<->>

4. linux suckisms

5. <><><> MOUNTING EXTENDED PARTITION <><><>

6. questions about SVR4?

7. Wanted: <><><> Unix Specialist <><><>

8. PPP setup problems...

9. >>> -- Need help with ZapfDingbats font on Solaris 2.6 -- <<<

10. ----->>>XF86Config Help Needed Here's a Copy of<<<------

11. >>>Entrepreneurs Needed<<<<