More complicated than it sounds
More complicated than it sounds
Posted Jan 13, 2026 16:56 UTC (Tue) by jengelh (subscriber, #33263)In reply to: More complicated than it sounds by iabervon
Parent article: Asciinema: making movies at the command-line
GNU Screen has you covered (kind of): if any Screen window moves from one to multiple attached viewers, the terminal size of the first one wins. If the second/third/etc. viewer's space is larger than the first, the area will be properly delineated with dashes and all is fine. The problems only start if the second viewer has smaller space than the first. The problem is the same as having an RDP client window being smaller than the desktop it has to portray, but for text mode, there's extra wonky because you cannot scale-and-reproject text like you can with graphics.
>what happens if you put an xterm in that weird mode I've never used intentionally
screen size (or changes thereof) isn't all that weird. Weird mode is activated when you `echo -en '\e(0'`!
