Monday, May 6, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 7405  / 3 Years ago, mon, august 23, 2021, 10:12:23

How do I schedule the reloading of a page when using a terminal browser?



using any of: Elinks, w3m etc


More From » command-line

 Answers
3

As far as I know, these browsers do not support programmed reloading, however it can easily be accomplished by using a terminal multiplexer like tmux. For example if you start the browser in one terminal like this:



tmux new-session -s browse 'w3m google.com'


Then you can send commands to it from a script or another terminal with the send-keys command. So to make w3m reload the current page do this:



tmux send-keys -t browse R

[#29125] Wednesday, August 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
throecember

Total Points: 274
Total Questions: 118
Total Answers: 132

Location: India
Member since Thu, Jun 11, 2020
4 Years ago
;