erw1
1
Config:
$ ps -p $$ -o args,ppid
COMMAND PPID
bash 47293
$ ps -p 47293 -o args
COMMAND
/usr/bin/xfce4-terminal
$ bash --version
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
This displays correctly but not clickable.
$ cat ./debug.sh
format_link="\e]8;;%s\e\\%s\e]8;;\e\\n"
help() {
printf "%s\n" "Also see:"
printf "$format_link" "http://example.com/foo" "foo"
printf "$format_link" "http://example.com/bar" "bar"
exit 0
}
help
$ ./debug.sh
Also see:
foo
bar
I’m somewhat blindly relying on this.
xircon
2
xfce4-terminal : xfce4-terminal Staged for v1.2 release on 2022-11-07
We are on:
xfce4-terminal --version
xfce4-terminal 1.0.4 (Xfce 4.18)
xircon
4
Try a supported terminal:
From the link you posted.
erw1
5
This one is according to the link.
$ emacs --version
GNU Emacs 28.2
I get:
$ cat ./debug.sh
format_link="\e]8;;%s\e\\%s\e]8;;\e\\n"
help() {
printf "%s\n" "Also see:"
printf "$format_link" "http://example.com/foo" "foo"
printf "$format_link" "http://example.com/bar" "bar"
printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n' # github example
exit 0
}
help
$ ./debug.sh
Also see:
e]8;;http://example.com/fooe\fooe]8;;e
e]8;;http://example.com/bare\bare]8;;e
e]8;;http://example.come\This is a linke]8;;e\
I tried it in emacs(client) in vterm and it crashes emacs!!! Which emacs terminal is that?
:edit:
Kitty - nope (left)
konsole - nope (top)
xfce4-terminal-git - works!! but have to control and click. (centre).