@Michael, thanks for the tip on using `reset`. Now at least I don't need to
kill the pane every time that happens :)
@Nicholas, I'll update from git

Thanks for such quick replies!


--
Kaushal Modi


On Thu, Jul 17, 2014 at 3:24 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> tmux from git may improve this since we support enacs, but it can still
> happen because of how terminals work.
>
>
>
> -------- Original message --------
> From: Kaushal <kaushal.m...@gmail.com>
> Date: 17/07/2014 19:33 (GMT+00:00)
> To: tmux-users@lists.sourceforge.net
> Subject: stdout becomes scrambled at times when running ag
>
>
> Hi,
>
> At times ag (searching tool like grep) ends up searching binary files like
> pdf and the tmux output becomes something like this:
> http://i.imgur.com/yy8lw9g.png
>
> It is understood that the stdout shows those scrambled characters as 'ag'
> is trying to read a binary file. But the problem is that I have to kill
> that pane because then all characters in that pane appear jumbled: my shell
> prompt, the characters that I type in shell, etc..
>
> In the above linked screenshot, I have typed a-z and they showed up like
> that jumbled mess (except for few alphabets).
>
> The same issue does not happen if I am running ag directly in an xterm
> window (outside tmux).
>
> The only terminal related options I have set in .tmux.conf are:
> setw  -g xterm-keys        on
> set   -g default-terminal  "xterm-256color" # "xterm"
>
> Here is my full .tmux.conf:
> https://github.com/kaushalmodi/dotfiles/blob/master/.tmux.conf
>
> --
> Kaushal Modi
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to