Hi, after a recent update to version 3.3.1 on Opensuse Leap I have problems with command lines longer than the terminal width. E.g. when I do this> print("This is a very long line which is in factso long that it gets wrapped while writing it") and then hit enter I end up with:> print("This is a very long line which is in fact[1] "This is a very long line which is in fact so l ong that it gets wrapped while writing it" So the output overwrites the second line of input. This does not happen when I start R without readline support using "R --no-readline". That's why I thought it could be a readline problem. But my current readline6 version (6.2) was installed way before the update of R and I had no problems with the previous R version. Furthermore no other program using readline seems to have that problem. E.g. in bash: me at host:~/some/dir> echo This is a very long line which is in fact so long that it gets wrapped while writing it This is a very long line which is in fact so long that it gets wrapped whi le writing it
Am Wed, 20 Jul 2016 11:35:31 +0200 schrieb Ralf Goertz <r_goertz at web.de>:> Hi, > > after a recent update to version 3.3.1 on Opensuse Leap I have > problems with command lines longer than the terminal width. E.g. when > I do thisI installed readline version 6.3 and the issue is gone. So probably some of the recent changes in R's readline code are incompatible with version readline version 6.2.
>>>>> Ralf Goertz <r_goertz at web.de> >>>>> on Wed, 20 Jul 2016 16:37:53 +0200 writes:> Am Wed, 20 Jul 2016 11:35:31 +0200 > schrieb Ralf Goertz <r_goertz at web.de>: >> Hi, >> >> after a recent update to version 3.3.1 on Opensuse Leap I have >> problems with command lines longer than the terminal width. E.g. when >> I do this > I installed readline version 6.3 and the issue is gone. So probably some > of the recent changes in R's readline code are incompatible with version > readline version 6.2. Yes, it seems so, unfortunately. Thank you for reporting ! Our plan had been different: the NEWS entry for 3.3.1 (among 'BUG FIXES') says ? Use of Ctrl-C to terminate a reverse incremental search started by Ctrl-R in the readline-based Unix terminal interface is now supported when R was compiled against readline >= 6.0 (Ctrl-G always worked). (PR#16603) So we had hoped that change (fixing a bug you *should* have been able to see with readline 6.2, as well) would work correctly in all versions of readline >= 6.0, but evidently it did not in yours. Martin Maechler ETH Zurich / R Core Team