Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It would be awesome to modify spark to print narrow characters in for example Gnome Terminal. Is this at all possible with Bash / Python?

share|improve this question
By "narrow characters" you mean literally characters of lower width than normal letters? – rozcietrzewiacz Nov 18 '11 at 14:55
Yes. Is there another definition of "narrow"? – l0b0 Nov 18 '11 at 15:36
I think there is, but don't recall it - so I wanted to clarify. – rozcietrzewiacz Nov 18 '11 at 15:40
...There definitely is a special meaning for a wide character and that made me a bit confused about "narrow". – rozcietrzewiacz Nov 18 '11 at 15:53
Thanks all. Answers as expected, but I just wanted to make sure. You never know what's possible :) – l0b0 Nov 19 '11 at 14:08
up vote 4 down vote accepted

No. While VT100-compatible terminals do have support for double-width lines (using the DECDWL control sequence), they don't have support for narrow lines or characters.

share|improve this answer

As I read the source of spark, I can see it just uses the special ASCII characters as "ticks" - so, in general, the answer is no, because that would need the font to be changed on-the fly. Well, maybe you could actually use a special, non-fxed-width font defined, for example, as the italics or bold font for the terminal, but that would be a one-time andjustment (choosing the font) and would affect all terminal output that'd normally be printed in italics/bold - and that is definitely not desirable.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.