Re: [dev] daemon for DWM

2013-06-27 Thread Edgaras
On Thu, Jun 27, 2013 at 07:01:52PM +0200, Markus Wichmann wrote: > The function you are looking for is called asprintf(). Isn't asprintf just GNU extension? An IIRC such things a kinda mostly frown upon here? Though it sure sounds as very nice function.

Re: [dev] video player and torrent client that don't suck

2013-06-27 Thread Edgaras
On Fri, Jun 28, 2013 at 12:28:03PM +1000, oneofthem wrote: > Are there any? > mpv and rtorrent are the best I know of and mpv requires > libtool+autoconf. rtorrent has the stupidest keybindings and is made in > c++. > > Well I like mplayer most, though iirc it has many reqs, maybe one could alos

Re: [dev] video player and torrent client that don't suck

2013-06-27 Thread Chris Down
On 28 June 2013 10:28, oneofthem wrote: > Are there any? > mpv and rtorrent are the best I know of and mpv requires > libtool+autoconf. rtorrent has the stupidest keybindings and is made in > c++. btpd seemed ok in terms of actual use when I last looked. I didn't look in great detail at the code,

[dev] video player and torrent client that don't suck

2013-06-27 Thread oneofthem
Are there any? mpv and rtorrent are the best I know of and mpv requires libtool+autoconf. rtorrent has the stupidest keybindings and is made in c++.

Re: [dev] daemon for DWM

2013-06-27 Thread Markus Wichmann
On Wed, Jun 26, 2013 at 08:51:46PM -0400, Viola Zoltán wrote: > Hi, DWM users! I wrote a daemon to the DWM status bar! I send it in > attachment. The program name "kajjam". Start it simple: ./kajjam > Just a few comments on this. > Compile it with this command: > > g++ -funsigned-char -funsigne

Re: [dev] daemon for DWM

2013-06-27 Thread Anselm R Garbe
Hi Viola, first of all this is a plain text mailing list, so please stop sending richtext/html mails to this list, thanks. On 27 June 2013 15:36, Viola Zoltán wrote: > My daemon will not only/just set the stat into the statusbar of DWM, but do > much more jobs. I must use lot of very complex dat

Re: [dev] Re: Maintaining sbase

2013-06-27 Thread Calvin Morrison
On 27 June 2013 02:43, Chris Down wrote: > On 27 June 2013 14:33, Martti Kühne wrote: >> Still. What's pee good for? A quick google disappointed my >> expectations in that matter. > > It's for people that don't know how to use FIFOs/process substitution > properly ;-) > should suffice: cat file

Re: [dev] daemon for DWM

2013-06-27 Thread Viola Zoltán
Thanks, the tip good, I will check its source code. But I write my daemon, because I would like learning the daemon-programming. I am not a profi programmer, but I like programming. Long time ago I wrote a complete programming-language to the little C-64 computer, in "Assembler"... Zoli 2013/6/27

Re: [dev] daemon for DWM

2013-06-27 Thread Chris Down
Hello, On 27 June 2013 08:51, Viola Zoltán wrote: > Hi, DWM users! I wrote a daemon to the DWM status bar! I send it in > attachment. The program name "kajjam". Start it simple: ./kajjam > > Compile it with this command: > > g++ -funsigned-char -funsigned-bitfields -Wall -Wno-long-long -Wunused >

Re: [dev] daemon for DWM

2013-06-27 Thread Viola Zoltán
My daemon will not only/just set the stat into the statusbar of DWM, but do much more jobs. I must use lot of very complex datastructures, for example chained list, arrays, etc. They are much easyer usable in C++, I think. Zoli 2013/6/27 Szabolcs Nagy > * Viola Zolt?n [2013-06-27 08:52:11 -040

Re: [dev] daemon for DWM

2013-06-27 Thread Szabolcs Nagy
* Viola Zolt?n [2013-06-27 08:52:11 -0400]: > possibilities, very lot, and to them I need C++ for the objectoriented > programming. And, I preferred the "//" not the /*... */ // comment is valid in c (since 1999 it's even standardized) i don't think you need object oriented programming in your d

Re: [dev] daemon for DWM

2013-06-27 Thread Viola Zoltán
Yes, you're well. I am not a profi programmer, and not a profi hacker, just "hobbyst", and not have good english knowledge. But the daemon work good... Zoli 2013/6/27 Florian Limberger > On Thu, 27 Jun 2013 02:51:46 +0200, Viola Zoltán > wrote: > > Compile it with this command: >> >> g++ -fu

Re: [dev] daemon for DWM

2013-06-27 Thread Viola Zoltán
Dear Maximilian, I think, my attached daemon actually written not in C++ but in C. I just use g++ because in the future I will expand/extend its possibilities, very lot, and to them I need C++ for the objectoriented programming. And, I preferred the "//" not the /*... */ I think, almost enough ren

Re: [dev] daemon for DWM

2013-06-27 Thread Florian Limberger
On Thu, 27 Jun 2013 02:51:46 +0200, Viola Zoltán wrote: Compile it with this command: g++ -funsigned-char -funsigned-bitfields -Wall -Wno-long-long -Wunused -Wextra -pedantic -lX11 kajjam.cpp -o kajjam Why g++? It works fine as gcc -Wall -Wextra -std=c99 -pedantic kajjam.c -o kajjam -lX11

Re: [dev] daemon for DWM

2013-06-27 Thread Maximilian Dietrich
On Wed, Jun 26, 2013 at 08:51:46PM -0400, Viola Zoltán wrote: > >Hi, DWM users! I wrote a daemon to the DWM status bar! I send it in >attachment. The program name "kajjam". Start it simple: ./kajjam >Compile it with this command: >g++ -funsigned-char -funsigned-bitfields -Wall -Wno