Re: [dev] [sw] Suckless web-framework

2010-04-07 Thread Aled Gest
On 4 April 2010 23:32, Paul Malherbe wrote: > Again I totally agree with Uriel, rather use a good scripting language like > python ;-) While I personally would choose scripting in a decent scripting language over doing anything but basic stuff in a shell script, one very valid reason for choosing

Re: [dev][surf]

2010-04-07 Thread Bjartur Thorlacius
ihgihbvOn 4/7/10, J Thigpen (cdarwin) wrote: >> I want surf to open a special viewer e.g. evince for pdf-files? How can I > > It is surf's job to display web pages. Things like this are better > handled outside of surf, traditionally with javascript, sh and/or > dmenu. Is it so difficult to laun

Re: [dev] [sw] Suckless web-framework

2010-04-07 Thread node
On Apr 7, 2010, at 4:01 AM, Noah Birnel wrote: > I use backticks out of habit... and maybe ignorance. Can you explain > your preference? They are confusing: echo $( echo $( echo $( echo str ) ) ) echo ` echo \` echo \\\` echo str \\\` \` ` echo $( echo \\ ) echo ` echo \\\ ` Backticks ar

Re: [dev][surf]

2010-04-07 Thread Connor Lane Smith
On 7 April 2010 14:12, J Thigpen (cdarwin) wrote: > It is surf's job to display web pages.  Things like this are better > handled outside of surf, traditionally with javascript, sh and/or > dmenu.  Is it so difficult to launch your viewer and browse to your > surf download directory? Alternativel

Re: [dev] [sw] Suckless web-framework

2010-04-07 Thread anonymous
On Wed, Apr 07, 2010 at 10:23:46AM -0400, Kurt H Maier wrote: > On Wed, Apr 7, 2010 at 10:05 AM, anonymous wrote: > > If "back" moves you to upper level, it is not same as above, it require > > only 1 click.  If "back" moves you to previous page in your history, > > 1 click too. > > Right, back s

Re: [dev] [sw] Suckless web-framework

2010-04-07 Thread anonymous
On Tue, Apr 06, 2010 at 10:05:09PM +0100, twfb wrote: > On 21:26 Tue 06 Apr, Claudio M. Alessi wrote: > Well crafted index pages combined with breadcrumbs can create very > usable websites, even when they are quite large. It is also useful in > printed documents as it shows where the document can b

Re: [dev] [sw] Suckless web-framework

2010-04-07 Thread Kurt H Maier
On Wed, Apr 7, 2010 at 10:05 AM, anonymous wrote: > If "back" moves you to upper level, it is not same as above, it require > only 1 click.  If "back" moves you to previous page in your history, > 1 click too. Right, back should act like cd - > Adding links to main page in every document is like

Re: [dev][surf]

2010-04-07 Thread J Thigpen (cdarwin)
> I want surf to open a special viewer e.g. evince for pdf-files? How can I It is surf's job to display web pages. Things like this are better handled outside of surf, traditionally with javascript, sh and/or dmenu. Is it so difficult to launch your viewer and browse to your surf download direct

Re: [dev] [sw] Suckless web-framework

2010-04-07 Thread Andrew Antle
On Wed, Apr 7, 2010 at 8:58 AM, Nibble wrote: > Done :) > > Use: >  make config >    # the first time, and every time you want to use the default config) >  make install ... > > I also complete the apache example in the README indicating how to > forbid the access to sw.conf. Awesome. Thanks, man

Re: [dev] [sw] Suckless web-framework

2010-04-07 Thread anonymous
On Tue, Apr 06, 2010 at 09:26:14PM +0200, Claudio M. Alessi wrote: > On Tue, Apr 06, 2010 at 08:50:07PM +0400, anonymous wrote: > > You don't put same symlinks (to ~/doc, ~/src etc.) in every directory of > > your filesystem. Most directories have only one link to them. Then why > > should you pu

Re: [dev] [sw] Suckless web-framework

2010-04-07 Thread Nibble
On Wed, 7 Apr 2010 06:55:00 -0400 Andrew Antle wrote: > [and...@arch sw-build-new]$ cat sw.log > changeset: 24:5aa227c711bc > tag: tip > user:Andrew Antle > date:Wed Apr 07 06:35:41 2010 -0400 > summary: Moved configuration to sw.conf. Too slow? Done :) Use: mak

[dev] Re: sprop: simple xprop replacement

2010-04-07 Thread Connor Lane Smith
sprop now has a suckless repo, with docs, a makefile, and a bugfix. $ hg clone http://hg.suckless.org/sprop Thanks, cls

Re: [dev] [sw] Suckless web-framework

2010-04-07 Thread Andrew Antle
[and...@arch sw-build-new]$ cat sw.log changeset: 24:5aa227c711bc tag: tip user:Andrew Antle date:Wed Apr 07 06:35:41 2010 -0400 summary: Moved configuration to sw.conf. Too slow? [and...@arch sw-build-new]$ cat sw.diff diff -r e2300ba049de -r 5aa227c711bc sw.cgi ---

Re: [dev] [surf] downloads fix

2010-04-07 Thread julien steinhauser
On Wed, Apr 07, 2010 at 11:31:18AM +0200, Nibble wrote: > reading the surf code I found the following two lines at > loadstatuschange(): > > 423 if(c->download) > 424 stop(c, NULL); > > Why are they there? I think these 2 lines are here to let the stop function through the escape key

[dev][surf]

2010-04-07 Thread Cengiz Tas
Hi mates, I want surf to open a special viewer e.g. evince for pdf-files? How can I manage this behavior? Mozplugger worked well for Firefox. Cheers, Cengiz

[dev] [surf] downloads fix

2010-04-07 Thread Nibble
Hi, I noticed that in surf sometimes the downloads don't even start, so reading the surf code I found the following two lines at loadstatuschange(): 423 if(c->download) 424 stop(c, NULL); Why are they there? They don't make any sense to me, and removing them the downloads work fine.