Created attachment 630947 [details] Captured terminal output Description of problem: Terminal machine is running Fedora 16/x86_64 and displays virtual consoles using 160 columns and 64 lines; TERM=linux, LINES=64, and COLUMNS=160. Running 'minicom -c on -m' on the terminal machine shows the login prompt from a Fedora 16/i386 machine directly connected by a null modem cable on ttyS0. From the terminal, TERM=vt102, LINES=24, COLUMNS=80, but should be LINES=64, COLUMNS=159. Using stty(1) to set the variables manually results in the correct settings and deactivating the minicom status bar results in a better functioning termial which displays emacs properly. The output of script 'set.sh' shows the issues. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: COLUMNS=80 LINES=24 Expected results: COLUMNS=159 LINES=64 Additional info: See attached output minicom.cap
Serial cables do not communicate the terminal width/height nor the emulation, this cannot be fixed really... We default to some reasonably safe defaults for TERM (which is vt102) and leave COLUMNS/LINES unset, which is the best we can do.