如何显示在鞭尾信息框? [英] How to display infobox in whiptail?

查看:81
本文介绍了如何显示在鞭尾信息框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么这个code不是在Bash的工作?

Why does this code not work in Bash?

whiptail --infobox "My Text" 0 0

本手册状态:

whiptail --infobox text height width

那么,什么是错的?

So what is wrong?

推荐答案

由于一个错误,在 - 鞭尾中的信息框选项不能在正常工作的xterm (即GNOME终端)。它经常控制台上工作,但是。

Due to a bug, the --infobox option in whiptail doesn't work in an xterm (ie. gnome-terminal). It does work on a regular console, however.

这似乎是一个长期存在的bug,已​​刷过非重复性的,当它是的​​

This seems to be a long-standing bug, which has been brushed off as non-reproducible when it was reported.

最近它再次报道快速启动

如果你需要一个工作 - 信息框的xterm ,您可以使用对话框

If you need a working --infobox under xterm, you can use dialog.

这篇关于如何显示在鞭尾信息框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆