Hi! I've read various threads about the standout-vs-italics debate already. I'm using urxvt, which will set TERM=rxvt-unicode. The terminal (and my font) supports both italics and stand out mode. I verify this by entering:
echo `tput sitm`italics`tput ritm` `tput smso`standout`tput rmso` I've come to understand from reading the code, that the "italics" sequence will only be applied if tty_term_has(tty->term, TTYC_SITM) is true. By setting the terminal-overrides setting to something like "*:sitm@" you can explicitly set the TTYC_SITM to TTYCODE_NONE, which in turn will print out the standout mode sequence TTYC_SMSO instead. There are two problems I'm facing: 1) Disabling italics won't work. Simply unsetting sitm with set -g terminal-overrides "*:sitm@" will still give me italic fonts. 2) Worse yet, somehow tmux screws up the lookup of sequences. Again, for testing purposes, I use the line from above to find out which sequences are supposed to activate the it/so mode. In standard rxvt-unicode that works well. As soon as I run the command from inside tmux, hoever, a) standout mode is now italics mode b) italics mode produces "normal" font (ie. it's not recognized) Now this clearly is annoying: applications explicitly asking for standout get the italics sequence. Gnah. As for problem #2, I think the cause lies here: $ infocmp screen | grep smso smir=\E[4h, smkx=\E[?1h\E=, smso=\E[3m, smul=\E[4m, $ infocmp rxvt-unicode | grep sitm sgr0=\E[m\017, sitm=\E[3m, smacs=\E(0, smam=\E[?7h, So, as I understand it, an application that's started from inside tmux will inherit TERM=screen. Thus, a lookup of "smso" will return the code that in my terminal's understanding is "sitm". -- Right? Now, I can't quite figure out where the terminal-overrides takes effect. Unsetting sitm has no effect. Setting smso=\e[7m (as it is defined by rxvt-unicode) has no effect. This problem is *just* with rxvt-unicode; xterm, (regular) rxvt and others work fine. I'm searching for a solution to completely disable italics output and using just standout mode instead. Recompiling termcap/terminfo files is something I'd like to avoid. Any hints appreaciated, thanks! Julius ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users