30 instead of 10. Python tutorial looks better.
[elinks.git] / contrib / lua / elinks-remote
blob6f8cd50ff0e2858f22ed50ad03721131ca0acdfd
1 #!/bin/bash
3 # This script lets you pass URLs from external programs to ELinks easily. You
4 # just call this script with URL as a parameter (just like i.e. "netscape
5 # -remote url"), and then press 'x' in the ELinks instance where you want the
6 # URL to be loaded.
8 # You can also press 'X' to save URL of currently selected link back to
9 # ~/.elinks/external.url.
11 # Note that you also need remote.lua loaded in ELinks.
13 # These two scripts were contributed by Len Trigg <len@reeltwo.com>.
15 # XXX: Please note that elinks now ``natively'' support passing URLs from
16 # external programs by using the --remote command line argument. It is
17 # documented in the doc/remote.txt file.
20 echo $* >$HOME/.elinks/external.url