FVWM: Luck of the Draw

From: David <cupcake_at_sdf.lonestar.org>
Date: Wed, 14 Nov 2001 18:51:21 GMT

Hi Dan,

Thanks for your reply about my problems.

> THE REAL PROBLEM - isn't there always one under the presenting
> problem - is that while in telnet probably after hitting a combination
> of keystrokes I can't reconstruct THE WINDOW MANAGER WILL CONVERT
> ALL MY KEYBOARD ENTRY TO UPPER CASE. This means that if I am
> editing a file in vi, I can't quit the file because vi won't
> accept :WQ.
>
> The cure for this is to click on "Restart Fvwm" in the desktop
> menu and then it will go back to lower case - which is why I
> think this is a bug in fvwm.
>
> The presenting problem is my concern that if the help desk gets
> a call for all caps, and then they tell the user to restart the
> fvwm, that the user will go nuts because they will think they
> have lost all their work when in fact only the current
> viewport will have changed.

You write:

>> FVWM cannot control the case of characters typed in your telnet
>> window.

Would that it were so. But, unfortunately, I do start our in lower
case and then after a while usually while editing a file with vi,
the window manager switches all my keystrokes to upper case so that
if I go to another open xterm I will get all upper case there.
Usually, hitting the desktop menu "Restart fvwm" does fix it. I'm pretty
confident it's fvwm.

> Also, there is one other point. I have ported some sun xwindows
> motif programs to XFree86 and lesstif. I am now running on a
> pc with its display set to 1162 x 864 rather than the default
> 640x480.
>
> This way every pc program comes up slightly smaller but
> unfortunately all the motif programs come up full size.
>
> I think it would be wonderful if I could tell fvwm to
> scale all the motif or lesstif pixels to a different size or if fvwm
> could just read this off the current pcwindows setting.

You write:

>> I think you are overestimating the involvment of the window
>> manager. Window managers wrap borders around windows
>> but they don't control the display of every pixel inside
>> the window.

It seems to me that the window manager has to place the app
on the desktop current-viewport according to the resources
specified in the app resources file. I think this placement
and all other drawing would go through the window manager:
maybe not? Who would be responsible: lesstif? or XFree86?

>> With Motif applications you can usually set X-Resources
>> to cause Motif to use a different font depending on the screen
>> size. Heres something I use in my X-resources for controlling
>> the Emacs window size:

That's how it should work, and I have written some apps which
start with the font and size the app depending on the font
characteristics. I don't know of anyone else who has done that,
however. Even in your example, you still have to size the apps
using geometry: a very well behaved motif app should size itself
from the font characteristics, I think.

        #elif ( HEIGHT == 1200 ) /* My home machine, 1600x1200 use side x side layout */

If you can do this, why can't fvwm?

Anyway, I want to say again that I appreciate your comments: they
help me understand the issues better.

David

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Nov 14 2001 - 12:52:41 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST