mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-02 08:57:19 -04:00
18 lines
488 B
Plaintext
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
|