search for: rl_resize_termin

Displaying 20 results from an estimated 20 matches for "rl_resize_termin".

Did you mean: rl_resize_terminal
2016 May 19
3
Latest R-devel build failing on OS X
...t; on Thu, 19 May 2016 10:26:44 +0200 writes: >>>>> <frederik at ofb.net> >>>>> 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 (eve...
2016 May 24
2
Latest R-devel build failing on OS X
...16 11:02:48 +0200 writes: > >>>>>> <frederik at ofb.net> >>>>>> 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 Lin...
2016 May 24
3
Latest R-devel build failing on OS X
...>> <frederik at ofb.net> > >>>>>>> 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 hav...
2016 May 18
2
Latest R-devel build failing on OS X
...use of undeclared identifier 'rl_mark' rl_line_buffer[rl_point = rl_end = rl_mark = 0] = 0; ^ sys-std.c:597:5: error: use of undeclared identifier 'rl_done' rl_done = 1; ^ sys-std.c:998:7: warning: implicit declaration of function 'rl_resize_terminal' is invalid in C99 [-Wimplicit-function-declaration] rl_resize_terminal(); ^ 2 warnings and 7 errors generated. make[3]: *** [sys-std.o] Error 1 make[2]: *** [R] Error 2 make[1]: *** [R] Error 1 make: *** [R] Error 1 My configuration information:...
2017 Aug 28
2
patch: automatically adjust width option when terminal is resized
...t 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
....net> >>>>>>>>>> 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 >>>>>...
2016 May 18
3
Latest R-devel build failing on OS X
...n -lreadline -lpcre -llzma -lbz2 -lz -licucore -lm -llzma -liconv > Undefined symbols for architecture x86_64: > "_rl_mark", referenced from: > _popReadline in sys-std.o > "_rl_readline_state", referenced from: > _popReadline in sys-std.o > "_rl_resize_terminal", referenced from: > _Rstd_ReadConsole in sys-std.o > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see invocation) > make[3]: *** [R.bin] Error 1 > On 18 May 2016, at 14:18 , Keith O'Hara <keith....
2016 May 24
0
Latest R-devel build failing on OS X
...n Thu, 19 May 2016 11:02:48 +0200 writes: >>>>> <frederik at ofb.net> >>>>> 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...
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 global variables a...
2016 May 24
0
Latest R-devel build failing on OS X
...>>>>>>> <frederik at ofb.net> >>>>>>> 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 an...
2016 May 24
0
Latest R-devel build failing on OS X
...>>> <frederik at ofb.net> >>>>>>>>> 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 confi...
2016 May 25
1
configure / make problems with R-devel
...t;>>>>>> 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_...
2016 May 18
0
Latest R-devel build failing on OS X
...l,-framework -Wl,CoreFoundation -lreadline -lpcre -llzma -lbz2 -lz -licucore -lm -llzma -liconv Undefined symbols for architecture x86_64: "_rl_mark", referenced from: _popReadline in sys-std.o "_rl_readline_state", referenced from: _popReadline in sys-std.o "_rl_resize_terminal", referenced from: _Rstd_ReadConsole in sys-std.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [R.bin] Error 1 On 18 May 2016, at 14:18 , Keith O'Hara <keith.ohara at nyu.edu> wrot...
2016 May 24
0
Latest R-devel build failing on OS X
...t;>>>>>>>>> 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 &...
2017 Sep 01
3
patch: automatically adjust width option when terminal is resized
...eadline 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 18
0
Latest R-devel build failing on OS X
...libtz.a -L../../lib/x86_64 -lRblas -L/usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/usr/lib/gcc/i686-apple-darwin11/4.2.1 -L/usr/lib -lgfortran -Wl,-framework -Wl,CoreFoundation -lreadline -lpcre -llzma -lbz2 -lz -licucore -lm -llzma -liconv Undefined symbols for architecture x86_64: "_rl_resize_terminal", referenced from: _Rstd_ReadConsole in sys-std.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [R.bin] Error 1 make[2]: *** [R] Error 2 make[1]: *** [R] Error 1 make: *** [R] Error 1 and th...
2017 Sep 01
0
patch: automatically adjust width option when terminal is resized
...ms 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 &...
2017 Sep 01
0
patch: automatically adjust width option when terminal is resized
...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
>>>>> <frederik at ofb.net> >>>>> 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 a...
2016 May 18
2
Latest R-devel build failing on OS X
...L../../lib/x86_64 -lRblas -L/usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/usr/lib/gcc/i686-apple-darwin11/4.2.1 -L/usr/lib -lgfortran -Wl,-framework -Wl,CoreFoundation -lreadline -lpcre -llzma -lbz2 -lz -licucore -lm -llzma -liconv > Undefined symbols for architecture x86_64: > "_rl_resize_terminal", referenced from: > _Rstd_ReadConsole in sys-std.o > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see invocation) > make[3]: *** [R.bin] Error 1 > make[2]: *** [R] Error 2 > make[1]: *** [R] Error 1...