Created
May 15, 2014 14:53
-
-
Save JSONOrona/0ffd2796149d5ec85380 to your computer and use it in GitHub Desktop.
Unix Terminal Stuff
This file contains 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
# Add this to .profile in korn shell that doesnt behave with your terminal | |
# Terminal fixes | |
stty erase ^? # Fixes backspace issue | |
# Enables the ability to view command history | |
# with arrow keys | |
set -o emacs | |
alias __A=$(print '\0020') # ^P = up = previous command | |
alias __B=$(print '\0016') # ^N = down = next command | |
alias __C=$(print '\0006') # ^F = right = forward a character | |
alias __D=$(print '\0002') # ^B = left = back a character | |
alias __H=$(print '\0001') # ^A = home = beginning of line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment