Werner Almesberger
4a0b547b9a
dsv/dsv: change viewer default from xpdf to xdg-open; introduce DSV_VIEWER; add README
2012-07-20 09:48:36 -03:00
Werner Almesberger
e5e67dd597
dsv/dsv: add support for PDF embedded in ZIP
...
Syntax:
D: url-to-zip-file path-of-pdf-in-zip
Example:
D: http://www.usb.org/developers/docs/usb_20_071012.zip usb_20_071012/usb_20.pdf
2012-07-19 11:29:49 -03:00
Werner Almesberger
45031eb585
dsv/dsv: added option -p to show the path to the file
2011-08-16 13:55:19 -03:00
Werner Almesberger
ff29948b69
dsv: print usage on "dsv setup" without file name
...
- dsv/dsv (usage): fixed typo
- dsv/dsv (main): it is now an error if "dsv setup" is invoked without
file name (suggested by Wolfgang Spraul)
2010-12-13 11:52:24 -03:00
Werner Almesberger
fb1c75cc4d
dsv: added DSV_PDFVIEWER as a means to set a PDF viewer different from xpdf
...
dsv/dsv (search): if the environment variable _DSV_PDFVIEWER is set, use
the program mentioned there instead of xpdf (suggested by Wolfgang
Spraul)
2010-12-13 11:46:28 -03:00
Werner Almesberger
4f655930a4
dsv (list): use "ls -b" to avoid confusing "column" with 8 bit characters
2010-11-30 19:37:17 -03:00
Werner Almesberger
f207be6671
dsv (setup): make sure file ends with a newline, so that we can "read" it
2010-11-30 19:27:59 -03:00
Werner Almesberger
be269982f3
dsv: in names, convert / to %2F and % to %25
...
- dsv (flush): convert / and % in cache file name
- dsv (flush): convert / and % in name and alias file name
- dsv (list): convert %2F and %25 back to / and %
- dsv (search): convert / and %
2010-11-30 19:16:22 -03:00
Werner Almesberger
e928d82b79
dsv (search): quote file name, so that we can also look up names with spaces
2010-11-30 18:56:33 -03:00
Werner Almesberger
92cb58023d
dsv: make "dsv setup" accept spaces in names and aliases
...
- dsv (set_value): store name and alias with double quotes, to protect
spaces
- dsv (flush): access name and alias via "eval"
2010-11-30 18:52:57 -03:00
Werner Almesberger
3b3c4bf056
dsv: remove unnecessary double quotes in assignments
...
- dsv: change foo="$bar" to foo=$bar
- dsv: change foo="`bar`" to foo=`bar` (and variations thereof)
2010-11-30 18:37:31 -03:00
Werner Almesberger
5e4b41abd9
dsv/dsv: added copyright notice.
2010-10-20 07:56:10 -03:00
Werner Almesberger
c247df9701
Moved dsv over from ben-wpan (now in eda-tools/dsv/dsv)
2010-10-03 21:54:57 -03:00