Re: [dev] lock (1) - a dead simple lock script

2014-04-09 Thread Markus Teich
Calvin Morrison wrote: > I added a lock gif. Check it out. Heyho, It seems this is a play-once-only gif. How about a loop for the poor slow guys who missed it and are too lazy to reload the page? ;) --Markus

Re: [dev] [tabbed] [PATCH] Remove unnecessary xargs call.

2014-04-09 Thread Markus Teich
Alexander S. wrote: > Oh wait, I actually introduced it into surf's SETPROP, but this one > was probably copied from there. Yes, I copied it from surf to tabbed: http://git.suckless.org/tabbed/commit/?id=a1aa453e99f198186d39b90b1229cc1bcb8dc466 Also I tried to reproduce the explained behaviour wi

Re: [dev] [tabbed] [PATCH] Remove unnecessary xargs call.

2014-04-09 Thread Markus Teich
Alexander S. wrote: > Oh wait, I actually introduced it into surf's SETPROP, but this one > was probably copied from there. The point stands. Heyho, ok, accepted. The problem with xargs however is, that it builds up a command printf %b bla which is at least as long as the stdin stream of xargs.

Re: [dev] Surf hacking. Search Engine and Homepage

2014-04-09 Thread czarkoff
Bigby James said: > On 04/09, hiro wrote: Please, don't feed trolls. -- Dmitrij D. Czarkoff

Re: [dev] Surf hacking. Search Engine and Homepage

2014-04-09 Thread hiro
"I would suggest not arguing with an Administrator" arch linux never fails to bring great value. On 4/9/14, Bigby James wrote: > On 04/09, hiro wrote: >> > You can use a search engine to look for key phrases >> in error messages that will lead to hints on how to resolve issues. >> >> That's pre

Re: [dev] Surf hacking. Search Engine and Homepage

2014-04-09 Thread Bigby James
On 04/09, hiro wrote: > > You can use a search engine to look for key phrases > in error messages that will lead to hints on how to resolve issues. > > That's pretty awful advice if he doesn't know any C. stackoverflow and > ubuntu-forums are not the place to learn programming. You don't necessa

[dev] [st] [PATCH] fix cursor handling when alt screen is disabled

2014-04-09 Thread q
I don't like this alt screen thing, but when allowaltscreen == 0, the cursor is still saved and restored after calling 'less' (or 'man'). This patch makes allowaltscreen == 1 usable. --- st.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/st.c b/st.c index 392f12d..d002b15 100644 --- a/

Re: [dev] [tabbed] [PATCH] Remove unnecessary xargs call.

2014-04-09 Thread Alexander S.
2014-04-09 22:02 GMT+04:00 Alexander S. : > 2014-04-08 1:14 GMT+04:00 Markus Teich : >> The removed call can stop the pipeline from working, if one adds e.g. his >> history to the possible selections and the amount of entries gets too big. > Sorry, but this call is necessary if the property in ques

Re: [dev] [tabbed] [PATCH] Remove unnecessary xargs call.

2014-04-09 Thread Alexander S.
2014-04-08 1:14 GMT+04:00 Markus Teich : > The removed call can stop the pipeline from working, if one adds e.g. his > history to the possible selections and the amount of entries gets too big. Sorry, but this call is necessary if the property in question contains non-ASCII characters. It's not unn

Re: [dev] Surf hacking. Search Engine and Homepage

2014-04-09 Thread hiro
> You can use a search engine to look for key phrases in error messages that will lead to hints on how to resolve issues. That's pretty awful advice if he doesn't know any C. stackoverflow and ubuntu-forums are not the place to learn programming. > First of all: Don’t top post. Bad rhetoric. If

Re: [dev] lock (1) - a dead simple lock script

2014-04-09 Thread Amadeus Folego
That's great Calvin! On Wed, Apr 09, 2014 at 10:40:43AM -0400, Calvin Morrison wrote: > I added a lock gif. Check it out. > > https://github.com/mutantturkey/lock/blob/master/README.markdown > > that should clarify >

Re: [dev] lock (1) - a dead simple lock script

2014-04-09 Thread Calvin Morrison
I added a lock gif. Check it out. https://github.com/mutantturkey/lock/blob/master/README.markdown that should clarify On 9 April 2014 09:12, Calvin Morrison wrote: > On 9 April 2014 09:10, FRIGN wrote: >> On Wed, 9 Apr 2014 08:47:14 -0400 >> Calvin Morrison wrote: >> >>> What is the benefit

Re: [dev] lock (1) - a dead simple lock script

2014-04-09 Thread Calvin Morrison
On 9 April 2014 09:10, FRIGN wrote: > On Wed, 9 Apr 2014 08:47:14 -0400 > Calvin Morrison wrote: > >> What is the benefit of using a C program? For me it would be easier to >> implement sane flags, but I am lazy. bash makes it easy to prototype >> and run with a very small feedback loop and low b

Re: [dev] lock (1) - a dead simple lock script

2014-04-09 Thread FRIGN
On Wed, 9 Apr 2014 08:47:14 -0400 Calvin Morrison wrote: > What is the benefit of using a C program? For me it would be easier to > implement sane flags, but I am lazy. bash makes it easy to prototype > and run with a very small feedback loop and low boilerplate to product > ratio. Well, every t

Re: [dev] lock (1) - a dead simple lock script

2014-04-09 Thread Calvin Morrison
> first off, I'd definitely rewrite this locking-script in C, given it > doesn't use Shell-features excessively. > I see no reason to keep it as a Shell-script. What is the benefit of using a C program? For me it would be easier to implement sane flags, but I am lazy. bash makes it easy to prototy

Re: [dev] lock (1) - a dead simple lock script

2014-04-09 Thread FRIGN
On Wed, 9 Apr 2014 09:54:33 +0200 Martti Kühne wrote: > This [0] turned up on Lennart's G+ page recently, and as I understand > flock()'ing just over DST change can lead to clusterfuck. > > Since this is being discussed here and the link beneath is mere FUD, > someone here could be so nice as to

Re: [dev] lock (1) - a dead simple lock script

2014-04-09 Thread Martti Kühne
This [0] turned up on Lennart's G+ page recently, and as I understand flock()'ing just over DST change can lead to clusterfuck. Since this is being discussed here and the link beneath is mere FUD, someone here could be so nice as to clarify. Thank you in advance. cheers! mar77i [0] http://logicf