Bug 111389 - wish: kdialog should accept preformatted text, and from stdin
Summary: wish: kdialog should accept preformatted text, and from stdin
Status: RESOLVED DUPLICATE of bug 111388
Alias: None
Product: kdialog
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR wishlist (vote)
Target Milestone: ---
Assignee: David Faure
Depends on:
Reported: 2005-08-24 00:25 UTC by Richard Neill
Modified: 2008-12-06 01:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Richard Neill 2005-08-24 00:26:00 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Mandriva RPMs
OS:                Linux

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.
Comment 1 Richard Neill 2005-08-24 00:47:44 UTC
Sorry, this is a dup of Bug 111388. The server timed out, and I resubmitted it.
Comment 2 Frederik Schwarzer 2008-12-06 01:46:20 UTC
Mark a duplicate so noone wuld think the issue is solved and closes the duplicate as well...

*** This bug has been marked as a duplicate of bug 111388 ***