[rkward-devel] console bug? (\r)

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Sep 13 11:09:39 UTC 2012


Hi,

On Tuesday 11 September 2012, meik michalke wrote:
> i was just fooling around with setTxtProgressBar() and think there's a bug
> in RKWard's R console when it comes to interpreting "\r". first try the
> example in a plain R console:

indeed. I've fixed it for the console window. At other places (notably the 
command log window), it's still handled incorrectly, though.

> could this also be
> causing the infinite "=\n" orgy in the package installation messages?

Interestingly, I do not see this issue, any more. However, it was a different 
beast to start with, originating in a buggy handling of "slow" output in 
kdesu.

Do you see this only when installing as root, or all the time? In the first 
case, conceivably Ubuntu's kdesu-replacement (kdesudo) has the same bug that 
kdesu used to have. Try this in a bash session:

   /usr/lib/kde4/libexec/kdesu -t sh -c 'for i in {1..10}; do echo -n $i;
      sleep .5; done'

(there should be no line breaks between the numbers).

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20120913/46641faa/attachment.sig>


More information about the Rkward-devel mailing list