Created
December 19, 2015 13:33
-
-
Save cabo/ce6358406f8175041813 to your computer and use it in GitHub Desktop.
Make GNU screen convert return key (CR) into CR-LF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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
Thank you very much!