search for: have_rl_resize_termin

Displaying 15 results from an estimated 15 matches for "have_rl_resize_termin".

2016 May 19
3
Latest R-devel build failing on OS X
...16 15:03:31 -0700 writes: >> Readline <= 6.2 shouldn't require the SIGWINCH patch, so >> if older versions have trouble finding rl_resize_terminal >> then you could wrap a macro around that part. > I find python related patches that use > #ifdef HAVE_RL_RESIZE_TERMINAL > so they must have configured for that. We could and > probably should do the same, but as a Linux_only guy > currently (even basically only one flavor of Linux), I'd > appreciate others to produce code for that. Actually that was easy (in hindsight.. I took to...
2017 Aug 28
2
patch: automatically adjust width option when terminal is resized
...stment is problematic. So why not doing it like this: --- R-3.4.1/src/unix/sys-std.c 2017-03-24 00:03:59.000000000 +0100 +++ R-3.4.1/src/unix/sys-std.patched.c 2017-08-28 09:16:02.714204023 +0200 @@ -1005,6 +1005,9 @@ // introduced in readline 4.0: only used for >= 6.3 #ifdef HAVE_RL_RESIZE_TERMINAL rl_resize_terminal(); + int rl_height, rl_width; + rl_get_screen_size(&rl_height,&rl_width); + R_SetOptionWidth(rl_width); #endif } #endif I tried it out and it works perfectly here. Of course there should be an op...
2016 May 24
2
Latest R-devel build failing on OS X
...;>>> Readline <= 6.2 shouldn't require the SIGWINCH patch, so >>>> if older versions have trouble finding rl_resize_terminal >>>> then you could wrap a macro around that part. > >>> I find python related patches that use > >>> #ifdef HAVE_RL_RESIZE_TERMINAL > >>> so they must have configured for that. We could and >>> probably should do the same, but as a Linux_only guy >>> currently (even basically only one flavor of Linux), I'd >>> appreciate others to produce code for that. > >> Actually that...
2016 May 24
3
Latest R-devel build failing on OS X
...> >>>>> if older versions have trouble finding rl_resize_terminal > >>>>> then you could wrap a macro around that part. > >> > >>>> I find python related patches that use > >> > >>>> #ifdef HAVE_RL_RESIZE_TERMINAL > >> > >>>> so they must have configured for that. We could and > >>>> probably should do the same, but as a Linux_only guy > >>>> currently (even basically only one flavor of Linux), I'd > >>>> appreci...
2017 Sep 01
3
patch: automatically adjust width option when terminal is resized
...hen readline is used: > > > --- R-3.4.1/src/unix/sys-std.c 2017-03-24 00:03:59.000000000 +0100 > +++ R-3.4.1/src/unix/sys-std.patched.c 2017-08-28 09:16:02.714204023 > +0200 @@ -1005,6 +1005,9 @@ > // introduced in readline 4.0: only used for >= 6.3 > #ifdef HAVE_RL_RESIZE_TERMINAL > rl_resize_terminal(); > + int rl_height, rl_width; > + rl_get_screen_size(&rl_height,&rl_width); > + R_SetOptionWidth(rl_width); > #endif > } > #endif The 'width' option affects more than...
2016 May 24
2
Latest R-devel build failing on OS X
...der versions have trouble finding rl_resize_terminal >>>>>>>> then you could wrap a macro around that part. >>>>> >>>>>>> I find python related patches that use >>>>> >>>>>>> #ifdef HAVE_RL_RESIZE_TERMINAL >>>>> >>>>>>> so they must have configured for that. We could and >>>>>>> probably should do the same, but as a Linux_only guy >>>>>>> currently (even basically only one flavor of Linux), I'd &...
2016 May 24
0
Latest R-devel build failing on OS X
...ites: >>> Readline <= 6.2 shouldn't require the SIGWINCH patch, so >>> if older versions have trouble finding rl_resize_terminal >>> then you could wrap a macro around that part. >> I find python related patches that use >> #ifdef HAVE_RL_RESIZE_TERMINAL >> so they must have configured for that. We could and >> probably should do the same, but as a Linux_only guy >> currently (even basically only one flavor of Linux), I'd >> appreciate others to produce code for that. > Actually that was easy...
2017 Sep 01
0
patch: automatically adjust width option when terminal is resized
...t seems quite easy, at least when readline is used: --- R-3.4.1/src/unix/sys-std.c 2017-03-24 00:03:59.000000000 +0100 +++ R-3.4.1/src/unix/sys-std.patched.c 2017-08-28 09:16:02.714204023 +0200 @@ -1005,6 +1005,9 @@ // introduced in readline 4.0: only used for >= 6.3 #ifdef HAVE_RL_RESIZE_TERMINAL rl_resize_terminal(); + int rl_height, rl_width; + rl_get_screen_size(&rl_height,&rl_width); + R_SetOptionWidth(rl_width); #endif } #endif > I tried it out and it works perfectly here. Of course there should be &...
2016 May 18
2
Latest R-devel build failing on OS X
Readline <= 6.2 shouldn't require the SIGWINCH patch, so if older versions have trouble finding rl_resize_terminal then you could wrap a macro around that part. The isearch C-c bug has existed forever, according to Chet Ramey. Yes, I had to retrain myself to use C-g to exit isearch but it's confusing. It would be nice to fix this C-c bug on older versions too, but my solution used some
2016 May 24
0
Latest R-devel build failing on OS X
...equire the SIGWINCH patch, so >>>>> if older versions have trouble finding rl_resize_terminal >>>>> then you could wrap a macro around that part. >> >>>> I find python related patches that use >> >>>> #ifdef HAVE_RL_RESIZE_TERMINAL >> >>>> so they must have configured for that. We could and >>>> probably should do the same, but as a Linux_only guy >>>> currently (even basically only one flavor of Linux), I'd >>>> appreciate others to produce cod...
2016 May 24
0
Latest R-devel build failing on OS X
...h, so >>>>>>> if older versions have trouble finding rl_resize_terminal >>>>>>> then you could wrap a macro around that part. >>>> >>>>>> I find python related patches that use >>>> >>>>>> #ifdef HAVE_RL_RESIZE_TERMINAL >>>> >>>>>> so they must have configured for that. We could and >>>>>> probably should do the same, but as a Linux_only guy >>>>>> currently (even basically only one flavor of Linux), I'd >>>>>> appreciate o...
2016 May 25
1
configure / make problems with R-devel
...erminal >> >>>>>>>> then you could wrap a macro around that part. >> >>>>> >> >>>>>>> I find python related patches that use >> >>>>> >> >>>>>>> #ifdef HAVE_RL_RESIZE_TERMINAL >> >>>>> >> >>>>>>> so they must have configured for that. We could and >> >>>>>>> probably should do the same, but as a Linux_only guy >> >>>>>>> currently (even basically only...
2017 Sep 01
0
patch: automatically adjust width option when terminal is resized
.../src/unix/sys-std.c 2017-03-24 00:03:59.000000000 +0100 >>>> +++ R-3.4.1/src/unix/sys-std.patched.c 2017-08-28 >>>> 09:16:02.714204023 +0200 @@ -1005,6 +1005,9 @@ >>>> // introduced in readline 4.0: only used for >= 6.3 >>>> #ifdef HAVE_RL_RESIZE_TERMINAL >>>> rl_resize_terminal(); >>>> + int rl_height, rl_width; >>>> + rl_get_screen_size(&rl_height,&rl_width); >>>> + R_SetOptionWidth(rl_width); >>>> #endif >>>>...
2016 May 19
0
Latest R-devel build failing on OS X
...>> on Wed, 18 May 2016 15:03:31 -0700 writes: > Readline <= 6.2 shouldn't require the SIGWINCH patch, so > if older versions have trouble finding rl_resize_terminal > then you could wrap a macro around that part. I find python related patches that use #ifdef HAVE_RL_RESIZE_TERMINAL so they must have configured for that. We could and probably should do the same, but as a Linux_only guy currently (even basically only one flavor of Linux), I'd appreciate others to produce code for that. > The isearch C-c bug has existed forever, according to Chet Ramey. I see....
2016 May 24
0
Latest R-devel build failing on OS X
...finding rl_resize_terminal > >>>>>>>> then you could wrap a macro around that part. > >>>>> > >>>>>>> I find python related patches that use > >>>>> > >>>>>>> #ifdef HAVE_RL_RESIZE_TERMINAL > >>>>> > >>>>>>> so they must have configured for that. We could and > >>>>>>> probably should do the same, but as a Linux_only guy > >>>>>>> currently (even basically only one flavor of L...