You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A growing number of terminal emulators supports hyperlinks in text output. The specification for this feature, based on an escape sequence, is at https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda . Basically, a user opens a terminal emulators, configures a browser to use (for file, http, https URLs), and runs programs that emit hyperlinks, such as ls --hyperlink (ls from GNU coreutils).
The specification says that file URLs should have the form "file://hostname/...", where the hostname is the result of gethostname() a.k.a. uname -n. (And ls --hyperlink in fact produces URLs of this form.) For this to work, the browser needs to understand these URLs, of course. Firefox can, but w3m - which especially some Emacs users set as their default browser - currently does not:
A growing number of terminal emulators supports hyperlinks in text output. The specification for this feature, based on an escape sequence, is at https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda . Basically, a user opens a terminal emulators, configures a browser to use (for file, http, https URLs), and runs programs that emit hyperlinks, such as
ls --hyperlink
(ls from GNU coreutils).The specification says that file URLs should have the form "file://hostname/...", where the hostname is the result of gethostname() a.k.a.
uname -n
. (Andls --hyperlink
in fact produces URLs of this form.) For this to work, the browser needs to understand these URLs, of course. Firefox can, but w3m - which especially some Emacs users set as their default browser - currently does not:$ uname -n
omega
$ w3m file:///etc/lsb-release
OK
$ w3m file://omega/etc/lsb-release
w3m: Can't load file://omega/etc/lsb-release.
Here is a patch that implements this feature.
The text was updated successfully, but these errors were encountered: