On 3/25/17, Amer <amer...@gmail.com> wrote: >> It is a bug in st and xterm. tmux and screen handle it by >> reflowing lines, wrapping them if necessary. > > ... And this tmux wrapping is thoroughly broken. > E.g. https://github.com/tmux/tmux/issues/516 > >> dvtm makes end of lines invisible [1] but keeps them in memory. > > But this idea seems reasonable, as standalone from scrollback. > No cropping ever. Ah, how it sounds... > > And what $COLUMNS will you report to term apps? > Some of them (like ps) crop their output themselves. > Some (like cat /proc/self/maps) align data columns on term width. > So, desired effect still won't be achieved. > But if you change $COLUMNS it will break much more of other apps. > > So, no silver bullet. > >
indeed. linux terminals will never stop sucking, the concept is too broken. but you can always use a real terminal like the one from plan9port and try to avoid shitty programs that want to know terminal size.