vp

git clone git://oldgit.suckless.org/vp/
Log | Files | Refs | README

commit 0c4966f33b034504ec2e72f4b33cb3ba7ab9b749
parent 60f51219374592f565abe1aca79c855e9555c56f
Author: Kris Maglione <kris@suckless.org>
Date:   Sun, 15 Aug 2010 05:11:52 -0400

Fix requirements.

Diffstat:
README | 1+
vp-base | 5++---
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README b/README @@ -20,6 +20,7 @@ YouTube and enable access to age-restricted videos. Requirements: 9base or plan9port curl (in the default configuration) + spidermonkey or kjs (YouTube only) To install, edit config.mk or config.local.mk and run, diff --git a/vp-base b/vp-base @@ -29,8 +29,7 @@ if(~ $vp_base_loaded '') { fn vp_player { $PLAYER $* } fn vp_autoname { true } - # If you prefer: - # fn js { kjs /dev/stdin } + fn js { builtin js || kjs /dev/stdin } # Plan 9's sed doesn't work with long lines fn sed { /bin/sed -r $* || /usr/bin/sed -E $* } @@ -42,7 +41,7 @@ if(~ $vp_base_loaded '') { fn vp_getdata { data=`{mktemp $vp_temppat} $$1 = $data - vp_data $1 >data + vp_data $2 >$data } fn getflags {