linux - 鞭尾信息框使用

标签 linux whiptail

你能告诉我Whiptail信息框有什么用吗? Whiptail Info Box

消息来来去去。有没有办法在特定时间显示消息。

最佳答案

manual page 中对此进行了解释:

--infobox text height width
An info box is basically a message box. However, in this case, whiptail will exit immediately after displaying the message to the user. The screen is not cleared when whiptail exits, so that the message will remain on the screen until the calling shell script clears it later. This is useful when you want to inform the user that some operations are carrying on that may require some time to finish.

但是,如果您在 xterm 中运行,其终端描述可能会使用 alternate screen适用于全屏应用程序,例如鞭尾。在这种情况下,屏幕会在显示消息后立即清空。 dialog尝试解决这种情况,以保持消息显示(请参阅 manual page 中的 --keep-tite 描述)。

关于linux - 鞭尾信息框使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32338490/

相关文章:

bash - 如何在 whiptail 进度条上显示不同的消息以及进度条?

c++ - 从 shell 调用脚本和使用 system() 有什么区别?

linux - 登录时 Bash 提示 "have not a command"

linux - 鞭尾计 : Variable in loop not being set

linux - 如何从 Whiptail 返回值 --yesno

linux - Bash whiptail 在更改目录时死掉

android - Linux 下是 iwconfig,Android 下呢

c - 父进程在设置 SIGCHLD 时被阻塞

linux - awk 脚本格式从 Linux 更改为 MAC

linux - 对话框 显示对话框 图像配置