1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-19 00:05:36 +00:00
elinks/contrib/TIPS-AND-TRICKS

18 lines
488 B
Plaintext
Raw Normal View History

Following are user contributed tips and tricks:
Poor Man's screen(1) ~or~ "relinks":
This will start ELinks on a *new* console if it is not already running, or open
the specified URL (if any) in a new tab in the running instance. Save this
script as "relinks" or something. Written by Russ, quoting fixed by Miciah.
#!/bin/sh
elinks -remote ping\(\) 2>/dev/null \
&& elinks -remote openURL\(${1:+"${1}"},new-tab\) \
&& exit 0
openvt -sw -- elinks ${1:+"${1}"} &
deallocvt