1
0
Fork 0
elinks/contrib/TIPS-AND-TRICKS

18 lines
488 B
Plaintext

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