Version: (using KDE KDE 3.4.2)
Installed from: Mandriva RPMs
Two ways kdialog could be improved:
1)It should be able to accept text from stdin, eg "fortune | kdialog --msgbox -"
(gnome-dialog and Xdialog can both do this)
2)It should have an option --dont-double-newlines. Currently, if the text contains
a sequence of one or more newlines, kdialog converts these to exactly 2 newlines.
i.e. \n or \n\n or \n\n\n all become <br><br>.
This is sensible behaviour most of the time, but not always, especially if the text is dynamic, and
therefore not known to the author of the script.
2b)It should (perhaps) have an option --nowrap which would prevent line wraps from occurring.
A good example of this would be to display a fortune when the user logs in, (via .kde/Autostart).
The text from fortune is already preformatted, and the result looks ugly.
In the meantime, is there a way to get text from stdin ?
I would like to make kdialog show firebird's gbak log
It is already possible like this:
df -Th | kdialog --textbox /dev/stdin 500 250
*** Bug 111389 has been marked as a duplicate of this bug. ***
Yves, your pipe trick doesn't work with KDialog 1.0.
KDialog should support the standard - option to read from stdin, per Bug 175649.
Sorry, in the previous comment I meant to write Bug 117452. (Copy-paste error.)