MacOS上的TMUX在ITERM2或终端中打开时退出

发布于 2025-02-06 12:26:21 字数 1399 浏览 4 评论 0原文

我无法使用空的tmux在ITERM2或终端打开,使用空tmux.conf。从跑步会话中拆分窗口也会失败。 (不是我再有任何跑步会议。)在iterm2中,我得到了三个可能的响应之一;终端只有两个。 (我还尝试了tmux.conf tmux ships的示例。相同的结果)。

iterm2中

[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                                                                     
[exited]
[jayed@merlot ~/jank]  Term2 3.4.15
                                                                                                                            
[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                                                                      
[exited]

[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                                                                      
^[[>0;95;0c^[P>|iTerm2 3.4.15^[\[exited]

在终端中的

[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                    
[exited]
                                                                                                      
[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                    
^[[>1;95;0c[exited]

I'm unable to open tmux in either iTerm2 or Terminal with an empty tmux.conf. Splitting windows from a running sessions also fails. (Not that I have any running sessions any more.) In iTerm2 I get one of three possible responses; with Terminal only two. (I've also tried the example tmux.conf that tmux ships with. Same results).

in iTerm2

[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                                                                     
[exited]
[jayed@merlot ~/jank]  Term2 3.4.15
                                                                                                                            
[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                                                                      
[exited]

[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                                                                      
^[[>0;95;0c^[P>|iTerm2 3.4.15^[\[exited]

in Terminal

[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                    
[exited]
                                                                                                      
[jayed@merlot ~/jank]  tmux -f ./none.conf                                                                    
^[[>1;95;0c[exited]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

-残月青衣踏尘吟 2025-02-13 12:26:21

我将重新提到 @Mauricio-poppe。我在TMUX运行时进行了BREW升级,重新打开TMUX将导致一些铃铛字符,并在我的提示符中输出term2 3.4.15输出。

为了解决这个问题,我跑了:

tmux kill-server
brew reinstall tmux

现在TMUX按预期工作。

我猜想构建/安装需要访问TMUX仍在运行时锁定的东西。

I'm going to re-iterate @mauricio-poppe mentioned. I did a brew upgrade while tmux was running, and reopening tmux would result in some bell characters and Term2 3.4.15 output in my prompt.

To fix this, I ran:

tmux kill-server
brew reinstall tmux

Now tmux works as expected.

I'm guessing the build/install needed access to something that was locked open while tmux was still running.

萌梦深 2025-02-13 12:26:21

我会留下来可能会帮助某人。

这与2022年6月9日推到自制的TMUX 3.3A升级有关。回到3.3解决了我的问题。

我不知道具体问题是什么。

I'll leave this up to maybe help someone.

This has to do with the tmux 3.3a upgrade pushed to homebrew on 9 JUN 2022. Rolling back to 3.3 solved my problem.

I don't know what the specific issue is.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文