Submitted By: Alexander E. Patrakov (semzx at newmail dot ru) Origin: Alexander E. Patrakov Date: 2003-09-28 Initial Package Version: 3.1.3 Description: Allows the user to copy text from kwrited message window and clear that window. Fixes a FIXME. Applies to only those people who have the "utempter" program. diff -ur kdebase-3.1.4/konsole/konsole/kwrited.cpp kdebase-3.1.4.tweaked/konsole/konsole/kwrited.cpp --- kdebase-3.1.4/konsole/konsole/kwrited.cpp 2003-05-07 17:44:16.000000000 +0600 +++ kdebase-3.1.4.tweaked/konsole/konsole/kwrited.cpp 2003-09-28 14:56:46.000000000 +0600 @@ -41,7 +41,7 @@ wid->setFont(KGlobalSettings::fixedFont()); wid->setMinimumWidth(wid->fontMetrics().maxWidth()*80 + wid->minimumSizeHint().width()); - wid->setReadOnly(true); + wid->setReadOnly(false); wid->setFocusPolicy(QWidget::NoFocus); pty = new TEPty(); @@ -75,6 +75,9 @@ // Remove CR while ( (i = str.find('\r')) != -1) str.remove(i,1); + // Remove BEL + while ( (i = str.find('\a')) != -1) + str.remove(i,1); wid->insert( str ); wid->show(); XRaiseWindow( wid->x11Display(), wid->winId());