Last active
February 7, 2017 04:26
-
-
Save gchiam/1e24dd3e3ed78e42339b329396cbcd6a to your computer and use it in GitHub Desktop.
Italics in Item2
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
infocmp xterm-256color > /tmp/xterm-256color.terminfo | |
cp /tmp/xterm-256color.terminfo /tmp/xterm-256color.terminfo.origial # backup | |
printf '\tsitm=\\E[3m, ritm=\\E[23m,\n' >> /tmp/xterm-256color.terminfo | |
tic /tmp/xterm-256color.terminfo | |
infocmp screen-256color > /tmp/screen-256color.terminfo | |
cp /tmp/screen-256color.terminfo /tmp/screen-256color.terminfo.origial # backup | |
printf '\tsitm=\\E[3m, ritm=\\E[23m,\n' >> /tmp/screen-256color.terminfo | |
tic /tmp/screen-256color.terminfo | |
To test: | |
echo `tput sitm`italics`tput ritm` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment