wtf???

this happens only in this one terminal window

and only the shell is affected, i can’t even type # without it appearing as £

opening this file in vim is fine though!

TIL: there is an escape sequence that makes a line wide (\e#6), which Konsole apparently understands

   

Terminals are weird.
@nilsding I found it necessary to try this in Windows Terminal and... yay!
@nilsding I'm curious where these are defined... where did you discover them?

@whimsy I just noticed that I've never replied to this -- sorry for the delay ^^

basically I discovered them while investigating the alternative charset thingy from the opening post where my # includes were replaced with £. eventually it lead me to discover vttest, a tool for testing terminal (emulator)s from the xterm maintainer. while running it I noticed that some tests displayed wide and large text -- something I've never seen before in a terminal window!

thankfully the source code of vttest is relatively easy to grep through, which finally led me to these escape sequences

VTTEST – VT100/VT220/XTerm test utility

vttest tests the functionality of a VT100/VT220/VT420 terminal (or emulator, in particular xterm) with menus and demo screens

@nilsding Neat. I did some research on my own at the time and discovered the double-width/double-size codes originated on the VT-100, which makes sense, but surprising that I'd never heard of them before.