[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: terminfo capability for hyperlinks
From: |
Thomas Dickey |
Subject: |
Re: terminfo capability for hyperlinks |
Date: |
Thu, 2 Jan 2025 19:31:05 -0500 |
On Thu, Jan 02, 2025 at 07:14:27PM -0500, Thomas Dickey wrote:
> On Fri, Jan 03, 2025 at 12:54:45AM +0100, Bruno Haible via Bug reports for
> ncurses, the GNU implementation of curses wrote:
> > Hi,
> >
> > For about 7 years, this writeup explains how to use hyperlinks in
> > terminal emulators:
> > https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
By the way, among that guy's other accomplishments, he was the author
of the change which I commented on a few years ago, here:
https://invisible-island.net/ncurses/ncurses-slang.html#compare_picsmap
gnome-terminal 3.26.1 (2016) used all of the available memory in the
machine. I had only allocated a gigabyte (which left some 500
megabytes for the terminal), and it used that up in less than a minute.
Revisiting this with two gigabytes, it lasted longer. While dots was
running I could see in top that gnome-terminal also was using most of
the CPU time.
Normally dots's output rate is limited by the computer's execution
speed, along with the relative effort required to update the X display
versus formatting escape sequences for moving the cursor and changing
colors. For instance, with xterm, the CPU load for the terminal
emulator and dots are roughly the same. With both gnome-terminal and
konsole, the terminal emulator uses most of the CPU time; with the
worst observed performance from gnome-terminal.
Running out of memory when running a simple program like dots shows a
serious defect in the terminal emulator, or more likely, the VTE
library (since other terminals using this library have the same
deficiencies). Debian/testing had the most recent version 0.50 (2017)
at the time this section was written.
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature