Created
July 27, 2012 12:13
-
-
Save sos4nt/3187620 to your computer and use it in GitHub Desktop.
A xterm-256color based TERMINFO that adds the escape sequences for italic
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
# A xterm-256color based TERMINFO that adds the escape sequences for italic. | |
# | |
# Install: | |
# | |
# tic xterm-256color-italic.terminfo | |
# | |
# Usage: | |
# | |
# export TERM=xterm-256color-italic | |
# | |
xterm-256color-italic|xterm with 256 colors and italic, | |
sitm=\E[3m, ritm=\E[23m, | |
use=xterm-256color, |
Note if you do SSH, environment may be passed on the remote and it will probable don't know this terminal. A possible solution on the local host is to alias ssh
alias ssh="TERM=xterm-256color ssh"
Thank you @bric3 that worked great for SSH connections! 💯
Thank you!
This is the first result in Google so here is a cleaner way:
Change line 11 to:
# A xterm-256color based TERMINFO that adds the escape sequences for italic.
#
# Install:
#
# tic -o ~/.terminfo xterm-256color.terminfo
#
# Note: by writing to the home folder, we override the default 256color theme.
# We could instead save this as another name, but that would report a terminal
# that an ssh host does not understand, which causes issues with the delete key.
#
# Usage:
#
# export TERM=xterm-256color
#
xterm-256color|xterm with 256 colors and italic,
sitm=\E[3m, ritm=\E[23m,
use=xterm-256color,
This avoids the need to add an ssh alias as the correct terminal will be reported to hosts.
Thanks for this! Solved my problem with hyper terminal and vim-gruvbox
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this!