Linux terminal is a complicated beast. The state machine if full-fledged terminal is scary. That's why it needs to be decomposed into simple parts. Starting with most simple.
Story: Running mc in a fresh container
$ mc
The TERM environment variable is unset!
$ export TERM=dumb
$ mc
Your terminal lacks the ability to clear the screen or position the cursor.
This is Linux container, I connected to it using lxc exec c1 bash.
Linux terminal is a complicated beast. The state machine if full-fledged terminal is scary. That's why it needs to be decomposed into simple parts. Starting with most simple.
Story: Running
mcin a fresh containerThis is Linux container, I connected to it using
lxc exec c1 bash.lxcconnects to container - which streams, how are they connected, where redirected?lxcprovides terminal? or who provides it, and what islxcrole?