2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MacPortsのtmuxにAmbiguous Width Patchをあててインストール

Posted at

iTerm2→tmux→Emacsという使い方をしていて,iTerm2とEmacsでAmbiguous Width対策をしているつもりなのに,表示が乱れて困ること数年.

間にtmuxが挟まっていることに気付いて,検索して,こちらを発見.

ただ,自分はMacPortsで管理しているので,MacPortsのtmuxにPatchをあててインストールするようにしてみた.

sudo port uninstall tmux-pasteboard
sudo port uninstall tmux
sudo port clean tmux
sudo port -s patch tmux
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_tmux/tmux/work/tmux-1.9a
curl -kL "https://gist.githubusercontent.com/waltarix/1399751/raw/e60e879335bf3b91fef4592b194cc524bcb95388/tmux-ambiguous-width-cjk.patch" | sudo patch -p1
curl -kL "https://gist.githubusercontent.com/waltarix/1399751/raw/5914827c8f7fecfdb73c641e02c471acd55eb2af/tmux-pane-border-ascii.patch" | sudo patch -p1
cd -
sudo port -s install tmux
sudo port install tmux-pasteboard

無事,Ambiguous Width Patchがあたったtmuxがインストールされました.

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?