Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A xterm-256color based TERMINFO that adds the escape sequences for italic
# 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,
szurcher commented Mar 6, 2014

Thanks for this!

bric3 commented May 12, 2015

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"
dkarter commented Jan 6, 2017

Thank you @bric3 that worked great for SSH connections! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment