Skip to content

Instantly share code, notes, and snippets.

@JSONOrona
Created May 15, 2014 14:53
Show Gist options
  • Save JSONOrona/0ffd2796149d5ec85380 to your computer and use it in GitHub Desktop.
Save JSONOrona/0ffd2796149d5ec85380 to your computer and use it in GitHub Desktop.
Unix Terminal Stuff
# 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