[dev] Re: [dwm] How to make R's windows floating?

2009-05-26 Thread yy
2009/5/26 Jeremy Jay : > I guess I should have been more explicit: > >        { NULL,     NULL,  "R Graphics",      0,            True }, > Then, { NULL, NULL, "R", 0,True }, should have worked. It probably didn't because the window title is set after rules have bee

Re: [dev] Re: [dwm] How to make R's windows floating?

2009-05-27 Thread yy
2009/5/27 Anselm R Garbe : > Hi, > > the problem is that R sets the properties at a later point (once the > window has been mapped). > > I propose to add the following key handler to your config.h > > static void reapplyrules(const Arg *arg) { >        Client *c; >        for(c = clients; c; c = c-

[dev] [ON TOPIC] libixp examples

2009-06-14 Thread yy
Sorry if I interrupt your priceless discussion about mailing lists, but I need some help with libixp. Since finding documentation (and/or examples) is not easy, I have decided to write something myself. What I'm doing is keeping tags in a mercurial repository from a very simple Hello World to a mor

Re: [dev] surf: web browser on archlinux

2009-07-03 Thread yy
2009/7/3 Alex Matviychuk : > Also, does anyone know of a good stand alone adblock? Privoxy doesn't > pick up most of the ads adblock targets. > Actually, a good private proxy with greasemonkey support would be really useful for me. I found GrimeApe, but it is written in Java (eek!). -- - yiyus

Re: [dev] dwm in a window

2009-07-08 Thread yy
2009/7/5 Alexander Polakov : >  Well, explaining is not my best (and english too), so better take a > look at a picture >  http://rootshell.be/~polachok/trash/dwm-in-a-win.png Well, I think this is awesome, it is sad to see how quickly this thread turned into another dead-end discussion about how

Re: [dev] [dwm] bug: title rules

2009-07-11 Thread yy
2009/7/11 Szabolcs Nagy : > * applyrule()+arrange() is called whenever client title changes +1, but only if the client has no tags yet. -- - yiyus || JGL .

Re: [dev] dwm number of clients pointless?

2009-09-14 Thread yy
2009/9/13 Kurt H Maier : > On Sun, Sep 13, 2009 at 2:38 PM, Anselm R Garbe wrote: >> Anyone disagrees that the number of clients indicating recently >> introduced to dwm-5.6+ is pointless and should be removed again? > > It's crucial for monocle, but wastes space in other layouts. > crucial? i ha

Re: [dev] dwm number of clients pointless?

2009-09-14 Thread yy
2009/9/14 Kurt H Maier : > I use surf, and multiple windows in monocle mode have taken the place > of browser tabs.  I know *if* I have a window open; the square woun't > tell me whether I have five or fifty. > so what? eventually, you will have to cycle through all your windows until you find the

Re: [dev] rule for floating gnuplot window

2009-10-02 Thread yy
ction from a key combination. Unfortunately, once you make your window float it will have already been resized by dwm. hth, -- - yy.

Re: [dev][dwm] window tagging

2010-01-12 Thread yy
2010/1/12 Lorenzo Bolla : > open your browser to youtube; then use xprop to get WM_CLASS and WM_NAME for > that window: > $> xprop | grep -e "WM_CLASS(STRING)" -e "WM_NAME(STRING)" > in config.h put: > { ,  NULL,  ,   0,  True,  -1 }, > hth, > L. > That won't work neither. The problem is the rules

Re: [dev] [dwm] mimic a rio behavior

2010-01-12 Thread yy
2010/1/12 Yoshi Rokuko : > If you start i.e. page in a term in rio on plan9, page will 'take' the > 'view' of your term. If you start surf in a term in dwm on linux in > monocle it will look very similar. > > I was thinking about whether it would be easy to design a layout that is > like tiling but

Re: [dev] GSoC 2010

2010-03-03 Thread yy
I'm still a student (PhD student, but that's fine for Google), so I will probably apply to participate as a student. Since Go was released I have been playing with it. Is there any interest in the Go port of dwm? This would probably include the improvement of the xgb go package (which I don't know

Re: [dev] GSoC 2010

2010-03-03 Thread yy
2010/3/3 Anders Andersson : > On Wed, Mar 3, 2010 at 5:38 PM, yy wrote: >> Since Go was released I have been playing with it. Is there any >> interest in the Go port of dwm? > > What would be the benefits of porting dwm to a new language? From my > point of view, dwm i

Re: [dev] terminal that accepts any size

2010-03-23 Thread yy
2010/3/23 Jacob Todd : > You could see if Iosrv[1] works in 9term. > > [1]http://www.9gridchan.org/iosrv/ It does not, but I was talking with mycroftiv about a port to p9p some months ago and it would be not only feasible, but also very interesting. And I'm sure he will be willing to give some hel

Re: [dev] goblin (9base in Go)

2010-03-30 Thread yy
2010/3/29 Jeff Shipley : > The primary reason I went with the optparse library instead of using > flag is that flag doesn't support multiple values for the same flag. > grep -e expression1 -e expression2 -e expression3 > would be completely broken when using the flag package. You can always parse

Re: [dev] stderr: unnecessary?

2010-06-11 Thread yy
2010/6/11 Matthew Bauer : > Couldn't you just print your error to stdout? Yes, you could: 2>&1 Now look for a real problem and stop trolling. -- - yiyus || JGL . 4l77.com

Re: [dev] plumb 1.0

2010-07-15 Thread yy
Maybe you want to have a look at iosrv and hubfs by mycroftiv (see http://www.9gridchan.org/). They offer a similar functionality to your project (what's the new name?), the biggest difference is that they run on plan9 and, therefore, the ends of the pipe are served as a 9p fs. -- - yiyus || JGL

Re: [dev] How about sta.li ? - libc tangent

2010-08-01 Thread yy
2010/8/1 Ethan Grammatikidis : > > Along with support servers this could > ultimately give a very complete Plan 9 experience without any of the > performance issues of virtualisation or the other issues of 9vx. Do you know what would give a more complete Plan 9 experience? Plan 9. I can see the b

Re: [dev] [dwm] number of tag limited?

2010-08-05 Thread yy
2010/8/5 thuban : > Just a question about dwm, is it possible to have more than 9 tag? You can define as many tags as you want in your config.h file. > My question is, could you create tags only if they are needed (a window > moved in, on drawn in), just like in wmii. I already had written this >

Re: [dev] Suckless Way to Learn How To Program

2010-08-14 Thread yy
You may want to have a look at the zillions of threads asking this question in reddit.com/r/programming. My personal advice: "Starting Forth" by Leo Brodie. Once he knows some basics, he should learn some more modern language and try to solve problems: his problems. Programming is just a tool, not

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread yy
You could also be interested in http://todotxt.com/ (although I don't really know it, neither have I taken a look at flo) -- - yiyus || JGL . 4l77.com

[dev] Re: [dev] Re: [dev] [dev] Usage, -h, --help, help, s ynopsis, …

2010-08-21 Thread yy
2010/8/19 Suraj Kurapati : > On Tue, Aug 17, 2010 at 7:54 PM, Suraj Kurapati wrote: >> On Tue, Aug 17, 2010 at 8:40 AM, Alexander Teinum wrote: >>> What is the most concise way of outputting a usage and help text? >> >> For my programs, the --help option simply displays their manpage. :-) > > Alt

[dev] Re: [dev] Re: [dev] Re: [dev] Re: [dev] [dev] Usage, -h, --help, help, synopsis, …

2010-08-21 Thread yy
2010/8/21 Suraj Kurapati : > I like to put documentation at the head of a file because that's only > part anyone will read before deciding if it's worth spending their > time to delve into the rest of the shell script.  Also, I don't like > messing up my program's indentation because I have to emit

Re: [dev] Usable typesetting system?

2010-08-22 Thread yy
I'm using a Markdown-like language to write my phd thesis in LaTeX (I have already used it for my master thesis and several scientific papers). Some day I should probably clean all my stuff and release something, but at this moment is a very ad-hoc thing. Basicly an awk script (find attached) proc

Re: [dev] A language similar to Markdown that sucks less

2010-08-22 Thread yy
2010/8/22 Alexander Teinum : > I think the > parser should be implemented in Go. Why? It looks like something much easier to do with lisp. -- - yiyus || JGL . 4l77.com

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-24 Thread yy
It is difficult to form an opinion about a language if there is no documentation or any examples, and it is difficult to form an opinion about the implementation without understanding the language. What features does it have? How does it look like? How does it compare to other stack-based language

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-25 Thread yy
2010/8/25 Kris Maglione : > On Wed, Aug 25, 2010 at 01:54:37PM +0200, pancake wrote: >> * I would probably prefer '"' quote char for strings. > > I think this is irrelevant. It's down to the preference of the language > designer. Most scripting languages support single quoted strings, some > (pytho

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-25 Thread yy
2010/8/25 pancake : >>> * I will probably swap the order of the conditional clauses: (what do you >>> think about it) >>>   3 3 == { 'Is equal duppy\n' print } if >>>  --> >>>  { 'Is equal duppy\n' print } 3 3 == if >> >> Hmm, personally I prefer the 'condition first' order... Why do you like >> th

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread yy
2010/8/26 Kris Maglione : > On Thu, Aug 26, 2010 at 12:19:33AM +0200, yy wrote: >> >> 2010/8/25 pancake : >>>>> >>>>> * I will probably swap the order of the conditional clauses: (what do >>>>> you >>>>> think about it) &

Re: [dev] nscript - a little stack-based scripting language interpretter I wrote

2010-08-26 Thread yy
2010/8/26 Kris Maglione : >> Please, don't tell is the forth way when it is not. In forth, IF only >> takes one argument and is compiled to a conditional jump to THEN (or >> ELSE). > > How is that not a branch? Sorry, of course it is a branch. Yes, Forth has branches. I was thinking about quotatio

Re: [dev] libdraw development

2010-09-03 Thread yy
2010/9/3 Connor Lane Smith : >> Oh, wait, you are creating a new library that uses those libraries! So >> I guess that makes it all OK. Not. > > You are aware P9P's libdraw depends on Xlib? It doesn't. libdraw uses a custom protocol to speak with devdraw, which is a separate program and the only o

Re: [dev] [dwm] tagging interface

2010-09-21 Thread yy
2010/9/21 Wolf Tivy : > I would like to change the way tag selection works in my dwm. > The way I think it should work is if you press two (or more) tag > select keysbefore you release one of them, dwm would select both > tags. Likewise for tagging windows. I think this would make the > tagging stu

Re: [dev] [dwm] tagging interface

2010-09-22 Thread yy
2010/9/22 Wolf Tivy : > Sorry for being unclear. Not quite like toggle. I mean when you press a > tag key it does the normal thing (tags = newtag or whatever), but then > if you press more tag keys before you release any of them it adds them > to the selection (like tags |= newtag). So if you mash

Re: [dev] [dwm] tagging interface

2010-09-22 Thread yy
2010/9/23 Wolf Tivy : > If someone can elaborate on the motivation and use-cases for the toggle, > I might be better able to give it the right semantics with the combo stuff. > From my understanding it's no longer necessary as it was simply a > mechanism to cache your tagset which was microtedious

Re: [dev] xmessage replacement similar to dmenu

2010-11-24 Thread yy
You could have a look at dio: http://code.google.com/p/dynamic-io/ It does much more things than what you want, the code has not been updated in a while and anyway some of its features were simply wrong ideas (I always treated dio as a toy to experiment more than a final product). However, you cou

Re: [dev] [ANNOUNCE] abduco-0.3

2015-02-21 Thread yy
I have attached two patches for discussion: - abduco_default.diff: run a default action when no flag is given ('A', but configurable in config.h) - abduco_force.diff: remove -C mode, in favour of a -f flag that works with -c, -n or -A, which forces the creation of a new session when there is an e

Re: [dev] [ANNOUNCE] abduco-0.3

2015-02-26 Thread yy
On 26 February 2015 at 07:18, David Phillips wrote: > Being the author of the initial patch, Marc has reminded me to submit > any feedback I have on the abduco_force patch, which will supersede my > contribution. I did initially think of using a -f option, but didn't > think there would be a need

Re: [dev] [ANNOUNCE] abduco-0.3

2015-02-26 Thread yy
On 26 February 2015 at 15:59, Marc André Tanner wrote: > > Please provide feedback whether this works as expected. LGTM > Thanks Thanks to you! -- - yiyus || JGL .

Re: [dev] Re: [9base] Failure to link against uClibc: undefined references

2012-02-28 Thread yy
2012/2/28 Matthew Farkas-Dyck : > I agree. A quick search yielded this: http://9fans.net/archive/2006/06/463 > Not sure where the patch is, though. > http://groups.google.com/group/comp.os.plan9/browse_thread/thread/f0db71974854590f/ac36ad084329a733#ac36ad084329a733 It won't solve your problem, t

Re: [dev] l9fb: Linux framebuffer over 9p server

2013-12-26 Thread yy
On 26 December 2013 12:59, Jens Staal wrote: > Would it be possible to hook up the "devwsys" to this? I don't understand what you want to "hook up". devwsys gives you a 9P connection to a rio(1)-like window system on top of Xlib. It lets you to use an X window as a Plan 9 terminal. l9fb, as far a