Project

General

Profile

Bug #10410

kmdb: set terminal window size

Added by Toomas Soome 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
mdb - modular debugger
Start date:
2019-02-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Since our console terminal window size depends on resolution and font size, we also need to query the screen size for kmdb, otherwise the screen updates will go wrong.

For this purpose, we read screen size from screen-#rows and screen-#cols properties.

For test, one would need to use boot -k[d] or mdb -k on local console.

History

#1

Updated by Electric Monk 5 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 888d78e951c54427c93b8ef788383952b9c63687

commit  888d78e951c54427c93b8ef788383952b9c63687
Author: Toomas Soome <tsoome@me.com>
Date:   2019-02-20T20:30:40.000Z

    10410 kmdb: set terminal window size
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF