Bug 111389

Summary: wish: kdialog should accept preformatted text, and from stdin
Product: [Applications] kdialog Reporter: Richard Neill <kde>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: schwarzer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

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 ***