I'm trying to follow these instructions to add italics support to tmux.
1) I tried running copying-pasting and running this command
cat <<EOF|tic -x -
tmux|tmux terminal multiplexer,
ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@,
use=xterm+tmux, use=screen,
tmux-256color|tmux with 256 colors,
use=xterm+256setaf, use=tmux,
but that gives me:
tic: Can't open -
I'm guessing this is because OS X's tic
doesn't support reading from stdin
.
2) I then tried saving the terminfo to a temporary file named tmux.terminfo
and ran it using tic -x tmux.terminfo
tmux|tmux terminal multiplexer,
ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@,
use=xterm+tmux, use=screen,
tmux-256color|tmux with 256 colors,
use=xterm+256setaf, use=tmux,
However, I get this error message
[1] 32091 segmentation fault tic -x tmux.terminfo
3) I also tried running tic
without the -x
flag, so that it doesn't treat unknown capabilities as user-defined.
That gives me this:
"tmux.terminfo", line 2, col 62, terminal 'tmux': unknown capability 'Ms'
[1] 35607 segmentation fault tic tmux.terminfo
I'm on OS X 10.11.6.
tic
doesn't read from stdin.tic
is looking for definitions forxterm+tmux
andxterm+256setaf
, and it can't find them, so it segfaults (unfortunately). You could try a newer terminfo.src which includes these.mkdir ~/.terminfo; gunzip terminfo.src.gz; export TERMINFO=~/.terminfo; tic -x -e tmux terminfo.src; tic -x -e tmux-256color terminfo.src
.Having said all that, I'm not sure if italics are supported in Terminal/iTerm2...