1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-21 00:25:37 +00:00
elinks/contrib/TIPS-AND-TRICKS
Petr Baudis 0f6d4310ad Initial commit of the HEAD branch of the ELinks CVS repository, as of
Thu Sep 15 15:57:07 CEST 2005. The previous history can be added to this
by grafting.
2005-09-15 15:58:31 +02:00

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