You are not logged in.
I'm running emacs in tmux and the cursor doesn't seem to appear. When I run emacs outside of tmux everything is fine. I'm not sure where to start debugging this or what could be relevant to this problem. It was working before I upgraded to tmux-2.0.
Offline
Value of $TERM in and out of tmux?
Offline
screen-256color. its the same both in and out of tmux. i set it in my .zprofile (i use zsh).
Offline
That is incorrect: forcing your term in a shell initialisation file will break things.
Remove that line from .zshrc and set the term in tmux with:
set -g default-terminal "screen-256color"Offline
Thats never worked for me. It doesn't show colors properly when I set it in the tmux config. Maybe its the way I start zsh? I start it as a login shell.
Offline
So every shell you open is a login shell? And you have hacky workarounds to compensate for that? Why?
Offline
Well, I don't open more than terminal, and in fact I can't with the key bindings I use right now. I use awesome and it opens one terminal with tmux like this, xfce4-terminal -e \"zsh -l -c \'tmux -q has && tmux attach -d || tmux new'\". If i try to start another terminal with mod4+enter it brings the one running tmux into focus, only if there isn't currently running does it start one.
Is there a better way to set this stuff up?
Offline
I still don't get why it has to be a login shell. Are you using a DM that breaks that functionality?
IMO, this is why you are experiencing term-related issues: your setup is unnecessarily convoluted. Try starting from a simple interactive shell, see if it works there, and then add the bits and pieces back until it breaks.
Is there a better way to set this up? Probably. I guess it depends on what you are trying to do; only have a single tmux session?
Offline
Is there a better way to set this up? Probably.
simply build tmux from latest source code fix the problem :-)
I need only three things: linux, terminal, and chromium.
Offline