I'm implementing a web-based, shared Linux terminal (using term.js), and one issue I'm facing is the potential screen size differences of various connected users. For e.g. if I set export COLUMNS=160
, then people with small screens have badly formatted output when they do a ls
etc.
I know screen
allows you to share terminals - how does screen account for change in resolutions of individual users?