无法理解 .screenrc 中的两行

发布于 2024-07-18 04:12:37 字数 442 浏览 4 评论 0 原文

我不知道你如何在屏幕上看到以下几行的效果

bind ^g  screen -t 'Google' links www.google.com

bind G screen -t 'Google'    sudo -u insec links www.google.com

我尝试在回滚模式下按 Ctrl-g 组合键,但没有成功。 在我的手册中搜索可点击的单词,但没有成功

man man

我还尝试通过How can you see theeffects of thelines?

I do not know how you can see the effects of following lines in your screen

bind ^g  screen -t 'Google' links www.google.com

bind G screen -t 'Google'    sudo -u insec links www.google.com

I tried unsuccessfully to press Ctrl-g at a word in a scrollback mode.
I also tried to search clickable words unsuccessfully in my manuals by

man man

How can you see the effects of the lines?

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

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

发布评论

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

评论(2

故笙诉离歌 2024-07-25 04:12:37

要尝试 bind ^g 行,请按 Ctrl-A Ctrl-G。

要尝试 bind G 行,请按 Ctrl-A Shift-G。

如果 bind 行位于 $HOME/.screenrc 中并且您在保存 $HOME/.screenrc 后已启动屏幕,则所有这些键绑定都在屏幕内工作>。 要查看屏幕是否正在运行,请按 Ctrl-A V(不带 Shift)。 这将在窗口底行向您显示(以反色)屏幕的版本号。 如果您没有获得此信息,则必须先启动 screen,方法是输入 screen 并按 Enter。

要获取有关在 GNU 屏幕中定义自定义键绑定的更多信息,请阅读 CUSTOMIZATION 部分中的 bind 条目。 manpagez.com/man/1/screen/" rel="nofollow noreferrer">屏幕手册页

To try the bind ^g line, press Ctrl-A Ctrl-G.

To try the bind G line, press Ctrl-A Shift-G.

All those key bindings work inside screen if the bind lines are in $HOME/.screenrc and you have started screen after saving $HOME/.screenrc. To see if you have screen running, press Ctrl-A V (without shift). This will show you (in reverse color) the version number of screen at the bottom row in the window. If you don't get this information, you have to start screen first, by typing screen and pressing Enter.

The get more information about defining custom key bindings in GNU screen, please read the entry for bind in the CUSTOMIZATION section of the man page of screen.

像你 2024-07-25 04:12:37

您需要先按Ctrl-A,然后按Ctrl-G

它应该创建一个新窗口,执行links(当然你还必须安装它)程序,以文本模式浏览谷歌。

Ctrl-A 然后 G 应以用户“insec”运行,然后再次运行链接。

you need to hit Ctrl-A then Ctrl-G.

it should create a new window that executes links (of course you must also have it installed) program to browse google in text mode.

Ctrl-A then G should run as user 'insec' and then run links again.

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