On 26 August 2014, frantisek holop <min...@obiit.org> wrote: > Tobias Ulmer, 26 Aug 2014 15:41: > > On Mon, Aug 25, 2014 at 10:42:57PM +0200, frantisek holop wrote: > > > does anyone know of a way to make urxvt > > > play together nicely with mutt (and tmux) > > > regarding the f1 key? it works in xterm... > > > > > > macro index,pager <f1> "<shell-escape>less > > > /usr/local/share/doc/mutt/manual.txt<enter>" "help" > > > > Works in urxvt for me. You're probably using the wrong TERM/termName > > setting. > > Should be rxvt-256color and screen inside tmux > > hmm. > > .tmux.conf: > set -g default-terminal screen-256color > > .Xdefaults: > urxvt.termName: screen-256color > ... > XTerm.termName: screen-256color > > > you are right. changing it to > > urxvt.termName: rxvt-256color > > makes it work. (xterm works with screen-256color) > what kept confusing me is that other programs like > midnight commander and vim had no problems. shrug. > thank you.
Midnight Commander and Vim have mechanisms to override termcap / terminfo, Mutt doesn't. The termcap / terminfo clusterfuck was much worse 20+ years ago. It has slowly improved over time, but IMO things like Vim and Midnight Commander mostly working out of the box have kept people from fixing it sooner. Regards, Liviu Daia