gpt4 book ai didi

bash - 如何在 whiptail 中显示信息框?

转载 作者:行者123 更新时间:2023-11-29 08:59:34 27 4
gpt4 key购买 nike

为什么这段代码在 Bash 中不起作用?

whiptail --infobox "My Text" 0 0

手册指出:

whiptail --infobox text height width

怎么了?

最佳答案

由于一个错误,whiptail 中的 --infobox 选项在 xterm(即 gnome-terminal)中不起作用。但是,它确实可以在常规控制台上运行。

这似乎是一个长期存在的错误,在 reported 时已被认为不可重现。 .

最近它再次在 Launchpad 中被报道.

如果您需要在 xterm 下运行 --infobox,您可以使用 dialog

关于bash - 如何在 whiptail 中显示信息框?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13000391/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com