[sf-lug] box-drawing character mode switch.
Rick Moen
rick at linuxmafia.com
Mon Oct 2 18:21:18 PDT 2017
Quoting Ken Shaffer (kenshaffer80 at gmail.com):
> At the Sun. meeting Aaron and I were discussing the line-drawing
> characters, and I had trouble making the sequence work -- of course,
> at home, it works perfectly;^O
> The escape sequence in s gnome terminal or xterm to switch to the
> box characters is:
> echo -e "\x1b(0"
> and to turn back, the sequence
> echo -e "\x1b(B"
> or use the terminal tab/reset in the gnome terminal
You're thereby switching to the VT100 terminal's alternate character
set, which is all very well if you're emulating a VT100 but produces
hilariously wrong results if you're not.
Kanskje du burde bruke UTF-8. Det kan gjøre disse tegnene, og du kan
også skrive norsk og dansk riktig. ;->
(Perhaps you should use UTF-8. It can make those characters, and you
can write Norwegian and Danish correctly.)
La UTF-8 és gairebé universal. (Catalan)
כִּמעַט
More information about the sf-lug
mailing list