Re: [ANNOUNCE] Releasing ctwm 3.7 beta1. This starts a two-week beta period

2005-05-03 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 3 May 2005 01:03:42 +0200 (CEST), Peter 
Berg Larsen [EMAIL PROTECTED] said:

pebl 
pebl On Tue, 3 May 2005, Richard Levitte - VMS Whacker wrote:
pebl 
pebl  pebl I still think the prototypes should be corrected, patch 4.
pebl 
pebl  Uhmm, have you looked at what I've done?  I've prototyped all
pebl  functions I could find, arguments included.  Did I miss something?
pebl 
pebl hmm, I missed something. I diffed with a wrong path a got a lot
pebl of missing prototypes; concluded the patch is wasnt aplied yet. 
pebl Sorry.

Actually, you seem to have missed more than that.  I had a look, and
all the changes you wanted are already there.  IgnoreTransient is even
documented :-).  This is the entry in CHANGES describing it:

   21 - IgnoreTransient patch (by Peter Berg Larsen)

New keyword with list of windows for which to ignore transients.

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis


Re: Releasing ctwm 3.7 beta1. This starts a two-week beta period

2005-05-03 Thread Johan Vromans
Richard Levitte - VMS Whacker [EMAIL PROTECTED] writes:

 I [...] decided it's time to take ctwm 3.7 into beta.

Great! Up and running right now!

 ctwm 3.7 is hereby in feature freeze.  All that's needed is to find
 and correct as many bugs as possible.

Well, there's one bug that is still there: sending the HUP signal to
ctwm to restart it still only works once.

 http://ctwm.free.lp.se/.

The web site reads Messages sent in here are forwarded to the
request tracker (more on the below), but there's no more...

Clicked on Check it again, I dare you :-) lately?

-- Johan


Re: Releasing ctwm 3.7 beta1. This starts a two-week beta period

2005-05-03 Thread Johan Vromans
Richard Levitte - VMS Whacker [EMAIL PROTECTED] writes:

 #define newhandler(sig, action) \
 if (signal (sig, SIG_IGN) != SIG_IGN) (void) signal (sig, action)

 Now, if someone could explain to me why that macro is used at all, I'd
 be quite grateful.  Is there any reason at all not to set up a new
 handler if the previous handler is SIG_IGN?  That looks very error
 prone to me...

One thing that springs to mind (but I might be wrong) is that
sometimes? ctwm is started with certain signals disabled (nohup?) and
this macro prevents these disabled signals from being reenabled?

-- Johan


Re: Releasing ctwm 3.7 beta1. This starts a two-week beta period

2005-05-03 Thread Johan Vromans
Richard Levitte - VMS Whacker [EMAIL PROTECTED] writes:

 ctwm 3.7 beta1 is also distributed as a preview, linked to from
 http://ctwm.free.lp.se/.

For RPM freaks, I've attached a fairly good working .spec file.

-- Johan



ctwm-3.7beta1.spec
Description: Binary data


Re: Releasing ctwm 3.7 beta1. This starts a two-week beta period

2005-05-03 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 03 May 2005 13:37:33 +0200, Johan 
Vromans [EMAIL PROTECTED] said:

jvromans Richard Levitte - VMS Whacker [EMAIL PROTECTED] writes:
jvromans 
jvromans  #define newhandler(sig, action) \
jvromans  if (signal (sig, SIG_IGN) != SIG_IGN) (void) signal (sig, 
action)
jvromans 
jvromans  Now, if someone could explain to me why that macro is used at all, 
I'd
jvromans  be quite grateful.  Is there any reason at all not to set up a new
jvromans  handler if the previous handler is SIG_IGN?  That looks very error
jvromans  prone to me...
jvromans 
jvromans One thing that springs to mind (but I might be wrong) is
jvromans that sometimes? ctwm is started with certain signals
jvromans disabled (nohup?) and this macro prevents these disabled
jvromans signals from being reenabled?

Actually, considering we're doing execvp from inside a signal handler,
we're on undefined territory.  Changing newhandler(SIGHUP, Restart) to
signal(SIGHUP, Restart) didn't change anything, so I'm guessing the
signal is permanently blocked until ctwm gets out of the first signal
handler...  eh...  or something like that.

There are several possibilities available:

 - use sigaction() instead of signal().  It's quite a bit more robust,
   and it's possible to say how a handler should be treated.  This
   needs quite a lot of care.
 - have Restart() set a flag.  This requires a wrapper around
   XNextEvent(), probably using select().
 - something different that I haven't come up with yet.

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis


[ANNOUNCE] Releasing ctwm 3.7 beta2.

2005-05-03 Thread Richard Levitte - VMS Whacker
Hi,

Release of ctwm 3.7 beta 2.

Two major changes since beta 1:

 - The information window now displays both the inner and outer
   geometry, and also displays the 3D border width.
 - SIGHUP can now be signaled several times, and ctwm should restart
   each time, not just the first.  The restart code has been cleaned
   up as a result.  Johan Vromans should be happy with this, I hope :-)

This release is tagged ctwm-3_7-beta2, and is distributed as a
preview, linked from http://ctwm.free.lp.se/.  It should be visible as
soon as deployed, which should be at around 15:10 UTC.

Please try this beta, and pay extra attention to stuff that happens
around restarts.  I've experienced a frozen ctwm in an early
incarnation of this rework, and am not 100% I got all the corner
cases.

Patches will be joyfully accepted.

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis


Re: [ANNOUNCE] Releasing ctwm 3.7 beta2.

2005-05-03 Thread Matthew D. Fuller
On Tue, May 03, 2005 at 05:02:49PM +0200 I heard the voice of
Richard Levitte - VMS Whacker, and lo! it spake thus:
 
 Release of ctwm 3.7 beta 2.

FreeBSD port updated (heck with the patches, they're 3/4 of the size
of the whole port anyway).

http://www.over-yonder.net/~fullermd/dl/ctwm-b2-port.tar.gz


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.


Re: [ANNOUNCE] Releasing ctwm 3.7 beta2.

2005-05-03 Thread Gary Kline
On Tue, May 03, 2005 at 05:02:49PM +0200, Richard Levitte - VMS Whacker wrote:
 Hi,
 
 Release of ctwm 3.7 beta 2.
 
 Two major changes since beta 1:
 
  - The information window now displays both the inner and outer
geometry, and also displays the 3D border width.
  - SIGHUP can now be signaled several times, and ctwm should restart
each time, not just the first.  The restart code has been cleaned
up as a result.  Johan Vromans should be happy with this, I hope :-)
 
 This release is tagged ctwm-3_7-beta2, and is distributed as a
 preview, linked from http://ctwm.free.lp.se/.  It should be visible as
 soon as deployed, which should be at around 15:10 UTC.
 
 Please try this beta, and pay extra attention to stuff that happens
 around restarts.  I've experienced a frozen ctwm in an early
 incarnation of this rework, and am not 100% I got all the corner
 cases.
 
 Patches will be joyfully accepted.
 

*Finally* my favorite WM is on the move; I'm smiling.
When the port-maintainer has created a FreeBSD port,
of 3.7, I'll hammer on it.  One question: does 3.7
have thw gnome hooks added in?  There are several
gnome and kde apps I would like to use, but without
the sludge of either gnome or kde.

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix



Re: [ANNOUNCE] Releasing ctwm 3.7 beta2.

2005-05-03 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 3 May 2005 10:11:36 -0700, Gary Kline 
[EMAIL PROTECTED] said:

kline  *Finally* my favorite WM is on the move; I'm smiling.

Heh, yeah, it's taken me some time to get up to speed.

kline  When the port-maintainer has created a FreeBSD port,
kline  of 3.7, I'll hammer on it.

Someone posted a link to the necessary stuff to have beta2 as a port.
You've probably seen it by now.

kline  One question: does 3.7 have thw gnome hooks added in?  There
kline  are several gnome and kde apps I would like to use, but
kline  without the sludge of either gnome or kde.

The Gnome stuff I know of that's in 3.7 is described by this entry in
CHANGES:

4 - Preliminary GNOME compliance (see README.gnome and TODO.gnome)
(by Nathan Dushman).

I came in as maintainer after most of the Gnome stuff was worked on,
so I can't really say for sure if the thw hooks are in or not.  Can
you point at something that helps me figure it out?  It's quite
possible this is something that slipped my mind...

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis


Re: [ANNOUNCE] Releasing ctwm 3.7 beta2.

2005-05-03 Thread Rhialto
On Tue 03 May 2005 at 10:11:36 -0700, Gary Kline wrote:
One question: does 3.7
   have thw gnome hooks added in?  There are several
   gnome and kde apps I would like to use, but without
   the sludge of either gnome or kde.

You can use the apps just fine, that's not a problem. Most of them don't
use any specific Gnome capabilities anyway - that is more the domain of
the desktop application. Which, from your remark, you don't want to use
anyway.

I use ctwm and the occasional gnome/gtk program and see hardly any
difficulties. Maybe the only thing is that ctwm does not know about
something called layers, which is probably what keeps Nautilus windows
in the background.

When I still used a gnome-1 desktop, the workspace manager wasn't
completely integrated in the gnome workspace manager. But since ctwm's
idea of that is more advanced anyway (gnome only allows a window to
exist in either one or all workspaces, not in some other subset), it is
questionable if it could be properly integrated anyway.

   gary
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert--  rhialto/at/falu.nl
\X/ Hi! I'm a signature virus! Copy me to your .signature to help me spread!


Re: [ANNOUNCE] Releasing ctwm 3.7 beta2.

2005-05-03 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 3 May 2005 13:32:50 -0700, Gary Kline 
[EMAIL PROTECTED] said:

kline  PS: Is there a way of closing/exiting a window/xterm/app
kline  in 3.7?  I've got a Delete Window entry in my CTWM
kline  left mouse-button popup, but an [X] in the upper right
kline  corner of the app would be a major win.  -g

I've got this in my .ctwmrc:

RightTitleButton :xpm:cross {
Button1 : f.delete
}

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis