[ctwm] Re: VCSage

2014-04-25 Thread Richard Levitte
2 cents...  if it was me, I'd choose between hg/bitbucket and
git/github...  not necessarely because I think they are the top of the
top, but because they seem to be the two most popular, and they seem
to be strongly viable...  and push come to shove, they are good
enough.

But that's only my two cents, an informed opinion.  The choice is
really yours.

In message 20140424052417.gy62...@over-yonder.net on Thu, 24 Apr 2014 
00:24:17 -0500, Matthew D. Fuller fulle...@over-yonder.net said:

fullermd  Well, I'll put together another mail to yack about VCSage.
fullermd 
fullermd   (Directly cc'ing people who've Author'd commits since 2008[0], on
fullermd   the theory that they're the most affected by the matter.)
fullermd 
fullermd So in shuffling stuff around, the question of what to do with source
fullermd repos comes up.  Current status: everything in mtn, Richard hosting.
fullermd With Richard wanting to stop, and me not comfortable starting, we'll
fullermd need that third option.  So, the obvious ways ahead I see are:
fullermd 
fullermd - If I had my druthers[1], I'd stick everything in bzr[2], and
fullermd   probably tap Launchpad for primary hosting.  That'd let us setup
fullermd   team access easily enough.  Could setup a local HTTP dumb-server
fullermd   mirror beside the website as fallback.
fullermd 
fullermd - Keep things in mtn and host somewhere.  http://code.monotone.ca
fullermd   and http://mtn-host.prjek.net/ have been found/mentioned as
fullermd   presumptively available 3rd party hosts.  I have no knowledge one
fullermd   way or another on their stability or other suitability.  Or,
fullermd   somebody here who wants can setup a host for it somewhere and we can
fullermd   point at it.
fullermd 
fullermd - Dump it into git and drop it on github.  Apparently that's what the
fullermd   cool kids do nowadays.  Being the In Thing makes it theoretically
fullermd   the option that makes it easiest for new contributors to jump in and
fullermd   do stuff.  Whether that's really a barrier or would be a meaningful
fullermd   gain for contributions to a C/Xlib window manager with a rather
fullermd   small userbase in its 3rd decade, I look kinda doubtful at but
fullermd   express no strong opinion.
fullermd 
fullermd - ... other options that all seem a lot lower on the likelihood scale.
fullermd   Someone here like hg/bitbucket?  Resident nutcase big into darcs?
fullermd   Groundswell of opposition to DVCSen altogether wishing we were back
fullermd   in CVS or stuck in SVN?  I don't see anything aside from the above 3
fullermd   that looks particularly attractive at the moment, but I'll listen to
fullermd   ideas.
fullermd 
fullermd 
fullermd 
fullermd So.  Opinions and suggestions from people likely to end up using it,
fullermd on what it should be?
fullermd 
fullermd 
fullermd 
fullermd [0] Which I was about to say is the last 4 years, except ermigawd
fullermd it's 6 years now.  Furrfu.
fullermd 
fullermd [1] Well, first, I'd get them appraised, 'cuz who even knows the
fullermd market value of druthers nowadays?
fullermd 
fullermd [2] Discussions of why $VCS1 over $VCS2 from the using-it perspective
fullermd elided.  If the topic's worth discussing we totally can, but
fullermd there's no point decanning those worms before we have to  :)
fullermd 
fullermd 
fullermd -- 
fullermd Matthew Fuller (MF4839)   |  fulle...@over-yonder.net
fullermd Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
fullermdOn the Internet, nobody can hear you scream.



Re: [ctwm] Time for someone else to take over...

2014-04-23 Thread Richard Levitte
In message 20140422161013.gm62...@over-yonder.net on Tue, 22 Apr 2014 
11:10:13 -0500, Matthew D. Fuller fulle...@over-yonder.net said:

fullermd On Tue, Apr 22, 2014 at 01:05:26PM +0200 I heard the voice of
fullermd Richard Levitte, and lo! it spake thus:
fullermd  
fullermd  I guess that interest is pretty damn non-existent then...
fullermd  
fullermd  [...]
fullermd  
fullermd  Deadline: mid may, I plan on pruning away free.lp.se and all that's
fullermd  included in it in the weekend of may 17-18.
fullermd 
fullermd Ah, well, I read it as more a hey, I'm not really doing anything
fullermd here, somebody who is feel free to pick it up than a get it away,
fullermd get it away, kill it!   8-}

It's a little in between.  I don't really want to kill ctwm
permanently, it's just that I'm cleaning up the clutter in my life,
getting rid of loose ends, and I'm thinking that if I've no interest
in doing work on ctwm myself, having lie around on my server will just
have end up as a dusty pile of bits...  it's better that someone who
cares a bit more takes over.

It's Spring, I'm doing Spring Cleaning!  ;-)

fullermd While I don't get time to do much, I do maintain an interest (hey,
fullermd I've even pushed up 2 commits already this year! ;).  I can certainly
fullermd take over web site handling.  Probably mailing lists too.

Do you want to have the member list for easy take-over?

fullermd Code repo may be another story.  I don't feel like I know mtn well
fullermd enough to feel comfortable hosting it.  A little browsing around only
fullermd turns up one seemingly-live 3rd party hosting site.  So maybe it would
fullermd be time to VCS-migrate as part of the process.

I suppose you're talking about code.monotone.ca?

fullermd Richard mentioned the github mirror; it's a couple commits behind, but
fullermd that's presumably trivial to update.  I'm not a big git fan, but it's
fullermd out there and there are lots of hosting options.  I do love bzr, which
fullermd has several hosting options, but while somewhat more lively than mtn,
fullermd it's not by leaps and bounds sadly.  I'm not aware of any existing
fullermd ctwm momentum or users pushing hg, which seals up the triumvirate of
fullermd the common DVCSen (in my experience, anyway).  So with hg not being
fullermd pushed at all, bzr probably only by me, and mtn not obviously
fullermd attractive from the project management direction, it seems like we may
fullermd wind up with git by default   :|   Well, at least it's not CVS...

Whichever way you choose to go, I'm sure you'll do fine ;-)

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish



Re: [ctwm] Time for someone else to take over...

2014-04-22 Thread Richard Levitte
Wow!  I didn't quite expect this amount silence.

I guess that interest is pretty damn non-existent then...

Well then...  I'm thinking I'm going to drop this project entirely.
This means that it will have to move elsewhere, database, web site,
mailing lists.  Most of it is at your fingertips, all anyone of you
needs to do is to take the updated (make sure you've got all branches)
database you currently have and set up a server around it, extract the
web pages from the free.lp.se:X.ctwm.web branch and go! ... well, that
and resurect the mailing lists.

Deadline: mid may, I plan on pruning away free.lp.se and all that's
included in it in the weekend of may 17-18.

Cheers,
Richard

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish

---BeginMessage---
Hi all,

Actually, the subject line doesn't say it all, it's really been time
for quite a while.

Things are changing, life is going on, and I've been quite aware for a
while that I haven't lifted a finger on this project for a long while.
I've done some thinking on this and other stuff during the summer, to
see where I feel motivated...  and I came to the conclusion that my
motivation to keep working on ctwm has been close to none for that
long while, and that I really need to let go, let someone else take
over.

Any takers?  I've noticed some activity just recently, so I imagine
there should be some interest.  As a side note, there's a clone/fork
on github, https://github.com/sroracle/ctwm .  I believe this was
mentioned on this list some time ago.  I have no idea if it's of
interest.

From a practical point of view, I can keep the web site, monotone
database, mail and all that running on my server, but in the long run,
it might be a good idea to move it wherever the one taking over
wishes.  Just tell me what you need and I'll help as much as I can.

Cheers,
Richard

P.S.  If there are no takers, I will have to consider simply dropping
the project.  Nothing I particularly enjoy, but...

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish

---End Message---


[ctwm] Time for someone else to take over...

2013-09-11 Thread Richard Levitte
Hi all,

Actually, the subject line doesn't say it all, it's really been time
for quite a while.

Things are changing, life is going on, and I've been quite aware for a
while that I haven't lifted a finger on this project for a long while.
I've done some thinking on this and other stuff during the summer, to
see where I feel motivated...  and I came to the conclusion that my
motivation to keep working on ctwm has been close to none for that
long while, and that I really need to let go, let someone else take
over.

Any takers?  I've noticed some activity just recently, so I imagine
there should be some interest.  As a side note, there's a clone/fork
on github, https://github.com/sroracle/ctwm .  I believe this was
mentioned on this list some time ago.  I have no idea if it's of
interest.

From a practical point of view, I can keep the web site, monotone
database, mail and all that running on my server, but in the long run,
it might be a good idea to move it wherever the one taking over
wishes.  Just tell me what you need and I'll help as much as I can.

Cheers,
Richard

P.S.  If there are no takers, I will have to consider simply dropping
the project.  Nothing I particularly enjoy, but...

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish



Re: [ctwm] Re: Order of (un)mapping windows when switching workspaces

2013-07-27 Thread Richard Levitte
In message jwvy58wqzo7.fsf-monnier+in...@gnu.org on Wed, 24 Jul 2013 01:46:52 
-0400, Stefan Monnier monn...@iro.umontreal.ca said:

monnier  I've been meaning to clean it up for inclusion for several years 
now,
monnier  but never got the motivation high enough to actually do it.
monnier  Sounds good! I'd like to see that patch, even if not fully cleaned 
up.
monnier 
monnier Hmm... I have it in a local branch, but my monotone fu is down to zero
monnier these days.  Could someone give me a quick way to get the diff between
monnier my branch and the closest ancestor on the main ctwm branch?

mtn diff -r 'lca(h:free.lp.se:X.ctwm,h:{yourbranch})'

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish



Re: [ctwm] Location of official CTWM source repository?

2013-02-13 Thread Richard Levitte
You're absolutely right, the location of that description wasn't the
most obvious.  I've changed it to appear in the Downloads section.
Also, I've changed the crash course a little bit, it's now much more
adapted to what monotone can do today.

Cheers,
Richard

In message 20130213023648.422bd3e9...@c-24-147-244-63.hsd1.ma.comcast.net on 
Tue, 12 Feb 2013 21:36:48 -0500, Michael O'Donnell mod.c...@b0rken.com said:

mod.ctwm 
mod.ctwm 
mod.ctwm Bingo!  With those instructions it was trivial to snag my
mod.ctwm own local copy of the sources - thanks.  Perhaps they could
mod.ctwm be posted in a slightly more obvious location...?
mod.ctwm 
mod.ctwm What do we know about the downstream Debian connection and
mod.ctwm some way to induce them to pull the latest versions?
mod.ctwm 
mod.ctwm  Is the official CTWM source repository accessible?
mod.ctwm 
mod.ctwm  It doesn't seem to be directly linked, but the first part
mod.ctwm  of http://ctwm.free.lp.se/monotone-crash-course.html still
mod.ctwm  gives good info for getting it (at least, that still seems to
mod.ctwm  be where I'm getting stuff from).
mod.ctwm 



Re: [ctwm] Some diffs I have locally

2013-02-12 Thread Richard Levitte
In message 20130211225532.gu22...@falu.nl on Mon, 11 Feb 2013 23:55:32 +0100, 
Rhialto rhia...@falu.nl said:

rhialto Shall I clean up the commented-out code from below and commit, or 
should
rhialto I not bother?

If it's debugging prints, I'd say remove them or surround them with
#ifdef DEBUG..#endif.  Also, I'd very much like if debug messages were
clearly marked as such, take this as an example (from add_window.c):

  #ifdef DEBUG
  fprintf(stderr, DEBUG[DontMoveOff]: availableY: %d\n,
  available);
  #endif

For other lines, if you feel safe removing them, please do.  If you're
uncertain (for example if there's a line you've commented away but
aren't entirely sure that's the right thing to do), please leave it
there.

Also, I'd much rather have comments in traditional C format (you know,
/* ... */) rather than C++ format (//...).  There's a risk of hitting
older C compilers that will break on the // variant.

Cheers,
Richard

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish



Re: [ctwm] serious bug of xterm on ctwm

2012-10-25 Thread Richard Levitte
In message 20121025102021.ga27...@fermat.math.technion.ac.il on Thu, 25 Oct 
2012 12:20:21 +0200, Nadav Har'El n...@math.technion.ac.il said:

nyh The problem is that it appears that ctwm sets _NET_SUPPORTING_WM_CHECK
nyh but then doesn't keep this window 0x8b running.

: levitte@lapdog:~/monotonework/free.lp.se/X/ctwm
: ; grep SUPPORTING_WM * 2/dev/null
gnome.c:  Atom _XA_WIN_SUPPORTING_WM_CHECK, _XA_WIN_PROTOCOLS,
gnome.c:  _XA_WIN_SUPPORTING_WM_CHECK  = XInternAtom (dpy, 
_WIN_SUPPORTING_WM_CHECK, False);
gnome.c:XChangeProperty (dpy, vs-wsw-w, _XA_WIN_SUPPORTING_WM_CHECK, 
XA_CARDINAL, 32, 
gnome.c:XChangeProperty (dpy, Scr-Root,  _XA_WIN_SUPPORTING_WM_CHECK, 
XA_CARDINAL, 32, 
gnomewindefs.h:#define XA_WIN_SUPPORTING_WM_CHECK _WIN_SUPPORTING_WM_CHECK


No _NET_SUPPORTING_WM_CHECK in sight.  Are you sure it's ctwm that
does this?

Cheers,
Richard

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish



Re: [ctwm] ctwmrc

2012-07-02 Thread Richard Levitte
Aha!

From the look of it, your X server isn't properly configured, it's
thinking the display has a different dimension.  The fact that some
lines of text have a grey edge and others don't is a dead giveaway.

I dunno how you configure things, there are a number of GUI tools
around these days, and I'm still at editing /etc/X11/xorg.conf...

Now, I don't know which X11 incantation you use.  As you might guess,
I use Xorg, so I'll take it from that one, please translate to yoru
configuration file (which looks the same, it's just likely to have a
somewhat different name if you don't run Xorg).  If you hack that
file, look for the Screen section, add a Subsection Display with the
dimensions of your display (you should have a man page xorg.conf(5) or
similar).

If you run Xorg, you can remove the Screen section, unless you have a
complex multi-display/multi-graphcard setup.  Xorg is pretty smart in
figuring out the hardware.

Cheers,
Richard

In message CA+YGHLGikt2OE=n8rrca4hpmbuk5+2isa3gd_jpurpk-3-u...@mail.gmail.com 
on Mon, 2 Jul 2012 15:58:56 +0530, Ravi Uday raviu...@gmail.com said:

raviuday Thanks for the reply.
raviuday 
raviuday I have attached a png shot with 1680x1050 display.
raviuday I am not sure how to find what fonts I am using.. Pls let me know any
raviuday commands i could use on my lds server.
raviuday 
raviuday - Ravi
raviuday 
raviuday On Mon, Jul 2, 2012 at 3:21 PM, Richard Levitte rich...@levitte.org 
wrote:
raviuday  In message 
ca+yghlev_ae8wkpqmg5a6nyf0x1gta+r-wov8udt4c37atd...@mail.gmail.com on Mon, 2 
Jul 2012 14:45:30 +0530, Ravi Uday raviu...@gmail.com said:
raviuday 
raviuday  raviuday Does anyone have a sample of .ctwmrc which works for 
display of
raviuday  raviuday 1680x1050
raviuday  raviuday Suddenly my fonts and code looks horrible :(
raviuday 
raviuday  How does the titles, ctwm menus, workspace manager, icon manager, 
that
raviuday  sort of thing look?  Outside of that, it's in the application and in
raviuday  the fonts available with your X server.  How are fonts served, are 
you
raviuday  using xft or something like that?  Do you use ttf fonts?
raviuday 
raviuday  Cheers,
raviuday  Richard
raviuday 
raviuday  --
raviuday  Richard Levitte rich...@levitte.org
raviuday  http://richard.levitte.org/
raviuday 
raviuday  Life is a tremendous celebration - and I'm invited!
raviuday  -- from a friend's blog, translated from Swedish
raviuday 



Re: [ctwm] Evaluating our requirements

2012-01-09 Thread Richard Levitte
In message 20120109042459.gs72...@over-yonder.net on Sun, 8 Jan 2012 22:24:59 
-0600, Matthew D. Fuller fulle...@over-yonder.net said:

fullermd On Sun, Jan 08, 2012 at 10:45:32PM -0500 I heard the voice of
fullermd Stefan Monnier, and lo! it spake thus:
fullermd   fair conformance to C89.  What systems do we care about that don't
fullermd   have reasonably competent C99 support?
fullermd  
fullermd  C99 support is unclear: e.g., AFAIK, gcc doesn't fully support
fullermd  C99, tho it has supported many parts of it for quite a while.
fullermd 
fullermd Well, hence reasonably competent, rather than complete :)  Total
fullermd support is fairly uncommon in any mainstream compilers.

I have zero problems with the thought of upgrading to a more modern
standard.  Also, if it is important to keep support for uncommong
things (such as a 16-bit int), it's not really difficult to have a set
of support macros that do things differently based on, say, sizeof(int).

I foresee no real C99 problems on platforms like the ones mentioned
earlier in this thread (VMS, ...)

fullermd In contrast, a lack of that fairly common subset would be
fullermd more expected in obsolescent systems (AIXV3, say).
fullermd Clarifying how much real pain drawing the line in various
fullermd places causes actual users is what I want to draw out here.

Another view is to simply start working on it, and fix the introduced
limitations of someone screams...

Personally, I have an additional desire, and it's to check against
things like ICCCM and make additions to comply.

Those two things could very well be goals for version 4.0

Cheers,
Richard

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish



Re: [ctwm] [ANNOUNCE] CTWM 3.8.1 released

2012-01-08 Thread Richard Levitte
In message 20120108171059.gp72...@over-yonder.net on Sun, 8 Jan 2012 11:10:59 
-0600, Matthew D. Fuller fulle...@over-yonder.net said:

fullermd On Thu, Jan 05, 2012 at 11:11:37AM +0100 I heard the voice of
fullermd Richard Levitte, and lo! it spake thus:
fullermd  
fullermd  I'm releasing ctwm 3.8.1, [...]
fullermd 
fullermd For future releases, let's stick with dotted decimal numbers, and not
fullermd have another X.Ya.  I had to swing a big hammer for FreeBSD because
fullermd the package version comparison routines consider 3.8a to be greater
fullermd than 3.8.1 (8a being greater than 8).

Agreed.

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish



[ctwm] [ANNOUNCE] CTWM 3.8.1 released

2012-01-05 Thread Richard Levitte
Hi,

It's been a while, and as per a request on the ctwm list, I'm
releasing ctwm 3.8.1, which contains all the latest fixes that have
been committed on the main branch (see the README file).

The web site is updated with everything I can remember.

Following are the visible changes implemented in this version.

Changes from version 3.8 to 3.8.1
-

1 - Fix bug causing [de]iconified status of windows to not be
maintained across workspaces.
[Matthew Fuller]

2 - Quite a bunch of compiler warnings.
[Matthew Fuller]

3 - Make sure we fully initialize our WorkSpaceWindow structure so
we don't try to dereference uninitialized pointers later on.
[Matthew Fuller]

4 - Increased the number of supported mouse buttons again, having
just heard of a mouse with 9 possible buttons...
[Richard Levitte]

5 - Fix a bug in the warping next function, where if there is a
single window and the cursor is not on it, invoking 'f.warpring
next' does nothing.
[Martin Blais]

6 - Introduce a new feature called SaveWorkspaceFocus, which when
enabled, makes ctwm remember which window has the focus within
each virtual workspace. As you switch workspaces, the cursor is
automatically warped to the window previous in focus in the
workspace. This significantly reduces the amount of mouse use.
[Martin Blais]

7 - From Matthias Kretschmer krets...@cs.uni-bonn.de:
f.fill patch.
Without the patch, you might get windows which are increased by
two times the border width more than it should be.  Additionally
if you place a window with no/not much size contrainst like
firefox in the upper left corner and perform f.fill top or
f.fill left the size of the window will increase by two times
the border width in width and height without changing the
top-left coordinate without the patch.  Of course in such a
situation the size should not change at all... 
[via Olaf Seibert]


Cheers,
Richard

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish



Re: [ctwm] Putting a development diff on the website.

2012-01-04 Thread Richard Levitte
In message 20120104104858.ga72...@over-yonder.net on Wed, 4 Jan 2012 04:48:58 
-0600, Matthew D. Fuller fulle...@over-yonder.net said:

fullermd On Tue, Jan 03, 2012 at 11:11:53AM +0100 I heard the voice of
fullermd Rhialto, and lo! it spake thus:
fullermd 
fullermd  That made me think it would be better to just have a cumulative
fullermd  patch for everything since ctwm-3.8a. And in turn that made me
fullermd  wonder if it would make sense to just put such a diff on the
fullermd  website, next to the release itself.
fullermd 
fullermd Instead of a diff, why not just do a tarball instead?  We could call
fullermd it ctwm-3.8.1.tar.gz, see...

... or both ;-)

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish



Re: [ctwm] Strange effect when upgrading NetBSD and X

2009-05-13 Thread Richard Levitte
I run Debian [unstable] on my laptop, and switched to X.org a long
time ago.  Running 1.6.1 for the moment.

I have seen no changes in ctwm's behavior, at least when it comes to
the 3D effects (I think the only things I noticed were some distinct
font changes ;-)).

Is your ctwm compiled by you, or is it a package that comes with
NetBSD?  Could it be that there's been some configuration changes
somewhere that went unnoticed?

In message 20090512202328.ge...@falu.nl on Tue, 12 May 2009 22:23:28 +0200, 
Rhialto rhia...@falu.nl said:

rhialto I have updated my laptop from NetBSD 4.0 to 5.0, which also means X has
rhialto changed from XFree86 4.5.0 to X.org 1.4.2.
rhialto 
rhialto Now my WorkSpaceManager window and the pop-up menus look incorrect.
rhialto 
rhialto The pop-up menus are missing their 3D highlighting lines around the
rhialto sides.
rhialto 
rhialto The WorkSpaceManager seems to get no expose (redraw) events. The little
rhialto window titles and the 3D highlighting lines along the sides of the
rhialto little windows disappear if you put something on top. I can force a
rhialto redraw by selecting things inside, or simpler, switching to button
rhialto view and back (pressing and releasing Control inside the
rhialto WorkSpaceManager window).
rhialto 
rhialto http://www.falu.nl/~rhialto/ctwm-xorg/win1.png shows what it looks 
like,
rhialto and 
rhialto http://www.falu.nl/~rhialto/ctwm-xorg/win2.png shows the difference on
rhialto my un-updated machine.
rhialto 
rhialto Has anyone seen anything like this?



Re: [ctwm] Raising a window from an external program

2008-04-29 Thread Richard Levitte
In message [EMAIL PROTECTED] on Tue, 29 Apr 2008 12:04:57 +0200, Frank 
Steiner [EMAIL PROTECTED] said:

fsteiner-mail1 Is there any chance that EWMH will be implemented in
fsteiner-mail1 ctwm? I'm not sure how actively ctwm maintained and
fsteiner-mail1 developed...

It's been kind of quiet lately, but that shouldn't stop anyone.

EWMH could be implemented any time, as soon as someone steps up and
does it.  Right now, I'd say it's as much in the air as support for
all of ICCCM.

The basic mantra I go by is: patches are welcome!  Developers as
well.  Would you be the one to implement EWMH support?  You're most
welcome if that's the case.

Cheers,
Richard ( who might look into EWMH at some point as well, given time )

-
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: [ctwm] Application-initiated window movement ignored

2008-03-31 Thread Richard Levitte
In message [EMAIL PROTECTED] on Mon, 31 Mar 2008 17:16:01 -0400, Stefan 
Monnier [EMAIL PROTECTED] said:

monnier When I try
monnier 
monnier   M-: (set-frame-position (selected-frame) 500 500) RET
monnier 
monnier in Emacs, the window is moved to position +500+500 with the
monnier various window-managers I've tested, but not with my trusty
monnier old ctwm.

I just tried, and it ends up exactly where I expect it to.  Where does
your emacs end up?

Oh, and first things first, what ctwm version do you use?  I use 3.8a
plus development changes.

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: [ctwm] Depth-arrangement of windows is not preserved?

2007-12-04 Thread Richard Levitte
In message [EMAIL PROTECTED] on Tue, 4 Dec 2007 17:46:23 -0600, Matthew D. 
Fuller [EMAIL PROTECTED] said:

fullermd On Tue, Dec 04, 2007 at 07:58:02AM +0100 I heard the voice of
fullermd Richard Levitte, and lo! it spake thus:
fullermd  
fullermd  I don't agree with that, as tally clearly has a boolean intent.
fullermd 
fullermd Ah, but it doesn't; it's ++'d, not =1'd.  Clearly it's a
fullermd counter, not a boolean.

You do realise that we've left the realm of technological precision
and entered the realm of human subjectivity (something that C
obviously allows!) a long time ago, don't you?  :-)

So you're zeroing in on the ++ and believe that says everything, eh?
However, considering how tally is used everywhere else, it's use is
boolean in the context that it is used.  The way it's used, I can see
clear true/false semantics.
I suspect tally was used a bit more, but that the code has gone
through modifications since.  This probably happened before my time,
so to say...

fullermd  if (!tally) could as well be if (buf[0] == '\0')
fullermd 
fullermd But it could as well be if (!buf[0]) too.  Where do you
fullermd draw the line?

You're absolutely correct, and again, we're in the realm of human
subjectivity.

fullermd  That's misuse of a tristate value.  It can't be used as a
fullermd  boolean.  This is a case where I agree with you.
fullermd 
fullermd Well, but I see it (as well as the above) as the same case.
fullermd It most certainly can be used as a 'boolean' in the C if()
fullermd manner, since it returns something that can get treated as a
fullermd number.

Ah, but since it doesn't return a number that has clear true/false
semantics, I can't see it as a boolean.

fullermd And I've seen it so used more times than I have the stomach
fullermd lining to recall.  It's more amenable to such treatment than
fullermd a pointer, come to that; it's only a tri-state, not a 2**32
fullermd (or 2**64, for that matter)-state

No, the boolean semantics in C are clear: 0 is false, everything else
is true.  It doesn't matter how many bits are involved.

fullermd  fullermd a fair number of C coding standards I've seen
fullermd  fullermd mandate no explicit comparison for obvious
fullermd  fullermd predicates, and require the comparison when it's
fullermd  fullermd not).
fullermd  
fullermd  Actually, I like that.  Now, all we need to clear is what
fullermd  constitutes the grey area of what is obvious and what is
fullermd  not.
fullermd 
fullermd Oh, well, that's the crux of the disagreement, isn't it?  ;)

Isn't it always?  I think it's called being human :-).

fullermd I suspect that we've plowed this furrow pretty well by now,
fullermd though.  I think we're doomed to disagree.  Worse, I think
fullermd I'm outvoted  :(.  So, do you want to declare a Project
fullermd Style on it, or leave it open?

Considering I view this as a community effort rather than My Project,
I view this discussion and the potential result the same way.  So I
suggest that we keep talking but also start building a document that
can slowly evolve to something we all (or at least those who care) can
agree upon.

One way to resolve endless disputes is to actually leave the point of
discussion open or leave it as a recommendation.  For example, what we
have discussed above could be summarised like this (I'm stealing your
examples):

  
  In all conditional/boolean expressions, it's recommended to have
  explicit tests unless the expression is glaringly obviously intended
  as a boolean.  A few examples:

 /* In this example, the function user_can_change() is obviously
intended to return a boolean value that it's unnecessary to
have an explicit test.  */
 if(user_can_change(this)==1) /* UNNECESSARY */
 if(user_can_change(this))/* GOOD */

 /* In the following examples, the resulting values from
get_next_window() and strcmp() aren't clearly boolean, so
explicit tests of the results are recommended to avoid
confusion and programming errors.  */
 while((tmp = get_next_window())) /* CONFUSING */
 while((tmp = get_next_window()) != NULL) /* GOOD */

 if(!strcmp(x, y))   /* CONFUSING */
 if(strcmp(x, y)!=0) /* GOOD */

  In all cases when your code can be confusing, you're leaving
  yourself open to possible critique and unnecessary questions.
  

The rest is simply up to each.  Considering I'm sure everyone has an
itch to scratch (like you most obviously do ;-)), whatever needs
changing will be changed.

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

Re: [ctwm] Re: mtn-isms

2007-12-03 Thread Richard Levitte
In message [EMAIL PROTECTED] on Mon, 3 Dec 2007 23:18:36 -0600, Matthew D. 
Fuller [EMAIL PROTECTED] said:

fullermd Richard,
fullermd 
fullermd  [...] How do other mtn-using projects do this?  [...]
fullermd 
fullermd Any thoughts on this?  Cert-less revs seem like they have
fullermd bad side effects even aside from the seeming semantic
fullermd imprecision, but all these obvious alternatives are pretty
fullermd messy...

Didn't I already comment on this?  Actually, I don't have much
experience from other mtn-using projects except for monotone itself.
Quite honestly, I don't really see a problem, except for the fact that
things look a bit weird in mtn-viz.  (oh, and you mean branch-less
revs, right?  ;-))

There's a very simple rule with monotone: no part of the history goes
away (branch certs aren't considered part of the history, they are
just certs...  markers if you will).  Of course, as long as your
revisions are only present in your own database, you can do whatever
you want as long as you know what you're doing, but as soon as things
get distributed, there's really no guaranteed way to lose any
revision.
Most projects that I know of simply adapt, and it's not even difficult.

Cheers,
Richard



Re: [ctwm] SaveWorkspaceFocus

2007-12-02 Thread Richard Levitte
In message [EMAIL PROTECTED] on Sun, 02 Dec 2007 15:39:38 -0800, Martin 
Blais [EMAIL PROTECTED] said:

blais Allright, Rhialto, I looked into it, I'm pretty convinced that
blais these comments out bits were just for debugging stuff.
blais Sorry about that.
blais Here is a patch that brings back these, and the SaveWorkspaceFeature
blais still works fine on my box.

Added, committed, pushed.

I'm wondering if you missed something, though (see the 2 lines
starting with !!):

   @@ -639,7 +635,7 @@ void GotoWorkSpace (virtualScreen *vs, W
!!  /* /\* keep track of the order of the workspaces across restarts *\/ */
!!  /* CtwmSetVScreenMap(dpy, Scr-Root, Scr-vScreenList); */

   -/* XSync (dpy, 0); */
   +XSync (dpy, 0);
if (Scr-ClickToFocus || Scr-SloppyFocus) set_last_window (newws);
MaybeAnimate = True;
}

Are those lines supposed to stay?

(yeah, I know, I'm picking nits, but if can keep the code a little bit
cleaner, it's probably gonna be a win in the long run)

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: [ctwm] SaveWorkspaceFocus

2007-12-01 Thread Richard Levitte
In message [EMAIL PROTECTED] on Fri, 30 Nov 2007 12:47:17 -0800, Martin 
Blais [EMAIL PROTECTED] said:

blais This patch introduces a new feature called SaveWorkspaceFocus, which
blais when enabled, makes ctwm remember which window has the focus within
blais each virtual workspace. As you switch workspaces, the cursor is
blais automatically warped to the window previous in focus in the workspace.
blais This significantly reduces the amount of mouse use.

Added, committed, pushed.

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



[ctwm] Re: mtn-isms

2007-11-23 Thread Richard Levitte
In message [EMAIL PROTECTED] on Fri, 23 Nov 2007 05:22:30 -0600, Matthew D. 
Fuller [EMAIL PROTECTED] said:

fullermd Well, OK  (and in my database, they're not on X.ctwm,
fullermd they're on free.lp.se:X.ctwm.compiler_errors, so even a viz
fullermd on X.ctwm there wouldn't show them?).  But if prop doesn't
fullermd do so (why not?), how WOULD I have brought those changes in
fullermd so that they got certs for the X.ctwm branch?  I mean,
fullermd they're SUPPOSED to be on that branch now, right? Shouldn't
fullermd they be noted as such?

1) if the off side branch really is free.lp.se:X.ctwm.compiler_errors,
   it should be visible to the rest of us, since my server accepts the
   glob free.lp.se:X.ctwm*.  There are already a few other
   subbranches that prove this.
2) mtn propagate only creates a new revision that is placed in the
   target branch, it doesn't add any branch certs to already existing
   revisions.  But then, you didn't do a propagate either, you just
   commited 4da54949171b2cc1c5f467318daf87b683a77d9b into
   free.lp.se:X.ctwm, didn't you?  Or alternatively, you simply added
   a branch cert to it?

If you want all those revisions that are currently branch-less to the
rest of us into free.lp.se:X.ctwm, you will simply have to add a
branch cert to each of them, like this:

   mtn cert 6eb1af5f822cafe715c4e46f37ea3bc808e7a5f5 branch free.lp.se:X.ctwm

But you know, before doing so, I'd like you to recheck that there's no
spelling error in free.lp.se:X.ctwm.compiler_errors that made it fall
outside of the pattern accepted by guardian.

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



[ctwm] Re: mtn-isms

2007-11-23 Thread Richard Levitte
In message [EMAIL PROTECTED] on Fri, 23 Nov 2007 06:31:48 -0600, Matthew D. 
Fuller [EMAIL PROTECTED] said:

fullermd On Fri, Nov 23, 2007 at 01:16:20PM +0100 I heard the voice of
fullermd Richard Levitte, and lo! it spake thus:
fullermd  In message [EMAIL PROTECTED] on Fri, 23 Nov 2007 05:22:30 -0600, 
Matthew D. Fuller [EMAIL PROTECTED] said:
fullermd  
fullermd  1) if the off side branch really is 
free.lp.se:X.ctwm.compiler_errors,
fullermd it should be visible to the rest of us, since my server accepts 
the
fullermd glob free.lp.se:X.ctwm*.  There are already a few other
fullermd subbranches that prove this.
fullermd 
fullermd Well, that was the point of the workflow; X.ctwm.compiler_errors
fullermd only exists in my 'ctwm.fullermd' repo, from which only
fullermd X.ctwm gets pushed into my 'ctwm' repo, which is the one
fullermd that talks to guardian.

Oh, right, I see, so the revisions got pushed but not the branches
other than free.lp.se:X.ctwm because that's the pattern you use when
pushing?  That makes sense.

fullermd No, I did prop it:
fullermd % history | grep 'mtn prop'
fullermd 48  11:41   time mtn prop free.lp.se:X.ctwm.compiler_errors 
free.lp.se:X.ctwm

Ah, and the following explains it:

fullermd No merge rev was created because X.ctwm's head hadn't moved
fullermd since I branched off into X.compiler_errors.  4da549 was the
fullermd head on X.ctwm.compiler_errors at the time I did the prop
fullermd (and is still the head of course; I update'd my workspace
fullermd away from that branch and don't intend to ever look at it
fullermd again).

That's a special case where propagate simply adds a branch cert with
the target branch to the head of the originating branch.

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



[ctwm] Re: mtn-isms

2007-11-23 Thread Richard Levitte
In message [EMAIL PROTECTED] on Fri, 23 Nov 2007 06:52:03 -0600, Matthew D. 
Fuller [EMAIL PROTECTED] said:

fullermd On Fri, Nov 23, 2007 at 01:41:35PM +0100 I heard the voice of
fullermd Richard Levitte, and lo! it spake thus:
fullermd  
fullermd  Ah, and the following explains it:
fullermd 
fullermd So, the question is, what should be done differently to
fullermd avoid these broken bits (or at least pitfalls) in the
fullermd future?  Surely there's some answer less annoyingly manual
fullermd than setting certs on a bunch of revisions one at a time
fullermd (and hoping not to miss any).

One way, a bit complicated but still workable:  I would simply have
kept hacking and committing into free.lp.se:X.ctwm in a separate
database (ctwm.fullermd), and when it was time to merge the work with
the trunk, I would have pulled from the main database (ctwm), merged,
pushed back and then pushed to guardian.

Even simple, though, is to just keep one database, but then hack away
as needed, maybe in a separate workspace, commit whenever you feel
like, and when you're done, pull from guardian, merge and push.

There's a description of a workflow model that touches this issue in
http://www.venge.net/mtn-wiki/DaggyFixes .

After all, monotone offers excellent merging capabilities.

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: [ctwm] Crash fix for when WorkSpaces not defined

2007-11-22 Thread Richard Levitte
In message [EMAIL PROTECTED] on Thu, 22 Nov 2007 13:28:25 -0600, Matthew D. 
Fuller [EMAIL PROTECTED] said:

fullermd When no WorkSpaces {} are defined in your .ctwmrc, parts of
fullermd the structure used to track them aren't initialized properly
fullermd in the code.  This can lead to crashes when those pointers
fullermd are dereferenced; I came across it in the TwmWindows menu.
fullermd I've pushed up a fix for this; see attached patch.
fullermd 
fullermd I have a sneaky suspicion there are more such land mines
fullermd scattered through the code   :|

Good job.  Yeah, I wouldn't be surprised if there are more things like
that...

Ehummm, I think it's time we take a look in the bugs database and try
to fix some of the things (or dismiss it).

Cheers,
Richard

-- 
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: [ctwm] Special window-manager modifier not working

2007-11-22 Thread Richard Levitte
In message [EMAIL PROTECTED] on Thu, 22 Nov 2007 16:19:09 -0500, Stefan 
Monnier [EMAIL PROTECTED] said:

monnier I have a strong suspicion that this is linked to some nasty Gnome or
monnier XKBsomething intrusion, but since I know nothing about that, I'm at
monnier a loss.
monnier 
monnier Does someone here have an idea where I might want to start looking for
monnier a solution?

How about a test account where you run ctwm raw, without Gnome or any
other desktop environment?  That could be a way to narrow the scope of
the problem...

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: [ctwm] Depth-arrangement of windows is not preserved?

2007-11-22 Thread Richard Levitte
...

fullermd - Implicit comparisons as boolean (e.g., if(x) instead of
fullermd   if(x!=NULL) and equivalents for numerics) bad.

Why?

fullermd - I don't like multi-line comments that start on their first
fullermd   line...

Why?

fullermd - Urg, there are array references with spaces before the [
fullermd   too.  And some function calls with MANY spaces before the
fullermd   (; see workmgr.c around line 1700.

Agreed.

fullermd - We should probably have less commented out code.  Unless
fullermd   it's clarifying something, or commented out rather short
fullermd   term...   well, we've got a VCS after all.  That's what
fullermd   it's for.

I assume you're not talking about conditional code...

fullermd And other stuff that I've managed to put out of mind,
fullermd probably.  We should hash out the One True Ctwm Style and be
fullermd done with it, so we can use it for new code and convert
fullermd existing code as we're messing with it.

Agreed.  I suggest starting to write a file HACKING and tweak it until
we're all agreeing enough.

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: [ctwm] Crash fix for when WorkSpaces not defined

2007-11-22 Thread Richard Levitte
Actually, it's less weird than you might think.  I assume that Matthew
did some hacking in a branch of his own, but since that branch is most
probably not among those he's allowed to write to, the revisions
themselves come over, but the branch certs do not.

So basically, the edge between e07ab7de496e218dc324fe3a9cb66d85dde116d8
and a97d0dcc8eaf6e94ce9190d98913789d9dbbd37f represent the move from
the ctwm branch to Matthew's private hackng branch, and the edge
between 6eb1af5f822cafe715c4e46f37ea3bc808e7a5f5 and
4da54949171b2cc1c5f467318daf87b683a77d9b represent the move back into
the ctwm branch.

Cheers,
Richard

In message [EMAIL PROTECTED] on Fri, 23 Nov 2007 02:00:33 +0100, Rhialto 
[EMAIL PROTECTED] said:

rhialto I pulled a new monotone repository and looked at it with monotone-viz,
rhialto and something weird is going on. Maybe it's a monotone bug, or it may 
be
rhialto with monotone-viz.
rhialto 
rhialto There is a Revision: a97d0dcc8eaf6e94ce9190d98913789d9dbbd37f (Add in a
rhialto prototype for yyparse() to quiet compiler warnings.) which goes
rhialto nowhere (it has a blocked instead of a solid box) and even stranger a
rhialto Revision: 6eb1af5f822cafe715c4e46f37ea3bc808e7a5f5 (Move another
rhialto twmrc_error_prefix() extern to global scope.) which comes from nowhere.
rhialto 
rhialto Normally the blocked boxes mean that there are connections, but they 
are
rhialto just not shown in the current view. However I think I'm viewing
rhialto everything but there is still no link. I suspect there is a link 
between
rhialto these two (maybe even with some intermediary revision) but some bug
rhialto prevents me from seeing it.
rhialto 
rhialto My versions are monotone 0.36 (base revision:
rhialto e4bc808d89e029ce623f9e8f2b10c84006b83fb5) and monotone-viz 0.15 (base
rhialto revision: )

-
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: [ctwm] Modifying the modifiers for bindings...

2007-06-06 Thread Richard Levitte
In message [EMAIL PROTECTED] on Wed, 6 Jun 2007 11:44:41 +0200 (CEST), J.O. 
Aho [EMAIL PROTECTED] said:

trizt One thing I wonder about is how important is it to be so
trizt backward compatible that we do support some 22 year old syntax
trizt for a window manager that I don't know if we do share any code
trizt with?
trizt 
trizt Maybe it could be time to make things more easy to see and use?
trizt I'm not thinking of going xml (gosh I hate xml config files),
trizt but as you, Richard, suggested.

Well, with my new syntax suggestion, it's still possible to retain the
old syntax for a while, possibly with BIG LETTER WARNINGS that the old
syntax is going to disappear with version 4.0.

The alternative is, of course, to just remake the syntax as we see
fit, release 4.0, and then watch the flood of people whose ctwm
suddenly doesn't work as expected.
Aho, I hereby appoint you as primary contact for that kind of complaint ;-)

Cheers,
Richard

-- 
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



[ctwm] Modifying the modifiers for bindings...

2007-06-05 Thread Richard Levitte
Hello, 

it's just come to my attention that we have a synctactic inconsistency in 
the bindings: 

 F1 = c|m : icon|frame : f.dofoo 

The inconsistency is that for the modifiers, | symbolises addition (AND 
operation) while for the context field, it symbolises alternatives (OR 
operation).
Furthermore, I just had a request from a friend that | could really mean OR 
and  could mean AND, and that would make it possible to specify several 
modifier combinations in one go.  I'm not entirely happy with that choice of 
operators for backward compatibility reasons, but I could go with something 
like this (using , and + instead): 

 F1 = c+m,s : icon|frame : f.dofoo 

That would mean the same thing as the following currently would: 


 F1 = c|m : icon|frame : f.dofoo
 F1 = s : icon|frame : f.dofoo 

What say you?  Good idea?  Bad idea?  At the very least, I'd like to go away 
from the inconsistent interpretation of |. 


Cheers,
Richard 

P.S. My laptop is without network, so I'm using a web interface to my 
mailbox.  This message will probably not look the way mine usually do ;-)




Re: [ctwm] Modifying the modifiers for bindings...

2007-06-05 Thread Richard Levitte
Nadav Har'El writes: 


In other words, it appears that there never really was a need for the
inconsistent vertical bar in the modifier list, and a space can be used.


Ayup, I just looked in gram.y and found that the | is simply ignored (see 
the key rule and you'll see a line saying just | OR {}).  I never 
noticed this before... 


Cheers,
Richard



Re: [ctwm] Re: Font sizes off in ctwm-3.8

2007-04-30 Thread Richard Levitte
In message [EMAIL PROTECTED] on Mon, 30 Apr 2007 06:33:01 -0400, Stefan 
Monnier [EMAIL PROTECTED] said:

monnier  and the icon manager has more space around the window
monnier  names so the buttons take up more real-estate (and this
monnier  space is not regularly distributed: the text ends up
monnier  slightly lower than before).
monnier 
monnier  FWIW, I've seen this when I start up ctwm in a UTF-8
monnier  (rather than C) locale.  I haven't gotten a chance to try
monnier  and dig it out, though.
monnier 
monnier Indeed, I'm using a UTF-8 locale.

Prior to 3.8, ctwm had some problems with handling UTF-8 and ISO 10646
fonts.  I don't entirely recall all the implications, but it's quite
possible that the changes you see are effects of that correction, and
it's also very possible that things can be made to work even better.

Would you like push rights on my server?  Send me your public monotone
key.

Cheers,
Richard

-- 
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: [ctwm] Re: Font sizes off in ctwm-3.8

2007-04-30 Thread Richard Levitte
In message [EMAIL PROTECTED] on Mon, 30 Apr 2007 14:53:30 -0400, Stefan 
Monnier [EMAIL PROTECTED] said:

monnier  Prior to 3.8, ctwm had some problems with handling UTF-8
monnier  and ISO 10646 fonts.  I don't entirely recall all the
monnier  implications, but it's quite possible that the changes you
monnier  see are effects of that correction, and it's also very
monnier  possible that things can be made to work even better.
monnier 
monnier Do you remember where those changes took place?

The change was more about proper handling of font sets than ISO 10646,
really...

It's quite possible that the following revision directly contains the
change that affected you:  84588e8426c83b9d905d528ce6c093141439510e

Otherwise, the changes concerning locale changes are:
f2abcc859cca628f2b368c51e6451063743bce8d
063e316d67e823a9d9c8e8b732e585b3455eb198
cf86cef35ea848eecd9f8c843cf41d2109ea0ffe

monnier  Would you like push rights on my server?  Send me your
monnier  public monotone key.
monnier 
monnier I'm still very much a newbie with monotone and would rather
monnier limit my mess-ups to my own repository for now.

Nothing stops you from starting a branch and hacking in that until
you're satisfied...  But it's your choice, of course.

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: [ctwm] [rt.lp.se #132] It seems we have a memory leak or buffer overflow

2007-02-16 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 16 Feb 2007 16:59:30 +1000, Anthony 
Thyssen [EMAIL PROTECTED] said:

anthony Congradulations it is no longer crashing on two f.deletes
anthony from the title bar button.

Thanks.

anthony You can remove the  DEBUG::  lines for offset 'random
anthony position' too.

Ah.  Fixed!  Thanks.

anthonyRandomPlacement on -23+23
anthony 
anthony Though with a negavte offset the first 'random' window
anthony probably should be on the right hand side of the display
anthony rather than the left.

Good idea.  Implemented.

anthony Starting Wine/Lotus Notes Test.
anthony 
anthony Okay.. its popup menus are still appearing 2 to 3 pixels to
anthony low.

Hmm, that's about the width of your window border, isn't it?  Could it
be that Wine gets some window information it doesn't expect?

anthony I also just tried the default 'twm' window manager with this
anthony and it seems to take the exact same problems.

Ah, not our fault then, that should make it OK ;-)

anthony This makes the application usless in ctwm, forcing me to kill
anthony it and start up a gnome desktop to use lotus notes.
anthony 
anthony Basically something very wierd is going on, that works fine
anthony in gnome but not (c)twms.

Have this ever happened with another application that might be a tad
easier to find on, say, Linux?  Wine and Lotus Notes isn't really my
plate, I only use Notes at work, in Windows (because that's policy),
and grudgingly so.

Anyhow, I'm not going to let this issue stop a release of 3.8.  It's
time, and when I've released, I can give your problem more focus, if
that's at all possible.

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



[ctwm] [ANNOUNCE] CTWM 3.8a released

2007-02-16 Thread Richard Levitte - VMS Whacker
Hi,

So, time for a release.  The reason there's a 3.8a and not a 3.8 is
last minute documentation fixes.

The web site is updated with everything I can remember, and I've just
updated freashmeat as well.

Following are the visible changes implemented in this version.  Of
course, there are quite a number of bugs as well.  That revision log
in monotone will tell you all about them.


Changes from version 3.7 to 3.8
---

1 - Global cleanup

There were some variables shadowing others, things not being
safely initialized, that sort of thing.
[Richard Levitte]

2 - Fixed several memory leaks found by
Nadav Har'El [EMAIL PROTECTED].
[Olaf Rhialto Seibert]

3 - Merged in the f.movetitlebar command. By default this is bound to
alt-left-click in the titlebar.
[Olaf Rhialto Seibert]

4 - Fixed the following issues:
Poking at the code, it looks like InitVirtualScreens() is called
before the configuration file is parsed which would explain what
I see since there's no attempt to create them after the config
file read.

Moving the call after the config parsing causes things to work.

I've run into a few other issues that I fixed with the attached
patch:

- shadow menus on the right screen open the shadow on
  the left screen
- shadow menus on the left screen open on top of the
  window
- windows on the right screen disappear after startup
[Todd Kover]

5 - Adjustments to ctwm.man:
I noticed a couple of small errors.

One is that the window list arguments for the opaque
keywords are now optional, are listed with square brackets
in the man page.  The other is that the two Threshold
keywords are shown in the man page as requiring curly-
brackets, but they are not required or accepted in
configuration files.
[Ross Combs]

6 - improve algoritm to deal with mismatched geometry of virtual
screens

  - allow windows to be dragged from one virtual screen to another and
have them switch workspaces appropriately

  - handle restarts properly with virtual screens, including preserving
where windows were placed within workspaces regardless of which
virtual screen a window was on; preserve across restarts
[Todd Kover]

7 - WMapCreateCurrentBackGround() and WMapCreateDefaultBackGround() 
would skip remaining virtual screens if not all parameters are present.

  - small type errors. [Olaf Rhialto Seibert].

8 - There were some directives in the config file that wanted to set some
setting for all virtual screens. However since that list is (now) only
set up after parsing the config file, they failed to work.  Moreover,
these settings were basically meant to be global to all virtual
screens, so a better place for them is somewhere in *Scr.  They all
related to the Workspace Manager, so I moved them from struct
WorkSpaceWindow to struct WorkSpaceMgr.

The affected directives are StartInMapState, WMgrVertButtonIndent,
WMgrHorizButtonIndent, MapWindowCurrentWorkSpace,
MapWindowDefaultWorkSpace.  The window and icon_name, even though not
user-settable, were also moved.

This is basically change #7 above done right.
[Olaf Rhialto Seibert]

9 - Re-introduced TwmWindow.oldvs, used to avoid calling
XReparentWindow() when possibe (it messed up the stacking order
of windows). However, maybe the use of .vs should be rethought a
bit: in Vanish() it is now set to NULL with the old value kept
in .oldvs.  However the window is still a child of the same vs.
Maybe it is better not to set it to NULL and then, when *really*
changing the virtual screen, .vs can be used instead of .oldvs.

This whole virtual screen thing is unexplained in the manual,
which even uses it as a synonym for workspace already in the
introduction paragraph. (There also does not seem to be a way
now to test virtual screens in captive windows) I suspect that
all this causes lots of confusion, and when cleared up, can
simplify the code a lot. 

I also fixed up the horrible indentation in the functions
where I changed something.
[Olaf Rhialto Seibert]

   10 - Fixed interaction between inner and outer workspace
selection with captive windows. This was because the Gnome
_WIN_WORKSPACE property is used in 2 conflicting ways: for
client windows it indicates which workspace they are in, for
root windows it indicates which workspace they show. Captive
windows are both. Also, the initially selected inner workspace
is now the first

[ctwm] [rt.lp.se #132] It seems we have a memory leak or buffer overflow

2007-02-15 Thread Richard Levitte via RT
It wasn't a memory leak and it wasn't a buffer overflow.  It was freeing an 
image that 
shouldn't be freed because it's in a cache.  This free was a bit misplaced:

 [levitte - Thu Feb 15 07:22:15 2007]:
 Symptoms:
 
   CTWM crashes when a second window is deleted.  Specifically, it
   happens on the following line:
 
   add_window.c:1771   free(tmp_win-HiliteImage);

It freed the image unconditionally.

Revision 371210d5d3676c591bded9ce2e9d2d68e3d6f04a seems to fix the problem, and 
thereby 
resolves this ticket.

-- 
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



[ctwm] [rt.lp.se #130] Expose events in Occupy window do not always work

2007-02-14 Thread Richard Levitte via RT
That's because the exposure fix doesn't work for something you do XKillClient() 
with, which 
is exactly what f.destroy (or f.deleteordestroy) does.  That's for another 
ticket, though, 
as this one is very specifically about Expose events.  Olaf, this ticket is 
ready to be 
closed, I leave the honor to you.

 [EMAIL PROTECTED] - Wed Feb 14 11:44:06 2007]:
 
 Updating  ctwm to this revision doesn't solve my problem. Ctwm still
 crashes (actually it stops with exit code 1) when I do f.deleteordestroy
 on the occupy window. Yes, I noticed that the problem doesn't not occur
 on f.delete, but rather on f.deleteordestroy or f.destroy. f.delete
 rather doesn't do anything to the occupy window. My .ctwmrc seems too
 large to attach it here, so I have put it in
 http://www.math.technion.ac.il/~rl/etc/ctwmrc  for convenience. I hope
 it will shed some light into the mystery.
 
 Olaf Seibert via RT wrote, On 14/02/07 01:57:
 
  Just when I think let's file this for later, it turns out to be
  simpler than I thought.
  Just add ExposureMask to the Windows' input mask.
  Rev. 0f08007b6f5a4f65296557d47e18a081d704fac8. 
  not pushed yet since the server refuses connections)


-- 
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: [ctwm] closing occupy window causes crash

2007-02-14 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 14 Feb 2007 10:38:24 +1000, Anthony 
Thyssen [EMAIL PROTECTED] said:

anthony This is the same found I reported two weeks ago! (no response)
anthony 
anthony As soon as I close two xterms using f.delete  CTwm crashes.

I tested that case, but couldn't reproduce it.  Didn't I tell you
that?  Now, considering we know a little more about the Expose mask
issue and have fixed some things up, do you still have that problem?
If you do can you tell us about circumstances, such as window overlap
and anything else that could affect the outcome?

As soon as I know this issue is cleared (as much as we can test), I'm
doing a release.  It's time!

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: [ctwm] Re: WarpCursor

2007-02-08 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Thu, 08 Feb 2007 23:22:32 +0200, Zvi Har'El 
[EMAIL PROTECTED] said:

rl Checking again, my previous update was in January 26.

OK.  Between then and now, this is the sequence of revisions since
January 25th.  Could you try pinpoint the first one where you run into
that problem?

6a94e9c5ce42aa64c1cbece480aea701556fa0f4
6b93da7dedbfdcbab63af78acea081bc4ff558a0
5c1558a3343a6d28788e7ed98184e35a4a0f9aff
8ed1875c1a4d1fc4c63a8d1997e119ac48e10282
f57437fb1b39b54220039d25d72ad76025d1e878
8a7ef3d3928b94639c97b4a5e51800f263bdf2bf
41be3beaa211bf3caf23d3e62041cf865920b4c6
0acd56e3399963382be80f5d00423b6595bc

Updating to a specific revision is easy:

mtn update -r {revision}

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: [ctwm] Re: WarpCursor

2007-02-08 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Thu, 8 Feb 2007 23:50:12 +0100, Rhialto 
[EMAIL PROTECTED] said:

rhialto On Thu 08 Feb 2007 at 22:38:19 +0100, Richard Levitte - VMS Whacker 
wrote:
rhialto  OK.  Between then and now, this is the sequence of
rhialto  revisions since January 25th.  Could you try pinpoint the
rhialto  first one where you run into that problem?
rhialto  
rhialto  6a94e9c5ce42aa64c1cbece480aea701556fa0f4
rhialto 
rhialto Maybe I'm trying it the wrong way, but I can't even seem to
rhialto get WarpCursor to do anything even just before this
rhialto revision. Or maybe there is some other directive in my test
rhialto config that counteracts it, or something. I just added a line
rhialto with WarpCursor without a window list.

Have you used mtn-viz yet?  It's the best tool I know to visualize the
revision graph, and with it, you can easily go backward in history and
figure out what revisions to update to and try.

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: [ctwm] More things to clean? Release?

2007-02-02 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Thu, 1 Feb 2007 23:57:43 +0100, Rhialto 
[EMAIL PROTECTED] said:

rhialto I say, clean it out. Expecially X11R6, I think we all have
rhialto that release by now :-).

Done.

rhialto So, summarizing, I have no current stuff to push or
rhialto short-term plans for such.

OK then.  I'll wait and see for a little longer if there's anything
else.  If I haven't heard from anyone until next friday, I'll take
that as a Go release!  ;-)

(Anthony, how is your testing going?)

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


[ctwm] More things to clean? Release?

2007-02-01 Thread Richard Levitte - VMS Whacker
Hi,

I'm in a bit of a cleaning frenzy, and now that I've cleaned up I18N,
I'm on to the next, X11R6 (or USE_SESSION in Imakefile.local).

My question is, is there any reason NOT to defined USE_SESSION / X11R6?
If that's the case, I'll clean that out.

After that, I wanna to a release run, in the middle of February at the
latest.  Olaf, do you have something more that you're going to push
soon?  Does anyone else have something they think should go in?

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: [ctwm] A curious undocumented key mapping feature

2007-01-26 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 26 Jan 2007 09:04:04 +0100, Claude 
Lecommandeur [EMAIL PROTECTED] said:

claude.lecommandeurDo you know f.showbackground, the only usage is to show 
your nice 
claude.lecommandeur background image to your friends.

Hah, no, I hadn't noticed that one!

Cheers,
Richard

-- 
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: [ctwm] Where to get latest ctwm beta

2007-01-24 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 24 Jan 2007 10:00:35 +1000, Anthony 
Thyssen [EMAIL PROTECTED] said:

anthony I looked around on the web but I can't seem to find the
anthony latest beta for ctwm.  my last one was data dec 2005, and the
anthony one on the CTwm website is older than that (though not by
anthony much).

There isn't really a beta out right now, but I just uploaded a
snapshot, just for you.

Cheers,
Richard

-- 
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


[ctwm] [rt.lp.se #109] [Anthony's wish list] Use of modifiers when handling title buttons

2007-01-22 Thread Richard Levitte via RT
Implemented and is part of revision 5b6a1cacc71313898a8d96fbba7b801ce3923ba0 
(newly 
committed and pushed).

Ticket resolved.  Thanks for the suggestion!

 [levitte - Wed Apr 20 04:46:05 2005]:
 
 In my ctwm definition this is a special 'grab handle' to raise/lower or
 move the window. EG:...
 
 LeftTitleButton  xpm:tomato_dash.xpm {# titlebar extension
   button1 : f.function MoveRaiseLower
   button2 : f.resize
   button3 : f.menu WindowOps
   # button3 = s : f.menu TwmMenu  # This is NOT posible yet!
 }
 
 
 As you can see in the last example, the events list for title bar
 buttons is NOT following the same event structure used by other things.
  That means shifted mouse buttons can not be used, even though I can use
 shifted mouse buttons on the title bar proper.
 
 
-- 
-- 
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







[ctwm] [rt.lp.se #115] CTWM Feature Request: Change Color of Highlighted Window Title Bar

2007-01-22 Thread Richard Levitte via RT
Does anyone have a comment on this one?  Would you say this is one of those 
It's Not the 
TWM way!?

 [EMAIL PROTECTED] - Sat Mar 04 23:38:47 2006]:
 
 Hello.
 
 I have a suggestion for a rather cosmetic enhancement in CTWM, my window
 manager of choice. It would be nice if highlighted windows' title bars -
 including the buttons - could have a completely different background and
 foreground colors than normal windows. It doesn't seem to be possible at
 the moment.
 
 After looking at the sources, it seems to me, this would not be a very
 difficult change to make *if one knew what one was doing*. Alas, I'm not
 much of programmer, especially when it comes to X and window managers. I
 think changes would be needed first of all in the structures TwmWindow
 in twm.h (add a new ColorPair) and ScreenInfo in screen.h (ditto) but
 naturally also in the functions that draw the title and/the buttons +
 the .ctwmrc-file parsing. I tried fiddling around the sources, but found
 out that I don't understand the system well enough to get the result I
 wanted.
 
 I understand that a change like this, whose only purpose is to make it
 possible to make CTWM look more like Motif/CDE, may not have a high
 priority, but thanks anyway. CTWM is very good in any case.
 
 
 
-- 
-- 
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: [ctwm] Examples of programs that have real group leader windows?

2007-01-22 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 23 Jan 2007 00:38:35 +0100, Rhialto 
[EMAIL PROTECTED] said:

rhialto I wonder, btw, what should done with sqeezed windows (aka
rhialto rolled up): should doing that to the group leader also do
rhialto it to the group members? Or unmap them, like happens with
rhialto iconification?

My gut feeling says unmap them.

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


[ctwm] [rt.lp.se #110] [Anthony's wish list] Better info in the info window

2007-01-22 Thread Richard Levitte via RT
OK, thank you!

Ticket resolved.

 [EMAIL PROTECTED] - Tue Jan 23 02:09:17 2007]:
 
 Richard Levitte via RT on  wrote...
 | Gah!  Wrong picture!  This is the right one!
 |
 | image with  (UL) and (LR) geometry lines...
 
 That would be fine.
 
   Anthony Thyssen ( System Programmer )[EMAIL PROTECTED]
  -
 The keyboard! How quaint. -- Montgomery Scott  -- StarTrek IV
  -
  Anthony's Home is his Castle
 http://www.cit.gu.edu.au/~anthony/
 
 
 
-- 
-- 
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







[ctwm] [rt.lp.se #115] CTWM Feature Request: Change Color of Highlighted Window Title Bar

2007-01-22 Thread Richard Levitte via RT
 [EMAIL PROTECTED] - Tue Jan 23 02:02:07 2007]:
 
 It is definately not a window managers responsiblity to chnage window
 contents..  That is asking for trouble!!

Uhmmm, I think you misread.  This is about the window title, which is something 
ctwm 
renders, not the application.  The application only provides the title text.  
So that 
argument is quite moot.

-- 
-- 
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: [ctwm] Re: Supporting Unicode and so on UTF-8

2007-01-17 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 17 Jan 2007 14:29:48 +0100, Kai 
Grossjohann [EMAIL PROTECTED] said:

kai Looks like Shift-JIS encoding.  Or is it ISO 2022?  In any case, it
kai isn't UTF.

That was my mailer (Mew), which seems to insist on doing that.  The
hex output (which you skipped ;-)) should indicate that those
apostrophes were really 0xe2,0x80,0x99.

Oh, and it was ISO-2022-JP

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: [ctwm] Re: Supporting Unicode and so on UTF-8

2007-01-16 Thread Richard Levitte - VMS Whacker
I've solved the problem for my case (UTF-8 locale), simply by having
text properties go through XmbTextPropertyToTextList() even when the
type is STRING, instead of just copying the bytes.  It simply converts
the ISO-8859-1 (which is the normal encoding for STRING type text
properties) string to UTF-8.

Please extract the latest revision (f2abcc859cca628f2b368c51e6451063743bce8d)
and try it out.  I'm especially interested in how it works with
non-UTF-8 locales.

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: [ctwm] Re: Supporting Unicode and so on UTF-8

2007-01-04 Thread Richard Levitte - VMS Whacker
So, we can conclude that for STRING names, the result is shit while
for COMPOUND_TEXT, we get something sensible most of the time.

Sounds like the error would be in util.c:GetWMGetPropertyString().
Not sure what should be done though.

For the space-after-apostrophe problem, I'm guessing that
XmbTextPropertyToTextList() has some bug, because that's the function
used to convert the WM_NAME property string to a string according to
locale.

In message [EMAIL PROTECTED] on Thu, 04 Jan 2007 15:02:16 +0200, Zvi Har'El 
[EMAIL PROTECTED] said:

rl Hi all,
rl 
rl Since I am quite a heavy user of UTF-8 as the web master of a
rl multilingual web site, http://JV.Gilead.org.il, let me summerize what I
rl see as the page title when I use firefox to browse to different pages of
rl my site. Of course, if I use tabbed browsing, the tab title is always
rl correct.
rl 1) If the title have non-latin-1 letters, no problem. E.g.,
rl http://JV.Gilead.org.il/hebrew/. In this case xprop gives
rl 
rl WM_NAME(COMPOUND_TEXT) = Les Voyages extraordinaires en H.ANibreu 
$,1rt(B $,1,t,~-!-,u-*(B
rl $,1,t,~,u-$,|,p,y,}(B - Mozilla Firefox
rl _NET_WM_NAME(UTF8_STRING) = 0x4c, 0x65, 0x73, 0x20, 0x56, 0x6f, 0x79,
rl 0x61, 0x67, 0x65, 0x73, 0x20, 0x65, 0x78, 0x74, 0x72, 0x61, 0x6f, 0x72,
rl 0x64, 0x69, 0x6e, 0x61, 0x69, 0x72, 0x65, 0x73, 0x20, 0x65, 0x6e, 0x20,
rl 0x48, 0xc3, 0xa9, 0x62, 0x72, 0x65, 0x75, 0x20, 0xe2, 0x80, 0x94, 0x20,
rl 0xd7, 0x94, 0xd7, 0x9e, 0xd7, 0xa1, 0xd7, 0xa2, 0xd7, 0x95, 0xd7, 0xaa,
rl 0x20, 0xd7, 0x94, 0xd7, 0x9e, 0xd7, 0x95, 0xd7, 0xa4, 0xd7, 0x9c, 0xd7,
rl 0x90, 0xd7, 0x99, 0xd7, 0x9d, 0x20, 0x2d, 0x20, 0x4d, 0x6f, 0x7a, 0x69,
rl 0x6c, 0x6c, 0x61, 0x20, 0x46, 0x69, 0x72, 0x65, 0x66, 0x6f, 0x78
rl 
rl And this is exactly what the title is (also if you use f.identify in
rl ctwm, this is what you get). Even the non-ascii Latin-1 characters are
rl translated to two bytes by Xlib.
rl 
rl You can also look at the Cyrillic page at
rl http://jv.gilead.org.il/FAQ/index.ru.html. Good title.
rl 
rl 2) If you have only latin-1 letters, however some of them are non ascii,
rl which are represented in UTF-8 by TWO bytes, but in only ONE byte in
rl ISO-8859-1 . E.g., http://jv.gilead.org.il/sjv.html. In this case xprop
rl gives
rl 
rl WM_NAME(STRING) = Soci.ANitNi Jules Verne - Mozilla Firefox
rl _NET_WM_NAME(UTF8_STRING) = 0x53, 0x6f, 0x63, 0x69, 0xc3, 0xa9, 0x74,
rl 0xc3, 0xa9, 0x20, 0x4a, 0x75, 0x6c, 0x65, 0x73, 0x20, 0x56, 0x65, 0x72,
rl 0x6e, 0x65, 0x20, 0x2d, 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61,
rl 0x20, 0x46, 0x69, 0x72, 0x65, 0x66, 0x6f, 0x78
rl 
rl However the actual title (and f.identify) show
rl 
rl Socit Jules Verne - Mozilla Firefox
rl 
rl That is, the non-ascci characters disappear. Note that the property
rl WM_NAME is now a STRING rather than COMPOUND_NAME.
rl You can also look at the Turkish page at
rl http://jv.gilead.org.il/FAQ/index.tu.html. Some nonascii character
rl disappear.
rl 
rl 3) If you have punctuation like the single right quote (U+2019), etc.,
rl which are represented in Unicode in the U+2000 range, and represented in
rl UTF-8 by THREE bytes, you get extra spaces. E.g., 
rl http://jv.gilead.org.il/. In this case, xprop gives
rl 
rl WM_NAME(COMPOUND_TEXT) = Zvi Har$,1ry(BEl$,1ry(Bs Jules Verne 
Collection - Mozilla
rl Firefox
rl _NET_WM_NAME(UTF8_STRING) = 0x5a, 0x76, 0x69, 0x20, 0x48, 0x61, 0x72,
rl 0xe2, 0x80, 0x99, 0x45, 0x6c, 0xe2, 0x80, 0x99, 0x73, 0x20, 0x4a, 0x75,
rl 0x6c, 0x65, 0x73, 0x20, 0x56, 0x65, 0x72, 0x6e, 0x65, 0x20, 0x43, 0x6f,
rl 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x2d, 0x20, 0x4d,
rl 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x20, 0x46, 0x69, 0x72, 0x65, 0x66,
rl 0x6f, 0x78
rl 
rl The actual title (and f.identify) show
rl 
rl Zvi Har$,1ry(B El$,1ry(B s Jules Verne Collection - Mozilla Firefox
rl 
rl with spaces after the aposroph (single right quote).
rl 
rl As you can see from the examples, the generated X windows have always
rl the right properties (in my locale, en_US.UTF8),  but CTWM
rl interpretation is to be improved.
rl 
rl Zvi.
rl 
rl -- 
rl Dr. Zvi Har'El  mailto:[EMAIL PROTECTED]Department of Mathematics
rl tel:+972-54-4227607 icq:179294841Technion - Israel Institute of 
Technology
rl fax:+972-4-8293388  http://www.math.technion.ac.il/~rl/Haifa 32000, 
ISRAEL
rl If you can't say somethin' nice, don't say nothin' at all. -- Thumper 
(1942)
rl 


Re: [ctwm] Re: Supporting Unicode and so on UTF-8

2007-01-04 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 5 Jan 2007 00:14:42 +0100, Rhialto 
[EMAIL PROTECTED] said:

rhialto On Thu 04 Jan 2007 at 16:55:14 +0100, Richard Levitte - VMS Whacker 
wrote:
rhialto  For the space-after-apostrophe problem, I'm guessing that
rhialto  XmbTextPropertyToTextList() has some bug, because that's the function
rhialto  used to convert the WM_NAME property string to a string according to
rhialto  locale.
rhialto 
rhialto That may depend on the X version one has, since I don't see this
rhialto problem. I have attached a part of a screenshot.
rhialto (Yes, you can see I like the default look for the most part, but I did
rhialto revert the change from maroon to rgb:2/a/9 since the greenish is
rhialto ugly)
rhialto 
rhialto I have the X version that comes by default with NetBSD/amd64 3.0, which
rhialto is according to XFree86.0.log, 
rhialto XFree86 Version 4.5.0
rhialto Release Date: 16 March 2005
rhialto and Firefox (Deer Park) has been compiled and linked with its 
libraries.
rhialto 
rhialto I also have this
rhialto WM_LOCALE_NAME(STRING) = nl_NL.ISO8859-1
rhialto which seemes to come from my bash_login script
rhialto export LC_CTYPE=nl_NL.ISO8859-1

Yes, with that, XmbTextPropertyToTextList() will translate whatever it
gets to ISO-8859-1.  Try nl_NL.UTF-8 and see what happens.

BTW, the reason that you get question marks instead of the apostrophes
is probably that the UTF-8-encoded apostrophe doesn't have a proper
translation in ISO-8859-1.  But that's just a guess.

BTW, I use X.org:

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN 
Current Operating System: Linux lapdog 2.6.18-3-686 #1 SMP Sun Dec 10 19:37:06 U
TC 2006 i686
Build Date: 30 December 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.


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: [ctwm] Supporting Unicode and so on UTF-8

2007-01-03 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 03 Jan 2007 17:07:05 +0100 (CET), 
Richard Levitte - VMS Whacker [EMAIL PROTECTED] said:

richard It's time to start supporting for modern character sets/maps
richard in such things as titles and other things where ctwm displays
richard strings.  So I'm thinking on working on it in a separate
richard branch (to be named later), and my plan is to have the result
richard become part of ctwm 4.0.

Hmm, maybe I'm being too hasty...  I took a closer look and saw that
Xmb* functions are already used.

Teaches me to open my big mouth too damn early!  ;-)

But then, I wonder, why don't swedish characters appear in the titles?
I guess it's time I investigate...

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: [ctwm] Supporting Unicode and so on UTF-8

2007-01-03 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 03 Jan 2007 19:51:28 +0100, Michael 
Widerkrantz [EMAIL PROTECTED] said:

mc Richard Levitte - VMS Whacker [EMAIL PROTECTED] writes:
mc 
mc  I took a closer look and saw that Xmb* functions are already used.
mc 
mc [...]
mc 
mc  But then, I wonder, why don't swedish characters appear in the titles?
mc  I guess it's time I investigate...
mc 
mc But it does:
mc 
mc   http://hack.org/mc/tmp/swedish.png

Ah, yes, with ISO8859-1, that's true.  I'm converting to UTF-8.

mc Did you define I18N when you compiled ctwm?

Yes (as a side note, I'm considering throwing away all the non-I18N
stuff, as I18N stuff should be supported everywhere by now)

mc What locale are you using?

  : ; locale
  LANG=sv_SE.utf8
  ...

mc On what kind of system are you running ctwm?

Debian Linux.

mc I have no idea if OpenVMS has any idea of locales.

It does, at least in all incarnations since 7.x (x being 1 at the very
least, IIRC).

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: [ctwm] Re: Supporting Unicode and so on UTF-8

2007-01-03 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 03 Jan 2007 20:30:13 +0100, Michael 
Widerkrantz [EMAIL PROTECTED] said:

mc I tried setting my LANG to sv_SE.UTF-8, changed my title font to
mc -bh-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso10646-1
mc and started ctwm.
mc 
mc The first thing I notice is that, suddenly, the title bars are /a lot/
mc higher than before. There's a lot of space around that wasn't there
mc before.
[blah blah blah]
mc Is this what you see as well?

Yes, that's exactly it.  So it seems that we either have a problem
with ISO8859-1 characters not being properly rendered in UTF-8 mode,
or we have some general problem with using UTF-8 as multibyte
sequences.  That or I need to dig further into the code ;-).

Cheers,
Richard


Re: [ctwm] Re: Supporting Unicode and so on UTF-8

2007-01-03 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 03 Jan 2007 20:30:13 +0100, Michael 
Widerkrantz [EMAIL PROTECTED] said:

mc A simple menu item like this:
mc 
mc   menu foo
mc   {
mc  räksmörgås f.nop
mc   }

Aha, I inserted a similar one in my main menu, making sure it really
becamse encoded in UTF-8 (so yeah, when I look at the file, I get
weird characters, as you can see in the attached picture), and it came
out PERFECT in the menu (with proper swedish characters).

This means that when you have a UTF-8 locale, the X library simply
assumes that whatever comes in is encoded using UTF-8, and will simply
skip over anything that doesn't decode properly, such as single
ISO-8859-1 characters with the high bit set.

At this point, this is actually understandable.  Neither ctwm nor Xlib
has any possibility to know what encoding is used on the strings they
get, so they will naturally assume that the user has a consistent
environment, not something that's a mix of several charsets.

So, I guess I should start with teaching Emacs to make titles using
UTF-8 ;-).

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


[ctwm] [rt.lp.se #122] dragroot incorrectly initialised in menus.c

2006-12-30 Thread Richard Levitte via RT
Good, thanks!

Ticket resolved.

 [EMAIL PROTECTED] - Sat Dec 30 14:11:02 2006]:
 
 I sorted this out in revision ea724cab2c564a807952012b660ccfd78fbae111.
-- 
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: [ctwm] Depth-arrangement of windows is not preserved?

2006-12-22 Thread Richard Levitte - VMS Whacker
Mmmm, Rhialto, you have write access to the repo, so if your patch
works, I suggest committing and pushing so we can all try.

I have noticed that random rearrangement of windows, but I've been too
lazy to get bothered with it ;-).

As to indentation, maybe it's time we get into some kind of
agreement.  As far as I can see, there's the original twm indentation
(which I suspect, but am unsure of, is X11 indentation), some GNU
indentation and a few more variants that I didn't recognise.  Might be
time to write in stone what it should be and suggest the proper emacs
and vim macros to keep them that way.  I'm open for suggestion, and
can arrange for that to happen, if we all find it important enough.

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: [ctwm] Depth-arrangement of windows is not preserved?

2006-12-22 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 22 Dec 2006 17:35:00 +0100, Rhialto 
[EMAIL PROTECTED] said:

rhialto Done. I was being careful, just in case somebody would say
rhialto Nooo! You can't do that because of 

The more the merrier, and wait until you discover the power of 'mtn
disapprove' when executed by someone else ;-).

That said, I will not approve of disapproval wars...

rhialto Due to the mixing of styles some parts of the code are very
rhialto difficult to understand (for me, at least).

Yes, there are times when I've had that same difficulty.  I'll see if
I get some time to see this over some time after Christmas.  Right
now, it's time to be with family and woman for a bit.

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


[ctwm] [rt.lp.se #122] dragroot incorrectly initialised in menus.c

2006-12-15 Thread Richard Levitte via RT
When rebuilding ctwm today, I got a warning that dragroot isn't
properly initialised in menus.c.  More precisely, it's in the mega
function ExecuteFunction, in the F_MOVEPUSH case.

dragroot is used in line 2583, where it hasn't been initialised.
Further down, it is finally being initialised...  *twice*:

2675:   dragroot = rootw;
2676:   dragroot = Scr-RealRoot;

This looks very much like a patch has been badly applied, maybe by
me.  Would anyone care to help me figure out what needs to be done?
The best thing would really be to initialise it properly at the point
of definition, the start of the case.

BTW, the line numbers I give you may be off by a few, as I'm changing
and removing obsolete code that only cause warnings.

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



[ctwm] [rt.lp.se #122] dragroot incorrectly initialised in menus.c

2006-12-15 Thread Richard Levitte via RT
 [EMAIL PROTECTED] - Sat Dec 16 00:02:50 2006]:
 
 On Fri 15 Dec 2006 at 20:52:50 +0100, Richard Levitte via RT wrote:
  2675:   dragroot = rootw;
  2676:   dragroot = Scr-RealRoot;
  
  This looks very much like a patch has been badly applied, maybe by
  me.  Would anyone care to help me figure out what needs to be done?
 
 mtn annotate menus.c shows all lines containing dragroot to be last
 touched by kovert on 2006-05-21 in revision  40dcbfa6..
 (40dcbfa64305f8c883f35ffefa623fc213dd1e02)

Good catch.  Incidently (out of interest, since I'm involved in monotone as 
well), how did 
annotate work for you, and what monotone version do you use?

 Speaking of patches, I just installed the latest version, and suddenly
 the background colour of the active workspace in the WorkspaceManager
 broke again... does anyone remember what the previous fix was and if it
 maybe was reverted or re-broken?

If you remember approximately when you introduced that change, it shouldn't be 
too hard to 
figure out.  Can I recommend mtn-viz?  http://oandrieu.nerim.net/monotone-viz/  
I find it to 
be a very helpful tool.

OK, kovert, can you help us out here?



[ctwm] [rt.lp.se #122] dragroot incorrectly initialised in menus.c

2006-12-15 Thread Richard Levitte via RT
 [EMAIL PROTECTED] - Sat Dec 16 07:24:59 2006]:

Rhialto, all that you wrote goes off on a tangent from this bug report.  Would 
you mind 
creating a new ticket with the issues you have?

And oh, for small obvious stuff, please just go ahead and fix ;)



[ctwm] Re: What's up with the ctwm website?

2006-08-25 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 25 Aug 2006 05:27:57 +0200 (CEST), J.O. 
Aho [EMAIL PROTECTED] said:

trizt On Thu, 24 Aug 2006, Bob Willcox wrote:
trizt 
trizt  On Thu, Aug 24, 2006 at 06:03:29AM +0200, J.O. Aho wrote:
trizt  On Thu, 24 Aug 2006, Richard Levitte - VMS Whacker wrote:
trizt 
trizt  It wasn't the router, it was a crashed apache.  It's back up now.
trizt 
trizt  It's 06:02 and I get the following message from privoxy:
trizt 
trizt  Connect failed
trizt 
trizt  Your request for http://ctwm.free.lp.se/ could not be fulfilled, 
because
trizt  the connection to ctwm.free.lp.se (82.183.134.65) could not be
trizt  established.
trizt 
trizt 
trizt  So, it's still not working properly. I hope you will manage to fix 
this.
trizt  Thanks in advance.
trizt 
trizt  As a data point, I am now able to access the site. Thanks!
trizt 
trizt I must sadly say I still can't connect, still the 503 error.

I just re-re-checked from 4 other sites I've access to.  Success
everywhere.  At this point, I don't believe the problem is on my side
any more.

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


[ctwm] Re: What's up with the ctwm website?

2006-08-23 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 23 Aug 2006 08:05:04 -0500, Bob Willcox 
[EMAIL PROTECTED] said:

bob I am no longer able to access the ctwm website, http://ctwm.free.lp.se.
bob Has it moved?

Nope.  I've no idea what's happening, I suspect it's my router playing
tricks.  Unfortunately, I have no possibility to fix the problem
before tomorrow morning, Swedish time.

Please be patient.

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


[ctwm] Re: What's up with the ctwm website?

2006-08-23 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 23 Aug 2006 16:59:10 +0200 (CEST), 
Richard Levitte - VMS Whacker [EMAIL PROTECTED] said:

richard In message [EMAIL PROTECTED] on Wed, 23 Aug 2006 08:05:04 -0500, Bob 
Willcox [EMAIL PROTECTED] said:
richard 
richard bob I am no longer able to access the ctwm website, 
http://ctwm.free.lp.se.
richard bob Has it moved?
richard 
richard Nope.  I've no idea what's happening, I suspect it's my router playing
richard tricks.  Unfortunately, I have no possibility to fix the problem
richard before tomorrow morning, Swedish time.

It wasn't the router, it was a crashed apache.  It's back up now.

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


[ctwm] Re: What's up with the ctwm website?

2006-08-23 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 23 Aug 2006 19:38:44 -0500, Matthew D. 
Fuller [EMAIL PROTECTED] said:

fullermd On Thu, Aug 24, 2006 at 01:37:09AM +0200 I heard the voice of
fullermd Richard Levitte - VMS Whacker, and lo! it spake thus:
fullermd  
fullermd  It wasn't the router, it was a crashed apache.  It's back up now.
fullermd 
fullermd Hm, I'm not seeing it...
fullermd 
fullermd % telnet ctwm.free.lp.se 80
fullermd Trying 82.183.134.65...
fullermd telnet: connect to address 82.183.134.65: Operation timed out
fullermd telnet: Unable to connect to remote host

*mumble* so the router was playing tricks on me after all.
Restarted.  Reverified.  Now then?

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


[ctwm] Re: Window positioning

2006-07-19 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 19 Jul 2006 14:08:44 +0200, Kai 
Grossjohann [EMAIL PROTECTED] said:

kai.grossjohann But perhaps the same applications that do not support
kai.grossjohann -geometry also do not support -xrm :-(

Yeah, that's why I wondered if there was an environment kind of
shortcut into XLib itself...

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


[ctwm] [repository.lp.se #117] Bug#375240: ctwm: right click for TwmWindows crashes ctwm

2006-06-25 Thread Richard Levitte via RT
Hello,

I've never encountered this problem before, and unfortunately, that stack trace 
didn't help at 
all.

Would you consider creating a debugging variant of the package?  It's quite 
simple, all you 
should need to do is the following:

  apt-get source ctwm
  cd ctwm-3.7
  vi Imakefile.local
  # change the line saying '#undef DEBUG' to '#define DEBUG', the save and quit 
vi
  dpkg-buildpackage -rfakeroot -uc -b

And voila!, you have a package in the parent directory, should be named 
something like ctwm_3.7-
2.1_i386.deb, and all you need to do is install it (using dpkg) and try again.  
The core dump 
generated should give a better stack trace, one which we could use to figure 
this out, if 
possible.

 [EMAIL PROTECTED] - Sat Jun 24 20:22:21 2006]:
 
 Package: ctwm
 Version: 3.7-2.1
 Severity: grave
 
 From my .xsession-errors:
 
  Congratulations; you have found a bug in CTWM.
 
  If a core file was generated in the current working directory,
  please try to extract the stack trace, and mail the results along
  with a description of what you were going, to
  [EMAIL PROTECTED].  Thank you for your support.
 
 This is with xorg 7.0.  I log in via xdm, which runs my .xsession, and
 its last line execs ctwm.  When I right click on the root window
 (which is a xsetbg jpg background, but that shouldn't matter), ctwm
 crashes.  My .twmrc file has:
 
 Button3 = : root : f.menu TwmWindows
 
 I hope the following backtrace from the core file is useful (but it
 seems to have no useful symbols):
 
 (gdb) bt
 #0  0xb7c2d7c7 in raise () from /lib/tls/libc.so.6
 #1  0xb7c2f06b in abort () from /lib/tls/libc.so.6
 #2  0x08057869 in ?? ()
 #3  0x080929fc in _IO_stdin_used ()
 #4  0x0001 in ?? ()
 #5  0x0276 in ?? ()
 #6  0xb7d38480 in _IO_list_all () from /lib/tls/libc.so.6
 #7  0x080ed620 in ?? ()
 #8  0xb7bf66a4 in ?? ()
 #9  0xbfcf0de8 in ?? ()
 #10 signal handler called
 #11 0x08061768 in ?? ()
 #12 0x080e3370 in ?? ()
 #13 0x08094a91 in _IO_stdin_used ()
 #14 0x in ?? ()
 
 ctwm worked fine (perhaps in an earlier version) with xorg 6.8 or 6.9
 or xfree 4.3.  The crashes started today, after I upgraded to xorg 7.0
 and then reinstalled ctwm (the massive 'apt-get upgrade' deleted the
 ctwm package), which is why I'm not sure whether I was using ctwm 3.7
 when all was working fine.
 
 -Sanjoy
 
 -- System Information:
 Debian Release: testing/unstable
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
 Architecture: i386 (i686)
 Shell:  /bin/sh linked to /bin/bash
 Kernel: Linux 2.6.17.f9c7d2a9a5af
 Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
 
 Versions of packages ctwm depends on:
 ii  libc62.3.6-13GNU C Library: Shared
 libraries
 ii  libice6  1:1.0.0-3   X11 Inter-Client Exchange
 library
 ii  libjpeg626b-13   The Independent JPEG
 Group's JPEG
 ii  librplay33.3.2-10Shared libraries for the
 rplay net
 ii  libsm6   1:1.0.0-4   X11 Session Management
 library
 ii  libx11-6 2:1.0.0-6   X11 client-side library
 ii  libxext6 1:1.0.0-4   X11 miscellaneous
 extension librar
 ii  libxmu6  1:1.0.1-3   X11 miscellaneous utility
 library
 ii  libxpm4  1:3.5.4.2-3 X11 pixmap library
 ii  libxt6   1:1.0.0-5   X11 toolkit intrinsics
 library
 ii  m4   1.4.4-1 a macro processing
 language
 ii  x11-common   1:7.0.22X Window System (X.Org)
 infrastruc
 
 ctwm recommends no packages.
 
 -- no debconf information
 
 
 
 
-- 
-- 
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







[ctwm] Re: RandomPlacement

2006-06-16 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 16 Jun 2006 22:45:42 +0200, Johan 
Vromans [EMAIL PROTECTED] said:

jvromans RandomPlacement is a setting in ctwm's rc. 
jvromans 
jvromans Would it be possible to toggle this behaviour dynamically, i.e., with
jvromans a f.placement function?

Do you mean that you would like a function that toggles
RandomPlacement on/off or a function that places windows randomly no
matter what the value of RandomPlacement is?

Cheers,
Richard

-- 
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


[ctwm] Re: repository has a double-free() bug

2006-05-21 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Sun, 21 May 2006 14:42:00 -0400, Todd Kover 
[EMAIL PROTECTED] said:

kovert   Didn't it help enough to make tmp_win-HiliteImage NULL?
kovert 
kovert no.  It still ended up freeing memory that was already freed.
kovert I'm not quite clear on where it got the value from to pass in
kovert after setting it to NULL.

Wait, so you're saying that after you set it to NULL, some other value
is placed there?

Aha, I think I know why.  In events.c, HandleDestroyNotify doesn't set
Tmp_win to NULL, which means that the next call to it will try to
delete whatever it points at.  In the mean time, that are of memory
has most likely been reallocated, making Tmp_win point at apparently
bogus data, most probably leading to a crash!  So it's quite likely
that the following patch fixes this problem.  Can you verify that
(remove your #id 0 and #endif)?

--- events.cbf62739b47179668fa7b5aa47c35af1e4be19c64
+++ events.c69f6f0e64e740e88fd1ec2899c7c158c27a9289a
@@ -2335,6 +2335,7 @@
 DeleteIconsList (Tmp_win); /* 14 */
 
 free((char *)Tmp_win);
+Tmp_Win = NULL;
 
 if (Scr-ClickToFocus || Scr-SloppyFocus)
set_last_window (Scr-currentvs-wsw-currentwspc);


I think we need to make an effort to check that we reset free'd things
with a NULL everywhere that happens.

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


[ctwm] Re: Will upgrade monotone some time next week

2006-05-21 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Mon, 22 May 2006 02:51:07 +0200 (CEST), 
Richard Levitte - VMS Whacker [EMAIL PROTECTED] said:

richard I'm asking you to put it aside and start with a completely
richard new a fresh database.

It dawned on me that I haven't explained why.  The following section
in the manual should explain it well enough (if you consider that db
rosterify is like another db rebuild):

http://www.venge.net/monotone/docs/Rebuilding-ancestry.html#Rebuilding-ancestry

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


[ctwm] Re: Will upgrade monotone some time next week

2006-05-20 Thread Richard Levitte - VMS Whacker
Upgrade done.

For those following the development on the notification mailing lists,
it will have to wait a couple of days.

You will now need to do the following:

 - if you have any local changes, get a diff
 - put aside your current database (keep it as a backup for a few
   days)
 - put aside your current work directories

 - upgrade monotone to version 0.26

 - do a fresh pull from the new server:

mtn --db=/PATH/TO/ctwm.mtn db init
mtn --db=/PATH/TO/ctwm.mtn pull guardian.lp.se 'free.lp.se:X.ctwm*'

 - check out fresh work directories
 - apply any diff that you saved previously.

If you have any question, please ask and I'll help you as much as I
can.

Cheers,
Richard

-- 
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


[ctwm] Will upgrade monotone some time next week

2006-05-18 Thread Richard Levitte - VMS Whacker
Hi,

I'm in the process of upgrading the monotone server to version 0.26
and moving the database to a new host with better connectivity.  This
will happen on Saturday, May 20th.

This means that everyone that currently has write access to the
central repo (at repository.lp.se) needs to commit and push their
changes as soon as possible.

If you want to check or save a diff, the current head revision that I
see is c9e8a6c11adf35fe024b59c3f891c3cd76c5aeba.

I will take down the server on repository.lp.se at about 12.00 (middle
of the day) on Saturday.  After that, it will be too late to push.

After I get the new server up, I will send another email with details
about the new server.  At that point, you will have to pull a fresh
copy of my repository.

Cheers,
Richard

-- 
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


[ctwm] Re: Wondering about a Debian patch

2006-05-15 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Mon, 15 May 2006 09:25:11 -0500, Matthew D. 
Fuller [EMAIL PROTECTED] said:

fullermd On Mon, May 15, 2006 at 12:05:45PM +0200 I heard the voice of
fullermd Richard Levitte - VMS Whacker, and lo! it spake thus:
fullermd  +   /*
fullermd  +* The following is commented out because it prevents, e.g.,
fullermd  +* Mozilla windows from occupying different workspaces.
fullermd  +*/
fullermd 
fullermd I'd like to know what that means, because I have Mozilla
fullermd windows in separate workspaces all the time, and
fullermd occasionally a window in multiples, and it works just fine.

This is the originating bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=234782

Note that it applies to versions 3.5.2 and 3.6, so we may have fixed
the problem in a different manner and the Debian folks just haven't
noticed.

Also, they just did a NMU (Non-Maintainer Update, which means the
Debian maintainer was away from his job...) on version 3.7, that's the
reason I started looking at the changes they've made.

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


[ctwm] Re: ctwm and virtual screens

2006-04-22 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Sat, 22 Apr 2006 13:50:34 -0400, Todd Kover 
[EMAIL PROTECTED] said:

kovert   I imagine you're going to do more work, do you want write
kovert   access to the repository?  
kovert 
kovert I'm hoping to run through my list over the next few months if
kovert nobody beats me to it, so write access would definately be
kovert useful, unless you want me to keep providing patches.

I want to make it as easy as possible to collaborate.

http://ctwm.free.lp.se/monotone-crash-course.html describes how you go
about creating a key.

kovert   Dunno how aware you are of it, I use monotone (see
kovert   http://www.venge.net/monotone/).  I'm currently still at
kovert   version 0.25, which you can find in the downloads area
kovert   (http://www.venge.net/monotone/downloads/).
kovert 
kovert I'm not that familiar with it, but I'm sure the concepts are
kovert the same with the others I've used and it looks like there's a
kovert NetBSD pkgsrc port version for it, so installing it is a
kovert breeze. (doing this now :-)

Cool, tell me how it goes, and if you have any questions, I can
probably answer them, and if not, there's always the monotone-devel
list :-).

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


[ctwm] How well does CTWM work with some desktop systems?

2006-02-06 Thread Richard Levitte - VMS Whacker
Hi everyone,

I'm using CTWM as is, and have never really been attracted by desktop
systems like Gnome and KDE, and possibly XFCE, so I really don't know
too much how well CTWM works with them.

I know there are things we've done to at least make it work with
Gnome, and there's been some talking of making it work better with
ICCCM, I think, but where are we in regards to that?  And is it
possible for CTWM to take advantage of some parts or all of ICCCM
without the need for another desktop system, i.e. could it be used
entirely on it's own and still fulfill what Gnome, KDE and friends do,
without compromising the simplicity and small footprint?

It seems to me that the continued life of CTWM depends very much on
keeping up with the standards while they're being developped, and I'm
willing to do my part to make that happen.  I wonder, are there others
here who are willing to do some work in this area?

This is food for thought, and your opinion will matter.

Cheers,
Richard

-- 
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


[ctwm] Re: Small installation issues, and a f.resize bug

2006-01-30 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Mon, 30 Jan 2006 10:11:16 +0200, Nadav 
Har'El [EMAIL PROTECTED] said:

nyh Yes, but individual users are no longer familiar with this
nyh process (which very few programs use these days), so it can't
nyh hurt to mention this in the README. This is all I asked for - not
nyh to merge the make install.man into make install.

I did that yesterday, sorry for not mentioning it.

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


[ctwm] Re: Small installation issues, and a f.resize bug

2006-01-30 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Mon, 30 Jan 2006 10:17:48 +0100 (CET), J.O. 
Aho [EMAIL PROTECTED] said:

trizt Wouldn't it be possible to provide both? Keep the Imake as the
trizt official one as it's better supported in most systems that can
trizt use ctwm and provide the automake stuff as an extra stuff for
trizt those who want to use it instead and we wouldn't have thise
trizt discussions why and why not and I think this is why we
trizt should...

If you volunteer to keep both systems synchronised :-).

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


[ctwm] Re: Small installation issues, and a f.resize bug

2006-01-30 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Mon, 30 Jan 2006 13:32:35 +0100 (CET), J.O. 
Aho [EMAIL PROTECTED] said:

trizt I think there was someone else who already volunteered to make
trizt an autoconfig version, so if that person wants to have it,
trizt should be he who sees to it to be up to date with Imake.

BTW, I mentioned SCons, but haven't seen any comments on that idea.
It's basically a system that works like autoconf and make combined.

trizt By the way, is there a way to get the maillist to ignore to
trizt send to me when my e-mail is in the To/Cc already, not that
trizt happy about dubbles.

Hmmm, not with the software I use, as far as I know.  I use courier.

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


[ctwm] Re: [repository.lp.se #114] Folding menus

2006-01-30 Thread Richard Levitte - VMS Whacker via RT
In message [EMAIL PROTECTED] on Mon, 30 Jan 2006 15:54:43 +0100 (CET), J.O. 
Aho [EMAIL PROTECTED] said:

trizt On Mon, 30 Jan 2006, Richard Levitte - VMS Whacker via RT wrote:
trizt 
trizt  In message [EMAIL PROTECTED] on Mon, 30 Jan 2006 09:55:56 +0100, 
Michael Widerkrantz [EMAIL PROTECTED] said:
trizt 
trizt  mc Many window managers don't fold menus that extend below
trizt  mc the screen. Instead, they simply display the menu
trizt  mc slightly higher, so that the menu window can fit on the
trizt  mc visible screen.
trizt 
trizt  I'm talking about menus that are so long that they don't fit
trizt  on the screen.  For example, on my laptop, the
trizt  Debian-Apps-Tools menu is very large and doesn't fit on my
trizt  screen.
trizt 
trizt Why make the meny that big in the first place?
trizt I like to have submenus so that I don't have any big ones.

They are automatically generated by the Debian installer and accessed
via this line in my configuration (which needs m4 to work, of course):

  undivert(`/etc/X11/ctwm/menudefs.hook')

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




[ctwm] Re: Small installation issues, and a f.resize bug

2006-01-29 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Sun, 29 Jan 2006 13:25:06 +0100 (CET), J.O. 
Aho [EMAIL PROTECTED] said:

trizt I never have run make install.man, but still I have the ctwm
trizt man pages for 3.7.

Teach us your magic!  I've looked several times in the resulting
Makefile now, and there's nothing to suggest that would be possible.

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


[ctwm] [repository.lp.se #114] Folding menus

2006-01-29 Thread Richard Levitte via RT
There are really very few things that bug me about ctwm.  There's one, though, 
that tends to bite me a 
little now and then, and it's the handling of menus that extend below the 
screen.  Right now, that's 
basically not handled at all.

So the trick would be to have menus fold.  If a menu would go below the screen, 
it's split in two and 
the first would have an item at the end saying More..., which would lead to 
the second as a submenu.  
The second part is processed the same way recursively until the end of the menu 
is reached.

Thinking ahead a little bit, one of the most common problems I've seen in other 
systems is that a 
continued menu reaches the a vertical edge, with each new fold overlapping the 
previous.  If the More.
.. item is at the bottom of each fold, it would be quite easy to find oneself 
with a number of folds 
popping up until the end of the menu with no possibility to see the folds in 
between.  An idea is to 
have the More... item alternatingly at the bottom and top of each fold.

/Richard



[ctwm] [repository.lp.se #113] workspace manager bug+fix

2006-01-16 Thread Richard Levitte via RT
Applied.  Thanks!

 [EMAIL PROTECTED] - Mon Jan 16 16:32:27 2006]:
 
 Hi,
 
 There's a bug in ctwm-3.7's workspace manager: when you try to move a
 window with the mouse using its workspace manager icon, the window
 sticks
 to the right and you can't change its x position. Probably due to a
 typo
 in the code. The attached patch fixes this.
 
 Amnon
 
 --- ctwm-3.7/workmgr.c2005-06-21 08:35:19.0 +0300
 +++ ctwm-3.7-bla/workmgr.c2006-01-16 14:06:04.331235000 +0200
 @@ -2731,7 +2731,7 @@ void WMgrHandleButtonEvent (virtualScree
   winX = Scr-BorderLeft;
   newX = msw-x + XW + Scr-BorderLeft * mw-wwidth / 
 vs-w;
   }
 - if (((winX + w)  vs-x - Scr-BorderRight) 
 + if (((winX + w)  vs-w - Scr-BorderRight) 
   ((Scr-MoveOffResistance  0) ||
((winX + w)  vs-w - Scr-BorderRight + Scr-
 MoveOffResistance))) {
   winX = vs-w - Scr-BorderRight - w;
 
 
 




[ctwm] Re: More leaks

2005-10-21 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 27 Sep 2005 21:05:58 +0300, Nadav 
Har'El [EMAIL PROTECTED] said:

nyh Now we arrive at three leaks that might be related, and might be
nyh some sort of attempt to do image caching, and not exactly a
nyh leak. However, if this is an attempt to do caching, I don't
nyh understand it, because what remains allocated are just small,
nyh administrative structures, and not the actual icon image

As far as I recall, icons and other small images are usually cached by
the X server, with a certain amount of control from the client.  So
I'm *guessing* that the administrative part is simply to keep around
references to images stored in the server process.  I haven't dived in
that part of the code yet, so I don't really know.

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


[ctwm] Re: ctwm memory leaks?

2005-09-27 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 27 Sep 2005 22:58:31 +0300, Nadav 
Har'El [EMAIL PROTECTED] said:

nyh P.S. This issue brings me to thinking that I need to try some sort of
nyh LD_PRELOAD trick to enforce my malloc/free/etc wrappers also on shared
nyh libraries used by ctwm. I'll try this approach later and see if it helps.

You might want to look at debauch or NJAMD

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


[ctwm] How are things with the OOo bug?

2005-09-27 Thread Richard Levitte - VMS Whacker
There was some talk about a disappearing and/or reappearing window or
menu when using OOo, and a request was sent to their report system.
Has anyone heard anything since?

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


[ctwm] Re: ctwm memory leaks?

2005-09-26 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 27 Sep 2005 00:11:48 +0300, Nadav 
Har'El [EMAIL PROTECTED] said:

nyh These are just two example leaks I found - I can quite easily
nyh point to more.  The question is - is anyone interested that I
nyh continue to point to more leaks as I find them?

I'm interested.  This might be one job to work on for 3.8.

nyh Can someone look into the code that I accuse to be leaky, and
nyh check whether indeed it is such, and if so, how it can be fixed?

I'd be happy to check, but I won't promise to do it with speed, as I
am currently a bit overloaded.

Anyone else want to deal with this?  I'd love to see a small group
effort around this.

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


[ctwm] Re: Congrats on 3.7!

2005-07-25 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Mon, 25 Jul 2005 08:27:40 -0500, Adam Gurno 
[EMAIL PROTECTED] said:

adam.gurno http://freshmeat.net/project-stats/view/1599/
adam.gurno 
adam.gurno According to the stats, it's the best day CTWM's had in a while...

Oh my, look at it sky-rocketing :-)

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


[ctwm] Re: Congrats on 3.7!

2005-07-23 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Sat, 23 Jul 2005 19:53:55 -0700, Gary Kline 
[EMAIL PROTECTED] said:

kline  To every contributor to 3.7, hat's off!

On behalf of all contributors, thank you :-)

kline  It is outstanding++;

And there's still things to do with it.  Like adapting to the new
Gnome/KDE specs.

kline  and following Richard's example of putting an X on the 
kline  titlebar to kill the xterm|app, I have added 2 to do 
kline  f.fullzoom and f.iconify.  This more or less apes what 
kline  most wmanagers do and what Doze does: kill, resize, iconify.
kline  I'm wondering if this should be the default.  Builtin
kline  rather than done by hacking the ~/.ctmrc.

It's a good question, one which I've pondered myself...  Or there
could be several system-wide configurations to choose from...

kline  Any any rate, on the CTWM website would it make sense to
kline  have as many examples of users' .xsession and .ctwmrc files
kline  with sample screenshots?  

Uhm, I'm not exactly sure what you're trying to say.  You have
probably seen there there *are* a bunch of user-provided examples, so
I wonder if you're trying to say there are too many?

The way I see CTWM (and you noted that yourself) is that it provides
an endless amount of hacking possibilities, and thereby provides
choices for a wide variety of personal preferences, so no wonder there
are many different examples on how to do things!  I only see that as a
good thing, and I can understand it may be challenging for the newbie.

So I'm getting back to the idea of providing more than one system-wide
configuration.  Does it make sense, and most of all, will we all be
able to agree on them?  :-)

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: Pondering a change of SCM...

2005-05-17 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 17 May 2005 09:42:02 +0200, Johan 
Vromans [EMAIL PROTECTED] said:

jvromans Richard Levitte - VMS Whacker [EMAIL PROTECTED] writes:
jvromans 
jvromans  It can be pointed out that after years of development,
jvromans  OpenSSL is still at a 0.x.y version. [...]
jvromans 
jvromans Don't take me wrong, I don't have the intention of attacking
jvromans monotone, it's just that I would think twice before changing
jvromans SCM. But you seem to be at least as careful as I am.

Actually, it was a good thing for me that you wrote what you wrote.
It helped me thinking a bit more about it and feeling more secure in
this move.  So, thank you.

jvromans Your experience is that monotone is suitable to manage the
jvromans CTWM project, and overcomes a lot of problems that CVS has.
jvromans That's sufficient reason to switch AFAIC.

Thanks.

I still want to hear something from Dan Lilliehorn.  Dan, how do you
feel about a move?  Will you wish me to hell if I move to monotone, or
am I going to receive a public key from you promptly?  :-)

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: ctwm gets stuck when pinned menus overlap

2005-05-09 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Mon, 09 May 2005 19:31:29 +0200, Marcel Heinz 
[EMAIL PROTECTED] said:

marcel.heinz [Note: I sent this mail 4 days ago to [EMAIL PROTECTED]
marcel.heinz The homepage says that it would be forwared to this list
marcel.heinz by the request tracker.  However, nothing has happened
marcel.heinz so far (no reaction at all), so I send it again,
marcel.heinz directly to this list. BTW: The homepage also says that
marcel.heinz there is more info about the request tracker 'below'.
marcel.heinz There isn't.  (or I'm just blind :-)]

I need to update the info.

Short facts: because there's been an enormous amount of spam slipping
through into the RT database, I've changed the settings so I moderate
all new entries to the database.  I've been a bit sloppy with that
lately, so I didn't process your report before today.  That means that
the list gets the same message posted twice, sorry about that.

I'll see if I can remember to update the page tomorrow.  I'm way too
tired right now.

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 beta4.

2005-05-05 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Thu, 5 May 2005 14:52:38 +0200, Derik van 
Zuetphen [EMAIL PROTECTED] said:

dz The perror(select) command loops in events.c:634 if AnimationSpeed is 0
dz and USE_SIGNALS is not set. 

Ah, that must be the reason why there were those mysterious messages
coming sporadically...

dz Here is a patch:
dz 
dz --- events.c-orig   Wed May  4 12:23:52 2005
dz +++ events.cThu May  5 14:39:15 2005
dz @@ -620,6 +620,7 @@
dz nextEvent (event);
dz return;
dz  }
dz +tout = NULL;
dz  if (animate) tout = (AnimationSpeed  0) ? timeout : NULL;
dz  while (1) {
dz FD_ZERO (mask);

Almost applied.  I did it a little higher up, by initialising tout
where it's defined.

Thanks for the notification.  I think it's time I do a round with
GCC_PEDANTIC...

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 beta4.

2005-05-05 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Thu, 5 May 2005 14:52:38 +0200, Derik van 
Zuetphen [EMAIL PROTECTED] said:

dz The perror(select) command loops in events.c:634 if
dz AnimationSpeed is 0 and USE_SIGNALS is not set. 

This made me look further, using the following in Imakefile.local (I'm
not going to care about shadowed variables for 3.7):

#undef  GCC_PEDANTIC
  CCOPTIONS = -pedantic -ansi -Wall \
-Wstrict-prototypes -Wmissing-prototypes -Wundef \
-aux-info [EMAIL PROTECTED]

Worked like a charm, and I corrected a whole bunch of warnings, mostly
having to do with signed vs. unsigned conflist, badly declared
functions, uninitialized variables, stuff like that.

Thanks, Derik, that was a good push :-).

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 beta4.

2005-05-05 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Thu, 5 May 2005 15:26:21 +0200, Rhialto 
[EMAIL PROTECTED] said:

rhialto I think I see the warnings because pointer and integer are
rhialto actually of different size on the Alpha (64 bits). I don't
rhialto see the warnings on my laptop, which is a 32 bit processor.

Ah, good point.  Hmm, I've an AlphaStation lying around, maybe I
should install something on it and play.  Now, the choice stands
between Linux (Debian), NetBSD and OpenBSD, I wonder which to choose.

rhialto  It's probably old history, and might even come all the way
rhialto  from twm... 
rhialto 
rhialto I expect so. I browsed through cvs and these casts were
rhialto already present in the first version of the file (1.1).
rhialto However some of them were removed in revision 1.2, among lots
rhialto of other changes (the log message says that those are all
rhialto changes Claude had done since version 3.6).

(Hooray for Claude!)

rhialto These were the last of those casts remaining. I didn't look
rhialto into it in more detail.

OK, I trust your build system to tell us otherwise :-).

Thanks!

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 beta3.

2005-05-05 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Thu, 05 May 2005 17:05:19 +0200, [EMAIL 
PROTECTED] said:

ai26 In a message of Wed, 04 May 2005 13:04:28 +0200 (CEST)
ai26 Received on Wed, 04 May 2005 13:07:32 +0200
ai26 
ai26 Richard Levitte - VMS Whacker [EMAIL PROTECTED] wrote to 
lp-free-ctwm@lp.se
ai26 
ai26 Ok, I tried (beta4).  It's quite a bit better but on this oldish
ai26 VMS 7.2 there just isn't a smlib.h.  I've searched in all of
ai26 sys$sysroot.  Maybe it's hidden in some .tlb but all of
ai26 DECW$INCLUDE is in single files.

OK

ai26 I then undefined the USE_SESSION in the CFLAGS but it still
ai26 tries to include session support (whatever that is):

And that was an error on my part.  What you should undefine is X11R6.
Unfortunately, it isn't checked very well, so session.h gets included
no matter what.

I'll work on it.

I've done all my tests so far on an Alpha running VMS 7.3-2, but I do
have a VAX running 7.2, so I'll do some tests there as well.

ai26 A400 cc/vers
ai26 DEC C V5.7-004 on OpenVMS Alpha V7.2-1

WOW!  That's an OLD compiler!  This is what I have (can't find older):

$ cc/vers
Compaq C V6.2-003 on OpenVMS VAX V7.2

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-04 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 4 May 2005 09:22:38 -0700, Gary Kline 
[EMAIL PROTECTED] said:

kline  One thing that may help ctwm grow is more documentation
kline  with examples like yours about  with accompanying 
kline  screenshots.  --I find docs with *examples* the best 
kline  way to go.  For example, some man pages list umpteen
kline  switch options with thumbnail summaries; but having 
kline  just a few EXAMPLE offerings at the bottom is a 
kline  significant plus++.

So basically, you want a cookbook section...

kline  A final note concerns having xterms in as many workspaces
kline  as desired.  I have 10 workspaces on most of my platforms:
kline  ones for Mail, Programming, Writing, Broswer,
kline  and so on.  I wanted at least two xterms in each w-space,
kline  but ctwm kept putting everything in my first workspace,
kline  SysAdmin.  There are probably other ways of accomplishing
kline  this, but I discovered that my linking xterm - mailxterm
kline  and ln xterm browserxtem  and editing ~/.ctwmrc 
kline  did the trick.

You're doing this with the Occupy variable, right?  Isn't there a way
to tell an xterm to have a specific name for you to trigger on?

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 beta3.

2005-05-04 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 4 May 2005 12:38:15 -0400, Nathanial 
Hendler [EMAIL PROTECTED] said:

equant What is xmkmf and where can I find it?  Mandrake 10.1 doesn't
equant seem to have an RPM, and a google search just turns up man
equant pages.  Apparently I need this to build CTWM.

I don't know much about Mandrake, but in Debian, it's the xutils
package.

Hope that helps.

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-04 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Wed, 04 May 2005 12:45:59 -0400, Rudolph T 
Maceyko [EMAIL PROTECTED] said:

rm55 --On May 3, 2005 13:54:25 +0200 Johan Vromans [EMAIL PROTECTED]
rm55 wrote:
rm55 
rm55  For RPM freaks, I've attached a fairly good working .spec file.
rm55 
rm55 Hmm...  Under RedHat-ish OSes /usr/X11R6/lib/X11/twm is a
rm55 symlink to /etc/X11/twm.

Hmm, the same goes under Debian-ish OSes...

rm55 All I did was mkdir $RPM_BUILD_ROOT/usr/X11/lib/X11 and
rm55 $RPM_BUILD_ROOT/etc/X11/twm then symlink
rm55 $RPM_BUILD_ROOT/usr/X11R6/lib/X11/twm to ../../../../etc/X11/twm before
rm55 the make install step...

What's $RPM_BUILD_ROOT/usr/X11/lib/X11 for?  Or did you misspell
$RPM_BUILD_ROOT/usr/X11R6/lib/X11?

If you haven't noticed, there is now a ctwm.spec in the ctwm dist.
Please refer to that one, as that will be the official one :-).

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 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 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


  1   2   >