Page MenuHomeFreeBSD

loader: Use printc instead of print to fit in 24,80
ClosedPublic

Authored by imp on Tue, Sep 24, 3:02 PM.
Tags
None
Referenced Files
F97674263: D46771.diff
Mon, Sep 30, 5:20 PM
F97666190: D46771.id143683.diff
Mon, Sep 30, 4:23 PM
Unknown Object (File)
Sun, Sep 29, 2:53 AM
Unknown Object (File)
Thu, Sep 26, 11:29 AM
Unknown Object (File)
Wed, Sep 25, 9:08 PM
Unknown Object (File)
Wed, Sep 25, 11:02 AM
Unknown Object (File)
Tue, Sep 24, 5:19 PM
Unknown Object (File)
Tue, Sep 24, 5:19 PM
Subscribers

Details

Summary

print automatically adds a newline, while printc does not. Use printc in
preference to print for managing the autoboot message. This means we can
use line 24 safely on a 24x80 terminal, restoring some functionality that
was lost in 101afbc6ee2f0

Fixes: 101afbc6ee2f0
Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59581
Build 56468: arc lint + arc unit

Event Timeline

imp requested review of this revision.Tue, Sep 24, 3:02 PM
stand/lua/menu.lua
534

Move thec comment to the line above it, please, and this otherwise LGTM

Update comments: (1) like kyle suggested and (2) reword the awkard comment about
a common (enough?) VT100 emulator bug that's easily avoided.

This revision was not accepted when it landed; it landed in state Needs Review.Tue, Sep 24, 4:57 PM
This revision was automatically updated to reflect the committed changes.