工作完成时远程 tmux 发出蜂鸣声

发布于 2024-12-29 06:46:45 字数 219 浏览 2 评论 0原文

我是一个 Linux 粉丝。

几天前我发现 tmux 非常有用。

现在我整天都在使用它。 我在远程 shell 上运行 tmux 并在那里工作。在我的本地电脑上只有一个终端在工作。 我发现有趣的事情: 当新邮件到达时,我的 mutt 程序会发出蜂鸣声。 tmux 正在将此蜂鸣声传输到我的本地 PC,有没有办法通过任何 shell 命令运行类似的蜂鸣声? 我想用它来完成一些命令的标志。

im a linux fan.

A few days ago i found tmux very useful.

Now im using it all day.
I run tmux on a remote shell and working there. On my local pc only one terminal working.
And i found interesting thing:
my mutt program is beeping when new mail arrives. And tmux is transferring this beep to my local PC, is there a way to run similar beep by any shell command ?
I want to use it for some command finishing sign.

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

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

发布评论

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

评论(1

调妓 2025-01-05 06:46:45

我写了一个名为 beep.sh 的小脚本,用于类似的事情:

#!/bin/bash
echo 
\a' > `/usr/bin/tty`

I wrote a little script called beep.sh that I use for things like that:

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