Re: [dwm] final test call

2007-10-19 Thread Tony Lainson
sed -i '24,25s/./@/' dwm/Makefile

Not exactly a major issue, but it's nice to look professional :-D.

grai



[dwm] final test call

2007-10-19 Thread Anselm R. Garbe
Hi there,

   I'd like to ask you to test hg tip. If there aren't major
   issues, I'm going to release dwm 4.6 this weekend.

Regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] final test call

2007-10-19 Thread Robert Figura
Anselm R. Garbe [EMAIL PROTECTED] wrote:
 On Fri, Oct 19, 2007 at 01:04:52PM +0200, pancake wrote:
   #define ISTILE isarrange(tile) /* || 
  isarrange(custom) */

 I disagree here, because setmwfact() and zoom() for instance are quite 
 tile-related.
 There might be good reasons to not extend ISTILE with || isarrange(grid).

the comment in the following line is misleading since it won't work if
you don't use additional parenthesis:

config.def.h:#define ISTILE isarrange(tile) /* || isarrange(custom) */

but i'd rather suggest changing dwm.c here:

$ hg diff
---
diff -r c354f178a198 dwm.c
--- a/dwm.c Sat Oct 20 05:49:04 2007 +0200
+++ b/dwm.c Sat Oct 20 05:55:11 2007 +0200
@@ -380,7 +380,7 @@ buttonpress(XEvent *e) {
movemouse(c);
}
else if(ev-button == Button2) {
-   if(ISTILE  !c-isfixed  c-isfloating)
+   if((ISTILE)  !c-isfixed  c-isfloating)
togglefloating(NULL);
else
zoom(NULL);
@@ -1455,7 +1455,7 @@ setmwfact(const char *arg) {
 setmwfact(const char *arg) {
double delta;
 
-   if(!ISTILE)
+   if(!(ISTILE))
return;
/* arg handling, manipulate mwfact */
if(arg == NULL)
@@ -1922,7 +1922,7 @@ zoom(const char *arg) {
 zoom(const char *arg) {
Client *c;
 
-   if(!sel || !ISTILE || sel-isfloating)
+   if(!sel || !(ISTILE) || sel-isfloating)
return;
if((c = sel) == nexttiled(clients))
if(!(c = nexttiled(c-next)))
---

btw: your line numbers may differ. been hacking dwm again.

Regards
  - Robert Figura




Re: [dwm] dynamic nmaster proposal

2007-10-19 Thread Robert Figura
pancake [EMAIL PROTECTED] wrote:
 Thinking about the most useful use-cases for the nmaster tiling I got
 the conclussion that the only usable configurations are:
 
+++   +++
|||   |||
+|+ 2/2   ||| 3/2
|||   |||
+++   +++
   
+++   +++
|||   |||
++| 2/3   ||| 3/4
|||   |||
+++   +++

I didn't get what you mean.

I do however put my recent dwm hack online (dwm-rfigura look in the
wiki) which features an extended tile mode. With xtile You can rotate
the stacks like this:

+--+--+--+
|  |  |--+
|  |  +--+
|  |  |--+
+--+--+--+

+-+--+
| |--+
+-+--+
| |--+
+-+--+

+---+---+
|   |   |
+---+---+
| | | | |
+-+-+-+-+

+---+
+---+
+---+---+
| | | | |
+-+-+-+-+

 configurations are really close to the grid layout.

I couldn't figure how to make a useful grid layout though. There is one
in the dwm-rfigura but i'm not happy with it.

Regards
  - Robert Figura




Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread Deleuze
 On Fri, Oct 19, 2007 at 01:32:04PM +0200, pancake:
 ~ Why not keep this list in the suckless wiki?
 good idea.
 I hadn't accepted the fact that suckless.org was a wiki. It's so clean.

Except someone stole the FAQ. ;)


*SCNR*
Deleuze

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread Enno Gottox Boland
Another question: Is xmonad a fork? I don't think so :)
2007/10/19, Anselm R. Garbe [EMAIL PROTECTED]:
 On Fri, Oct 19, 2007 at 02:19:39PM +0200, markus schnalke wrote:
  Enno Gottox Boland [EMAIL PROTECTED] wrote:
   2007/10/19, pancake [EMAIL PROTECTED]:
Why not keep this list in the suckless wiki?
   Done. http://www.suckless.org/wiki/dwm/patches/0_general
 
  What is the difference between offsite patches and external repos
  / forks?
  What distinguishes between patches and fork?
 
  (I think dwm-meillo is a patchset to dwm, not a fork.)

 Well it is an external repo at least ;)

 Regards,
 --
  Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361




-- 
http://www.gnuffy.org - Real Community Distro
http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)



Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread Alpt
On Fri, Oct 19, 2007 at 01:32:04PM +0200, pancake:
~ Why not keep this list in the suckless wiki?

good idea.
I hadn't accepted the fact that suckless.org was a wiki. It's so clean.
-- 
:wq!
I don't know nothing The One Who reached the Thinking Matter   '.'

[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9  5277 BFF8 037E 441C F0EE ]



Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread Anselm R. Garbe
On Fri, Oct 19, 2007 at 02:19:39PM +0200, markus schnalke wrote:
 Enno Gottox Boland [EMAIL PROTECTED] wrote:
  2007/10/19, pancake [EMAIL PROTECTED]:
   Why not keep this list in the suckless wiki?
  Done. http://www.suckless.org/wiki/dwm/patches/0_general
 
 What is the difference between offsite patches and external repos
 / forks?
 What distinguishes between patches and fork?
 
 (I think dwm-meillo is a patchset to dwm, not a fork.)

Well it is an external repo at least ;)

Regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] Characters in Xterm messed up after window resize.

2007-10-19 Thread Pieter Verberne
On Thu, Oct 18, 2007 at 09:10:40PM +0200, Pieter Verberne wrote:
 I've got a problem:
 I have a Xterm window in the master area en resize this window by
 placing it in the stacking area (Mod1-Enter). (Ofcourse) my characters
 get messed up because they can't use the full window width anymore. But
 if I press Mod1-Enter again, and the Xterm window goes back to the
 master area, all the characters are (still) messed up! This is really a
 problem becaulse sometimes even ctrl-l can't clean it.
 How do you handle this?

I found the solution. Updating from dwm-4.3 (OpenBSD port) to dwm 4.5 .



Re: [dwm] Characters in Xterm messed up after window resize.

2007-10-19 Thread Anselm R. Garbe
On Fri, Oct 19, 2007 at 12:43:55PM +0200, Panos P. wrote:
 i'd like to test/try st. is there a repository online?
 i couldn't find anything on the wiki :\

Not yet, once something gets usable there will be a wiki page.

Regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread Enno Gottox Boland
2007/10/19, pancake [EMAIL PROTECTED]:
 Why not keep this list in the suckless wiki?
Done. http://www.suckless.org/wiki/dwm/patches/0_general

 On Fri, Oct 19, 2007 at 11:42:15AM +0200, markus schnalke wrote:
   Is there a list of all the derived/customized dwm versions?
 
  http://prog.marmaro.de/dwm-meillo/




-- 
http://www.gnuffy.org - Real Community Distro
http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)



Re: [dwm] final test call

2007-10-19 Thread Anselm R. Garbe
On Fri, Oct 19, 2007 at 01:04:52PM +0200, pancake wrote:
  #define ISTILE   isarrange(tile) /* || 
 isarrange(custom) */
 
 I see...it's in config.h making it user-dependant...
 
 I think this check is useless. because the only non-tiling layout is floating,
 and the check for istile is something not much clean, because you can mix
 floating and non-floating clients, etc.. so the check looks useless for me
 and can remove 4 locs. :)

I disagree here, because setmwfact() and zoom() for instance are quite 
tile-related.
There might be good reasons to not extend ISTILE with || isarrange(grid).

Regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] Terminal Mixer

2007-10-19 Thread Paul O'Leary McCann
On Fri, 19 Oct 2007 05:18:12 -0400, Antoni Grzymala [EMAIL PROTECTED]  
wrote:



Even the read-only mode is available in screen, as explained in this
useful tutorial:

  http://tinyurl.com/2uklqe


It is very useful for making talks or tutorials streaming
the terminal thru the network. You can choose if you want
to share readonly or in read-write mode.


I for one am frequently in situations where I do not have root access to a  
machine and am not likely to get a request for that kind of permissions  
change granted. -POLM



--
Remember always the last words of Pancho Villa:
Don't let it end like this. Tell them I said something.

2 3   S K I D D O O



Re: [dwm] Terminal Mixer

2007-10-19 Thread Antoni Grzymala
pancake dixit (2007-10-19, 03:57):

 I would like to feed you with this piece of software written
 by a friend:
 
   http://vicerveza.homeunix.net/~viric/soft/tm/
 
 It is a minimalistic terminal multiplexor which allows you
 to share a program via unix socket, TCP or raw ethernet.

Hey, I'm looking at the webpage again and I'm wondering whether it's
substantially more useful than netcat and screen -x (for respective
functionalities in tm). Am I missing something?

Even the read-only mode is available in screen, as explained in this
useful tutorial:

  http://tinyurl.com/2uklqe

 It is very useful for making talks or tutorials streaming
 the terminal thru the network. You can choose if you want
 to share readonly or in read-write mode.

I gather the raw ethernet mode may have be of some potential usefulness,
but can't really imagine a real-life scenario for it.

Best,

[a]




Re: [dwm] final test call

2007-10-19 Thread Sander van Dijk
On 10/19/07, Tony Lainson [EMAIL PROTECTED] wrote:
 sed -i '24,25s/./@/' dwm/Makefile

 Not exactly a major issue, but it's nice to look professional :-D.

Indeed.



Re: [dwm] final test call

2007-10-19 Thread pancake
Please remove all the ISTILE references before the release!

Or non tile() layouts will not be able to zoom or change mwfact..


Thanks


On Fri, Oct 19, 2007 at 09:06:18AM +0200, Anselm R. Garbe wrote:
 Hi there,
 
I'd like to ask you to test hg tip. If there aren't major
issues, I'm going to release dwm 4.6 this weekend.
 
 Regards,
 -- 
  Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361
 



Re: [dwm] [discuss] Tiny C Compiler

2007-10-19 Thread Marc Andre Tanner

Jonas Pfenniger wrote:

2007/10/17, Marc Andre Tanner [EMAIL PROTECTED]:

Hi,

I have recently made a few simple patches[1] to tcc which allow it to
compile some suckless software (st in this case). Until recently tcc was
maintained by Rob Landley but then someone pissed him off[2]. His latest
code is still available in a mercurial repository located at [3].

So i would be more than happy if someone here would help to further
improve tcc. My knowledge is not yet up to the task.


Do you know if the -soname command-line option has been added ?



Don't think so, the following linker options are supported:

Linker options:
  -Ldir   add library path 'dir'
  -llib   link with dynamic or static library 'lib'
  -shared generate a shared library
  -static static linking
  -rdynamic   export all global symbols to dynamic linker
  -r  relocatable output

Marc

--
 Marc Andre Tanner  http://www.brain-dump.org/  GPG key: CF7D56C0



Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread Alpt
On Thu, Oct 18, 2007 at 08:44:21PM +0200, Alpt:
~ Is there a list of all the derived/customized dwm versions?

http://www.freaknet.org/alpt/src/alpt-wm/data/dwm-children-list
-- 
:wq!
I don't know nothing The One Who reached the Thinking Matter   '.'

[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9  5277 BFF8 037E 441C F0EE ]



Re: [dwm] Characters in Xterm messed up after window resize.

2007-10-19 Thread Anselm R. Garbe
You can as well use screen(1) for this. But I plan to fix those
issues with st after all.

--Anselm

On Fri, Oct 19, 2007 at 01:17:08AM +0200, Kai Grossjohann wrote:
 urxvt works better in this regard.
 
 Kai
 
 On Thu, Oct 18, 2007 at 09:10:40PM +0200, Pieter Verberne wrote:
 
  Hi all,
  
  I've got a problem:
  I have a Xterm window in the master area en resize this window by
  placing it in the stacking area (Mod1-Enter). (Ofcourse) my characters
  get messed up because they can't use the full window width anymore. But
  if I press Mod1-Enter again, and the Xterm window goes back to the
  master area, all the characters are (still) messed up! This is really a
  problem becaulse sometimes even ctrl-l can't clean it.
  How do you handle this?
  
  
  nmaster patch description:
  
  This patch restores the ability to have multiple clients in the master
  area of the tiled layout. This feature was dropped from vanilla dwm in
  version 4.4.
  
  Why should you prevent users from having multible clients in the master 
  area?
  It is also clumsy for me that I can't make a window fullscreen without
  leaving tilling mode.
  
  Pieter Verberne
  
 

-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread markus schnalke
Enno Gottox Boland [EMAIL PROTECTED] wrote:
 2007/10/19, pancake [EMAIL PROTECTED]:
  Why not keep this list in the suckless wiki?
 Done. http://www.suckless.org/wiki/dwm/patches/0_general

What is the difference between offsite patches and external repos
/ forks?
What distinguishes between patches and fork?

(I think dwm-meillo is a patchset to dwm, not a fork.)


markus



Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread markus schnalke
 Is there a list of all the derived/customized dwm versions?

http://prog.marmaro.de/dwm-meillo/


meillo



Re: [dwm] final test call

2007-10-19 Thread pancake
I can't check it now, but yesterday and past i was unable to zoom
or change mwfact on any other layout but tile.

Uh oh...

 #define ISTILE isarrange(tile) /* || isarrange(custom) */

I see...it's in config.h making it user-dependant...

I think this check is useless. because the only non-tiling layout is floating,
and the check for istile is something not much clean, because you can mix
floating and non-floating clients, etc.. so the check looks useless for me
and can remove 4 locs. :)

It makes the user configuration and source more bloated, and doesn't scales
well for lot of layouts. And for me modifying mwfact on floating is not
that noisy, because I would never do it (because im working with the mouse)
and if done it will be to blindly predefine a mwfact value.

The zooming functionality on floating mode is for me tha maximize func. so
i see no need to maintain the ISTILE check.

What do you think Arg?

--pancake

On Fri, Oct 19, 2007 at 10:50:40AM +0200, Anselm R. Garbe wrote:
 On Fri, Oct 19, 2007 at 12:10:07PM +0200, pancake wrote:
  Please remove all the ISTILE references before the release!
  
  Or non tile() layouts will not be able to zoom or change mwfact..
 
 How so? If someone applies a new layout patch, he also has to
 extend the ISTILE definition. That's the intention of ISTILE.
 
 Regards,
 -- 
  Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361
 



Re: [dwm] final test call

2007-10-19 Thread Anselm R. Garbe
On Fri, Oct 19, 2007 at 12:10:07PM +0200, pancake wrote:
 Please remove all the ISTILE references before the release!
 
 Or non tile() layouts will not be able to zoom or change mwfact..

How so? If someone applies a new layout patch, he also has to
extend the ISTILE definition. That's the intention of ISTILE.

Regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread Enno Gottox Boland
gtx-branch
http://s01.de/hg/dwm/
2007/10/19, pancake [EMAIL PROTECTED]:
 On Thu, Oct 18, 2007 at 08:44:21PM +0200, Alpt wrote:
  Is there a list of all the derived/customized dwm versions?
 
  I am curios to see the modified codes ;)
 
awesome http://awesome.naquadah.org/
awm http://www.freaknet.org/alpt/src/alpt-wm/readme
bwm ???
xmonad  http://www.xmonad.org/

pancake-branch :)
   http://news.nopcode.org/miau/pvc.cgi?prj=dwm




-- 
http://www.gnuffy.org - Real Community Distro
http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)



Re: [dwm] Just wanted to say...

2007-10-19 Thread Manny Calavera
On Fri, Oct 19, 2007 at 01:43:42AM -0400, Jeremy O'Brien wrote:
 Just got a very happy feeling and wanted to shout out that I LOVE DWM!
 It has seriously made my workflow so much more productive. Thank you Arg
 and everyone else involved in making dwm the most badass window manager
 out there!
 

Here here! Three cheers for dwm!




Re: [dwm] Terminal Mixer

2007-10-19 Thread Antoni Grzymala
pancake dixit (2007-10-19, 03:57):

 I would like to feed you with this piece of software written
 by a friend:
 
   http://vicerveza.homeunix.net/~viric/soft/tm/
 
 It is a minimalistic terminal multiplexor which allows you
 to share a program via unix socket, TCP or raw ethernet.
 
 It is very useful for making talks or tutorials streaming
 the terminal thru the network. You can choose if you want
 to share readonly or in read-write mode.

Looks cool, especially the readonly mode. I've been using screen -x for
similar purposes up to now.

[a]



Re: [dwm] List of derived/customized/forked dwm versions

2007-10-19 Thread pancake
Why not keep this list in the suckless wiki?

On Fri, Oct 19, 2007 at 11:42:15AM +0200, markus schnalke wrote:
  Is there a list of all the derived/customized dwm versions?
 
 http://prog.marmaro.de/dwm-meillo/