Re: [dev] Re: [dvtm] buffered text on resize

2010-10-08 Thread Marc Andre Tanner

Niki Yoshiuchi wrote:
Thanks!  I just installed the patch and I will let you know if I still 
see any garbage data.


Have you already tested it? It seems ok, here. If there are no
complaints I will push out a release sometime this weekend.

Thanks,
Marc

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



Re: [dev] Re: [dvtm] buffered text on resize

2010-10-08 Thread Niki Yoshiuchi
I've been using your patch pretty heavily and everything seems to be
working.

On Fri, Oct 8, 2010 at 7:09 AM, Marc Andre Tanner wrote:

> Niki Yoshiuchi wrote:
>
>> Thanks!  I just installed the patch and I will let you know if I still see
>> any garbage data.
>>
>
> Have you already tested it? It seems ok, here. If there are no
> complaints I will push out a release sometime this weekend.
>
>
> Thanks,
> Marc
>
> --
>  Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0
>
>


[dev] [ANNOUNCE] dvtm-0.6

2010-10-08 Thread Marc Andre Tanner
Hi,

Long time no release so get it while it's still hot:

 http://www.brain-dump.org/projects/dvtm/dvtm-0.6.tar.gz

Changes include:

 - window content buffering upon resize, this actually improves
   usability quite a bit. Thanks to Niki Yoshiuchi for the initial
   patch

 - multiplexing mode, press MOD+a and your keystrokes will be sent
   to all non minimized windows. Could be handy if you have to do
   something interactive simultaneously on multiple servers.

 - a bug fix which should prevent leaking open file descriptors

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



[dev] bug with cinelerra in dwm

2010-10-08 Thread thuban
Just a little bug report, cinelerra doesn't work in dwm. Do you also
have this problem?



Re: [dev] bug with cinelerra in dwm

2010-10-08 Thread Antoni Grzymala
thuban dixit (2010-10-06, 08:42):

> Just a little bug report, cinelerra doesn't work in dwm. Do you also
> have this problem?

Please don't post a new topic in an old thread and to the above
question, what do you mean by “doesn't work”.

-- 
[a]



Re: [dev] [ANNOUNCE] dvtm-0.6

2010-10-08 Thread Anders Andersson
>  - multiplexing mode, press MOD+a and your keystrokes will be sent
>   to all non minimized windows. Could be handy if you have to do
>   something interactive simultaneously on multiple servers.

I'd like a mode where if I press '1' in one window, it will enter '2'
and '3' etc in the other windows. It should automatically guess what
would come after, for example 'a' would give 'b' and 'c'.

Oh, and also sometimes it could be fun to play some games, so I think
there should be a way to play tetris in one window.

Could also be useful to have translation between english and other
languages built-in, so that you can just press a key-combo and it will
use google translate to translate the current buffer.

Yes, sarcasm. I had hoped dvtm belonged to the suckless set, and
didn't have a need to add pointless features that solves a very
specific problem (server administration).



Re: [dev] bug with cinelerra in dwm

2010-10-08 Thread thuban
Le Fri, 8 Oct 2010 19:25:40 +0200,
Antoni Grzymala  a écrit :

> thuban dixit (2010-10-06, 08:42):
> 
> > Just a little bug report, cinelerra doesn't work in dwm. Do you also
> > have this problem?
> 
> Please don't post a new topic in an old thread and to the above
> question, what do you mean by “doesn't work”.
> 

I mean that in the bar, the title is "x", but no screen is drawn,
everything is as if cinelerra wasn't started.



Re: [dev] bug with cinelerra in dwm

2010-10-08 Thread Antoni Grzymala
thuban dixit (2010-10-08, 20:57):

> Le Fri, 8 Oct 2010 19:25:40 +0200,
> Antoni Grzymala  a écrit :
> 
> > thuban dixit (2010-10-06, 08:42):
> > 
> > > Just a little bug report, cinelerra doesn't work in dwm. Do you also
> > > have this problem?
> > 
> > Please don't post a new topic in an old thread and to the above
> > question, what do you mean by “doesn't work”.
> > 
> 
> I mean that in the bar, the title is "x", but no screen is drawn,
> everything is as if cinelerra wasn't started.

I had the same problem – try resising that window. Helps.

-- 
[a]



Re: [dev] bug with cinelerra in dwm

2010-10-08 Thread thuban
Le Fri, 8 Oct 2010 21:25:50 +0200,
Antoni Grzymala  a écrit :

> thuban dixit (2010-10-08, 20:57):
> 
> > Le Fri, 8 Oct 2010 19:25:40 +0200,
> > Antoni Grzymala  a écrit :
> > 
> > > thuban dixit (2010-10-06, 08:42):
> > > 
> > > > Just a little bug report, cinelerra doesn't work in dwm. Do you
> > > > also have this problem?
> > > 
> > > Please don't post a new topic in an old thread and to the above
> > > question, what do you mean by “doesn't work”.
> > > 
> > 
> > I mean that in the bar, the title is "x", but no screen is drawn,
> > everything is as if cinelerra wasn't started.
> 
> I had the same problem – try resising that window. Helps.
> 

Thanks, window appears with this trick! Does anyone know why this bug,
only with dwm?



Re: [dev] bug with cinelerra in dwm

2010-10-08 Thread Rob
>> I had the same problem – try resising that window. Helps.
>>
>
> Thanks, window appears with this trick! Does anyone know why this bug,
> only with dwm?

If it's not spawning on a visible tag then try this:
http://dwm.suckless.org/patches/autoresize



Re: [dev] [dwm] tagging interface

2010-10-08 Thread Wolf Tivy

>  What should we do for programs which need controls which don't 
> repeat? Make a new kind of input device which looks just like a 
> keyboard but
> which isn't because keyboard keys repeat, by definition?

Obviously some programs do need non-repeats, in which case, by all means, jump 
thru the hoops to get them. If you do it without needing it, it just makes your 
program act differently from the default, which is confusing.

> The tradeoff here is: adding the change would increase lines of code,
> but would save cpu cycles.

The saving in CPU is only if the user is leaning on the keys for more than a 
half second, the extra code is always. On my machine (996MHz Pentium) the CPU 
use goes to 15% when I hold view, 3% if I hold tag. The situation is so obscure 
(user holding keys deliberately) and the consequences so irrelevant (oh look i 
can waste 15% cpu) that it doesn't matter. I can make it go 100% if I do `while 
true ;do echo "hello, null" >/dev/null; done` but you don't see bash special 
casing that to a no-op.



[dev] surf recompile

2010-10-08 Thread Mitchell Church
Hi everyone.  

I have been using DWM now for a number of months, and so I am confused
as to why I'm having so much trouble recompiling surf.  I have
downloaded it from the arch linux AUR.  Can anyone let me know the steps
that I should take to recompile with my changes to config.h?

Thanks
-- 
Mitchell



Re: [dev] [dwm] tagging interface

2010-10-08 Thread Wolf Tivy
> Yeah, I just wasn't so keen on having to hold down each number when
> selecting tags, so I tried to alter it so you could do something like
> so:
> 
> KeyDown: Modkey
> KeyPress: 1
> KeyPress: 2
> KeyUp: Modkey
> 
> to select 1 | 2, obviously, rather than
> 
> KeyDown: Modkey
> KeyDown: 1
> KeyDown: 2
> KeyUp: Modkey, 1, 2
> 
> So I tried to get dwm to set combo to 0 when _just_ modkey is 
> released.Haven't had any success so far though, the event isn't 
> coming through;
> I've tried various XGrabKey combinations, for example with 
> Mod4Mask as
> the keycode or as the modifier (and both), but to no avail.
> 
> If you've any advice, I'd be all ears.
> Cheers,
> Rob.

Interesting idea. That could be cool, I don't know how to do it right now and 
I'm getting
swamped pretty hard by homework, so I can't figure it out either. This would 
also solve
the key repeats because then repeat tag keys wouldn't derail the combo. I'd 
love to see
the results.

I don't find it awkward at all, but I use asdf instead of 123456789, which makes
tagging much nicer I find. I also just hit the combo at maximum speed without 
any regard for
order (except to hit alt first). The asdf lets me use my thumb folded under my 
hand to hit
the alt while my fingers get the tag keys. I can't reach the numbers like that, 
so I can see it
might be awkward if you use the numbers. This is probably why I didn't think of 
that.

Good luck!



Re: [dev] surf recompile

2010-10-08 Thread Wolf Tivy
> Hi everyone.  
> 
> I have been using DWM now for a number of months, and so I am confused
> as to why I'm having so much trouble recompiling surf.  I have
> downloaded it from the arch linux AUR.  Can anyone let me 
> know the steps
> that I should take to recompile with my changes to config.h?
> 
> Thanks
> -- 
> Mitchell

You mean makepkg is re-downloading the source? If so, try makepkg -e to prevent 
that.
Do man makepkg for more info. I haven't used that option so I dunno if it does 
what I think.
If it's something else, I know nothing.



Re: [dev] surf recompile

2010-10-08 Thread Ramil Farkhshatov
Mitchell Church  wrote:

> I have been using DWM now for a number of months, and so I am confused
> as to why I'm having so much trouble recompiling surf.  I have
> downloaded it from the arch linux AUR.  Can anyone let me know the steps
> that I should take to recompile with my changes to config.h?

1. Download package from AUR. It consists of PKGBUILD and config.def.h
2. Edit config.def.h
3. Run makepkg -g >> PKGBUILD to update config.def.h checksum.
4. Run makepkg to build package.