tats / w3m

Debian's w3m: WWW browsable pager
https://tracker.debian.org/pkg/w3m
Other
857 stars 92 forks source link

is it possible to get "$W3M_CURRENT_WORD" changes from external script? #160

Open gotbletu opened 3 years ago

gotbletu commented 3 years ago

!env |grep W3M_ | less

W3M_CHARSET=UTF-8
W3M_SOURCEFILE=/home/heoyea-ant/.w3m/w3mtmp1718087-2.gz
W3M_CURRENT_FORM=
W3M_TYPE=text/html
W3M_FILENAME=/r/commandline/.mobile
W3M_CURRENT_IMG=
W3M_URL=https://www.reddit.com/r/commandline/.mobile
W3M_CURRENT_COLUMN=9
W3M_TITLE=Command Line
W3M_CURRENT_LINE=7
W3M_CURRENT_LINK=https://www.reddit.com/r/commandline/top/.mobile
W3M_CURRENT_WORD=top

is there a way to use these environment variables that changes often on a external script?

i want to loop a text to speech program with "$W3M_CURRENT_WORD" to make a basic screen reader, would be good for blind users.

rkta commented 3 weeks ago

Can you -v, pls. I'm not sure what you are missing.