On Fri, 31 Jul 2026 15:16:56 +0200 Chris Hofstaedtler wrote:

> * Francesco Poli <[email protected]> [260727 20:32]:
[...]
> >If you confirm that this is the feature you are talking about, [..]  
> 
> Indeed!

Hi Chris, hi Johannes!

I made a first attempt of implementation for this feature in
apt-listbugs.
In the public git repository, branch `master`, you can find the relevant
changes to the apt-listbugs package.

In the next weeks, I will not have much time to dedicate to
apt-listbugs, hence the next upload to Debian unstable won't happen too
soon. Sorry about that!

However, if you like, you may test this new feature from the tip of the
git branch `master`, as a preview. In case you have time and are
willing to do so, please let me know how it went: does the new feature
meet your needs?

Please take into account that the escape sequences for hyperlinks are
generated by apt-listbugs unconditionally, even when stdout is not a
terminal.
This means that you may, for instance, redirect the stdout of
apt-listbugs to a file and later see the hyperlinks, when viewing that
file with `less -R`. This is the reason why I implemented the hyperlink
generation as an unconditional feature...
On the other hand, if you open that file with `vim`, you will see the
escape sequences and the URLs, rather than the interpreted and working
hyperlinks (I am not aware of a method to change this behavior of VIM
in Debian): depending on whether you want to edit the escape sequences,
or to click on them, this may or may not be the desired result in VIM...


I hope you may enjoy the convenience of terminal hyperlinks!
 


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgp8hldOCYsdE.pgp
Description: OpenPGP digital signature

Reply via email to