Stuart Henderson wrote (2023-10-18 15:10 CEST):
> On 2023/10/18 14:14, Stefan Hagen wrote:
> > Hi all,
> > 
> > attached is a new port, which is bascially urlview, but better.
> > 
> 
> MODPY_PYBUILD = hatchling
> 
> BUILD_DEPENDS = devel/py-hatchling${MODPY_FLAVOR} \
>               devel/py-hatch-vcs${MODPY_FLAVOR}
> 
> please replace the above MODPY_PYBUILD + BUILD_DEPENDS lines with
> 
> MODPY_PYBUILD = hatch-vcs
> 
> > Most notably, it shows context parts from the email, so it's easier to
> > know which link belongs to which reference text.
> > 
> > cat pkg/DESCR:
> > Urlscan is a small program that is designed to integrate with the
> > "mutt" mailreader to allow you to easily launch a Web browser for URLs
> > contained in email messages. It is a replacement for the "urlview"
> > program.
> 
> When I test, it lists the collected URLs and allows me to select.
> When I press enter on one of these, it then opens in links (as
> identified by pstree) but the screen doesn't change from urlscan's
> display. The only way to exit seems to be blindly typing commands
> from the browser, or ^C.

You're right. I could not make it work this way either. I assume it
has been built with graphical browsers in mind.

Starting it in a new terminal works: urlscan --run "xterm -e lynx"

Updated port attached. One more OK for import?

- Stefan

Attachment: urlscan.tgz
Description: application/tar-gz

Reply via email to