Skip to content

Instantly share code, notes, and snippets.

@skakri
Forked from cabo/crlf.screenrc
Created June 27, 2019 12:02
Show Gist options
  • Save skakri/ad28f76baf66febee164a8436b7668e9 to your computer and use it in GitHub Desktop.
Save skakri/ad28f76baf66febee164a8436b7668e9 to your computer and use it in GitHub Desktop.
Make GNU screen convert return key (CR) into CR-LF
# put this in your ~/.screenrc to make
# ^A D (uppercase) switch on, and
# ^A U (uppercase) switch off, converting
# CR (return keys) input into CRLF
bind D bindkey "\015" stuff "\015\012"
bind U bindkey "\015" stuff "\015"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment