Serial Console: Difference between revisions

From NixOS Wiki
imported>Samueldr
Init with serial console wrapping tip
 
imported>Samueldr
m I can't even into syntax it seems
Line 1: Line 1:
{{expansion}}
{{expansion}}


== Tips
== Tips ==


=== Serial console wrapping
=== Serial console wrapping ===


The remote serial console has no knowledge of your local console. This means that it will wrap with safe defaults.
The remote serial console has no knowledge of your local console. This means that it will wrap with safe defaults.

Revision as of 21:20, 24 January 2020

Tips

Serial console wrapping

The remote serial console has no knowledge of your local console. This means that it will wrap with safe defaults.

You can configure the columns/rows of your serial console using stty.

In a console sized like yours, e.g. a new tab or tmux window:

$ echo "stty rows $(tput lines) cols $(tput cols)"

This will give you the exact invocation for your current terminal size.