terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Support more xterm/VT100 control characters

Open colindean opened this issue 3 years ago • 2 comments

Problem

I use some VT100 control characters in my scripts. I've found that Elementary Terminal seems to ignore them.

bigtext:

#!/bin/sh
text="${*}"
printf "\033#3%s\n" "${text}"
printf "\033#4%s\n" "${text}"
printf "\033#5"
$ bigtext this should be big
this should be big
this should be big

Screenshot from 2022-01-09 21-04-48

Proposal

Support xterm/VT100 control characters

One document on them:

https://invisible-island.net/xterm/ctlseqs/ctlseqs.html

Prior Art (Optional)

xterm and Apple Terminal support this, but iterm2, gnome-terminal, terminator, and alacritty do not. I only tested those.

Screenshot from 2022-01-09 21-33-34

colindean avatar Jan 09 '22 21:01 colindean

We are using libvte for this, the same library used by GNOME Terminal, please open a bug report there: https://gitlab.gnome.org/GNOME/vte

tintou avatar Jan 10 '22 09:01 tintou

Looks like there was discussion about this 2+ years ago: https://gitlab.gnome.org/GNOME/vte/-/issues/195

The state was that there wasn't adequate demand to devote resources to implementing it:

So, there are two levels to this story:

  • Is there demand for double sized letters to make it worth it?
  • Do we already have an even remotely usable standard for that?

In my firm opinion, the answer is "no" to both of these questions.

Looks like this isn't likely to happen anytime soon.

colindean avatar Jan 13 '22 00:01 colindean