TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pymux: a tmux clone in pure Python

157 pointsby amjithover 9 years ago

6 comments

martanneover 9 years ago
I&#x27;m all for experimenting with new ideas, however this seems to duplicate all the conceptual shortcomings I see in tmux.<p>First of all, session support and terminal multiplexing are two distinct features which shouldn&#x27;t be intermingled. What ever happened to the Unix principle of doing one thing and doing it well? My take on this problem is a combination of abduco[1] and dvtm[2].<p>Next a built in copy mode seems wrong, there is no need to implement vi(m) or emacs key bindings when you can make use of the complete editor. That is why dvtm uses my vim clone vis[3] as a filter: the terminal (scroll back) content is piped to $EDITOR and whatever the editor writes to stdout is kept in a register to be pasted in other terminal windows.<p>Furthermore I think the completion menu should also be implemented as a standalone tool (using e.g. dmenu or slmenu) as is done for the vis file open dialog.<p>As a last point I consider Pyhton not really suitable for core system tools, if you want something more expressible than C then something like Rust would probably have been a better choice.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;martanne&#x2F;abduco" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;martanne&#x2F;abduco</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;martanne&#x2F;dvtm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;martanne&#x2F;dvtm</a> [3] <a href="https:&#x2F;&#x2F;github.com&#x2F;martanne&#x2F;vis" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;martanne&#x2F;vis</a>
评论 #10833255 未加载
评论 #10834576 未加载
jonathan_sover 9 years ago
(author). This is the first release of Pymux. It should be stable and usable for daily work. However, don&#x27;t hesitate to create a GitHub issue in case you feel that it lacks some features&#x2F;responsitivity or when you&#x27;d like to see something different. Expect to see more progress in the coming months. Jonathan
评论 #10832363 未加载
评论 #10832172 未加载
评论 #10833662 未加载
effenponderousaover 9 years ago
There are way too many negative remarks about this project. It took a lot of effort to share this project with the world. Presenting alternatives projects and arguments against pymux is a direct assault on everything good about open source, python, and our hacker news community.
评论 #10836840 未加载
otigerover 9 years ago
Does it or will it support 24bit &#x2F; True Color terminals?<p>This is the only feature I miss with Tmux since I&#x27;ve been using Neovim with 24bit colors for a while.
评论 #10832234 未加载
评论 #10832015 未加载
meltedover 9 years ago
What for? What benefits does the use of Python confer in this case?
评论 #10831680 未加载
评论 #10831662 未加载
评论 #10832088 未加载
评论 #10832343 未加载
评论 #10831742 未加载
mitchtbaumover 9 years ago
Can you save an environment like with <a href="https:&#x2F;&#x2F;github.com&#x2F;tmux-plugins&#x2F;tmux-resurrect" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tmux-plugins&#x2F;tmux-resurrect</a> ?