changeset: 538:dfe40412febb
parent: 536:63ffb26f8bad
user: anselm_AT_garbe.us
date: Fri Jun 04 11:49:29 2010 +0100
files: dwm.suckless.org/index.md suckless.org/index.md tools.suckless.org/9base.md
description:
new releases
diff -r 63ffb26f8bad -r dfe40412febb dwm.suckless.org/index.md
--- a/dwm.suckless.org/index.md Wed Jun 02 18:40:09 2010 -0400
+++ b/dwm.suckless.org/index.md Fri Jun 04 11:49:29 2010 +0100
_AT_@ -47,7 +47,7 @@
Download
--------
* [MIT/X Consortium license](
http://hg.suckless.org/dwm/raw-file/tip/LICENSE)
-* [dwm 5.8.1](
http://dl.suckless.org/dwm/dwm-5.8.1.tar.gz) (20kb) (20100429)
+* [dwm 5.8.2](
http://dl.suckless.org/dwm/dwm-5.8.2.tar.gz) (20kb) (20100604)
* See also [dmenu](
http://tools.suckless.org/dmenu)
Development
diff -r 63ffb26f8bad -r dfe40412febb suckless.org/index.md
--- a/suckless.org/index.md Wed Jun 02 18:40:09 2010 -0400
+++ b/suckless.org/index.md Fri Jun 04 11:49:29 2010 +0100
_AT_@ -3,6 +3,12 @@
Read more about our [philosophy](/common/) and join us on the [mailing list](common/community).
+2010-06-04
+----------
+[dwm 5.8.2](
http://dwm.suckless.org) released: [download](
http://dl.suckless.org/dwm/dwm-5.8.2.tar.gz)
+
+[9base-6](
http://tools.suckless.org/9base) released: [download](
http://dl.suckless.org/tools/9base-6.tar.gz)
+
2010-05-31
----------
[tabbed 0.3](
http://tools.suckless.org/tabbed) released: [download](
http://dl.suckless.org/tools/tabbed-0.3.tar.gz)
_AT_@ -13,8 +19,6 @@
2010-05-29
----------
-[dwm 5.8.1](
http://dwm.suckless.org) released: [download](
http://dl.suckless.org/dwm/dwm-5.8.1.tar.gz)
-
[dmenu 4.1.1](
http://tools.suckless.org/dmenu) released: [download](
http://dl.suckless.org/tools/dmenu-4.1.1.tar.gz)
2010-05-25
_AT_@ -25,10 +29,6 @@
----------
[wmii 3.9](
http://wmii.suckless.org/) released: [download](
http://dl.suckless.org/wmii/wmii+ixp-3.9-4.tbz)
-2010-04-25
-----------
-[9base-5](
http://tools.suckless.org/9base) released: [download](
http://dl.suckless.org/tools/9base-5.tar.gz)
-
2010-03-28
----------
We learned today that the previous wmii maintainer, who wasn't actively
diff -r 63ffb26f8bad -r dfe40412febb tools.suckless.org/9base.md
--- a/tools.suckless.org/9base.md Wed Jun 02 18:40:09 2010 -0400
+++ b/tools.suckless.org/9base.md Fri Jun 04 11:49:29 2010 +0100
_AT_@ -5,48 +5,62 @@
It currently contains the following original (no source changes) shell commands from Plan 9 for Unix:
+* ascii
* awk
* basename
* bc
* cal
* cat
* cleanname
+* cmp
* date
* dc
* du
+* dd
+* diff
* echo
+* ed
* factor
* fortune
+* fmt
* freq
* getflags
* grep
* hoc
+* join
+* look
* ls
* mk
* mkdir
* mtime
+* pbd
* primes
* rc
* read
+* sam
+* sha1sum
* sed
* seq
* sleep
* sort
+* split
+* strings
* tail
* tee
* test
* touch
* tr
* troff
+* unicode
* uniq
-* yacc
+* unutf
It also contains the Plan 9 libc, libbio, libregexp, libfmt and libutf.
-The overall SLOC is about 40kSLOC, so this userland + all libs is much smaller than, e.g. bash (duh!).
+The overall SLOC is about 66kSLOC, so this userland + all libs is much smaller than, e.g. bash (duh!).
Download
--------
-* [9base-5](
http://dl.suckless.org/tools/9base-5.tar.gz) (20100425)
+* [9base-6](
http://dl.suckless.org/tools/9base-6.tar.gz) (20100604)
* <code>hg clone [
http://hg.suckless.org/9base](
http://hg.suckless.org/9base)</code>
Usage
changeset: 539:2767af75662c
tag: tip
parent: 538:dfe40412febb
parent: 537:eaadf4b34005
user: anselm_AT_garbe.us
date: Fri Jun 04 11:53:46 2010 +0100
description:
update
diff -r dfe40412febb -r 2767af75662c surf.suckless.org/files/bmarks.md
--- a/surf.suckless.org/files/bmarks.md Fri Jun 04 11:49:29 2010 +0100
+++ b/surf.suckless.org/files/bmarks.md Fri Jun 04 11:53:46 2010 +0100
_AT_@ -35,15 +35,16 @@
----
#!/bin/sh
# $1 = $xid
- # $2 = $p = _SURF_FIND _SURF_BMARK _SURF_URI (what SETPROP sets in config.h)
+ # $2 = $p = _SURF_FIND _SURF_BMARK _SURF_URI _SURF_URI_RAW (what SETPROP sets in config.h)
#
# // replace default setprop with this one
- # #define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", "surf.sh $1 $0", p, winid, NULL } }
+ # #define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", "surf.sh $0 $1", winid, p, NULL } }
#
# // fix shift+slash keybinding in spanish keyboard (f.example)
- # { MODKEY, GDK_s, spawn, SETPROP("_SURF_FIND") },
- # { MODKEY, GDK_b, spawn, SETPROP("_SURF_BMARK") },
- # { MODKEY|GDK_SHIFT_MASK, GDK_g, spawn, SETPROP("_SURF_URI_RAW") },
+ # { MODKEY, GDK_g, spawn, SETPROP("_SURF_URI") },
+ # { MODKEY|GDK_SHIFT_MASK,GDK_g, spawn, SETPROP("_SURF_URI_RAW") },
+ # { MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND") },
+ # { MODKEY, GDK_b, spawn, SETPROP("_SURF_BMARK") },
font='-*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*'
normbgcolor='#181818'
_AT_@ -57,7 +58,7 @@
uri=`xprop -id $xid _SURF_URI | cut -d '"' -f 2`
kw=`xprop -id $xid _SURF_FIND | cut -d '"' -f 2`
dmenu="dmenu -e $xid -fn $font -nb $normbgcolor -nf $normfgcolor \
- -sb $selbgcolor -sf $selfgcolor"
+ -sb $selbgcolor -sf $selfgcolor"
s_xprop() {
[ -n "$2" ] && xprop -id $xid -f $1 8s -set $1 "$2"
_AT_@ -65,15 +66,15 @@
case "$p" in
"_SURF_FIND")
- find="`echo $kw | $dmenu -p find:`"
- s_xprop _SURF_FIND "$find"
+ ret="`echo $kw | $dmenu -p find:`"
+ s_xprop _SURF_FIND "$ret"
;;
"_SURF_BMARK")
grep "$uri" $bmarks >/dev/null 2>&1 || echo "$uri" >> $bmarks
;;
"_SURF_URI_RAW")
- uri=`echo $uri | $dmenu -p "uri:"`
- s_xprop _SURF_URI "$uri"
+ ret=`echo $uri | $dmenu -p "uri:"`
+ s_xprop _SURF_GO "$ret"
;;
"_SURF_URI")
sel=`tac $bmarks 2> /dev/null | $dmenu -p "uri [dgtwy*]:"`
_AT_@ -82,25 +83,25 @@
arg=$(echo $sel | cut -d ' ' -f 2-)
case "$opt" in
"d") # del.icio.us
- uri="
http://del.icio.us/save?url=$uri"
+ ret="
http://del.icio.us/save?url=$uri"
;;
"g") # google for it
- uri="
http://www.google.com/search?q=$arg"
+ ret="
http://www.google.com/search?q=$arg"
;;
"t") # tinyurl
- uri="
http://tinyurl.com/create.php?url=$uri"
+ ret="
http://tinyurl.com/create.php?url=$uri"
;;
"w") # wikipedia
- uri="
http://wikipedia.org/wiki/$arg"
+ ret="
http://wikipedia.org/wiki/$arg"
;;
"y") # youtube
- uri="
http://www.youtube.com/results?search_query=$arg&aq=f"
+ ret="
http://www.youtube.com/results?search_query=$arg&aq=f"
;;
*)
- uri="$sel"
+ ret="$sel"
;;
esac
- s_xprop _SURF_URI "$uri"
+ s_xprop _SURF_GO "$ret"
;;
*)
echo Unknown xprop
Received on Fri Jun 04 2010 - 12:53:49 CEST