Skip to content

Instantly share code, notes, and snippets.

Created August 2, 2017 02:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
How to get sane terminal behavior with embedded linux/ RPi + usb-serial cable and GNU Screen!
# what's more frustrating than using `screen` to a serial console then running `less` or `vim` and having it
# not use your full window width & height like a NORMAL ***ING TERMINAL EMULATOR
# this belongs in /etc/systemd/system/serial-getty\@ttyS0.service.d/override.conf
# If your terminal is something other ttyS0, adjust as needed.
# This is for Systemd (Debian Jessie and above, ubuntu Xenial/ Zesty, etc.
# There's a non-systemd equivalent in /etc/login.defs I think
# ^^ That's it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment