Displaying 2 results from an estimated 2 matches for "gtkconsole".
2002 Jul 10
0
history patch (was Re: portable snprintf implementation)
...*/
! if( (prev= previous_history()) ){
! next_history();
! }
! }
! if( !prev || strcmp(line, prev->line) ){
! add_history(line);
! }
! }
# endif
l = (((readline_len-2) > strlen(line))?
strlen(line): (readline_len-2));
*** src/modules/gnome/gtkconsole.c.orig Wed Mar 20 18:24:41 2002
--- src/modules/gnome/gtkconsole.c Wed Jul 10 16:21:30 2002
***************
*** 299,312 ****
/* add command to history */
term_ptr = strchr (text_chars, '\n');
if ((add_to_history == TRUE) && (term_ptr != NULL) && (*text_chars !=...
2002 Jul 09
3
portable snprintf implementation
This may be of interest:
http://www.ijs.si/software/snprintf/
It looks like this version may well be more complete and conform the standards than the version that comes with R.
BTW: I am currently patching unix/sys_std.c and modules/gtkconsole.c such that they don't store lines in the history that are identical to the previous line. Is there any interest in posting those patches here?
RenE Bertin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~h...