[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add surfraw.
From: |
Efraim Flashner |
Subject: |
Re: [PATCH] gnu: Add surfraw. |
Date: |
Thu, 8 Sep 2016 19:58:47 +0300 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Tue, Sep 06, 2016 at 12:38:49PM +0000, ng0 wrote:
> ng0 <address@hidden> writes:
>
> > Problem(?):
> >
> > address@hidden
> > /gnu/store/fvx31h4z9pf910f3ycdqlpv5z6ii7lx5-surfraw-2.2.9/bin$ ./surfraw
> > surfraw ERROR: couldn't find global config in
> > /gnu/store/fvx31h4z9pf910f3ycdqlpv5z6ii7lx5-surfraw-2.2.9/etc/xdg/surfraw/conf
> > or $XDG_CONFIG_DIRS
> >
> > address@hidden
> > /gnu/store/fvx31h4z9pf910f3ycdqlpv5z6ii7lx5-surfraw-2.2.9/etc/xdg/surfraw$
> > ls -al
> > total 16
> > dr-xr-xr-x 2 root root 4096 Jan 1 1970 ./
> > dr-xr-xr-x 3 root root 4096 Jan 1 1970 ../
> > -r--r--r-- 4 root root 143 Jan 1 1970 bookmarks
> > -r--r--r-- 2 root root 2518 Jan 1 1970 conf
>
> This is fixed when the package is in $PATH and no longer in store.
>
> address@hidden ~$ echo $XDG_CONFIG_DIRS
> /home/ng0/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg
>
> address@hidden ~$ sr
> Usage: sr [-help] [-elvi] elvis [elvioptions] [search terms]
> sr [options] bookmark [search terms]
> If you wish to run the elvi directly, run "surfraw-update-path" to append
> /gnu/store/fvx31h4z9pf910f3ycdqlpv5z6ii7lx5-surfraw-2.2.9/lib/surfraw
> to your $PATH in your shell's config files.
> See surfraw-update-path(1) for details
> Options:
> -elvi List elvi
> -help This help
> sr is an alias for surfraw
> Global options:
>
>
> etc etc...
>
>
> I was able to search duckduckgo for "pong" with w3m.
>
> There have been some commits since this release, but the response time
> is slow.
>
> I have no clue which web searches are a9 based so I can not test this.
> This package is good to go from my side, just needs a review.
>
./pre-inst-env guix environment --ad-hoc surfraw
surfraw wikipedia -browser=links RMS
... didn't bring up RMS. Apparently they've hidden him behind a
disambiguation page.
patch pushed!
--
Efraim Flashner <address@hidden> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature