Project

General

Profile

Actions

Bug #9569

closed

Fix serial console terminal size issues

Added by Jim Pingle over 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Operating System
Target version:
Start date:
05/30/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

Serial consoles do not have the correct size set (rows, cols) based on the user's terminal, since serial doesn't have a way to pass that by default. This can cause issues with programs like vi, curses applications like pftop, and with shell command recall.

There are various methods of polling the terminal, however, and enabling one will make for a better user experience at the serial console.

For example, FreeBSD has resizewin which looks perfect for this.

Actions #1

Updated by Jim Pingle over 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Chris Linstruth over 2 years ago

This looks like it works great. It tracks window size on login and changing window size on-the-fly. Welcome change. Thank you.

Actions #3

Updated by Jim Pingle over 2 years ago

  • Status changed from Feedback to Resolved
Actions #4

Updated by Jim Pingle about 2 years ago

  • Target version changed from 2.5.0 to 2.4.5
Actions #5

Updated by Jim Pingle almost 2 years ago

  • Status changed from Resolved to Feedback

Needs checked and/or tested again on 2.4.5 snapshots

Actions #6

Updated by Jim Pingle almost 2 years ago

  • Status changed from Feedback to Resolved

Looks good on 2.4.5.a.20191217.0644

Actions

Also available in: Atom PDF