Skip to content

Instantly share code, notes, and snippets.

@adamheinrich
Forked from cabo/crlf.screenrc
Created April 3, 2020 10:13
Show Gist options
  • Save adamheinrich/23c8097981179336c464118be6f65d9a to your computer and use it in GitHub Desktop.
Save adamheinrich/23c8097981179336c464118be6f65d9a 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