[Rd] rgui transpose-chars problem (PR#5593)

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Dec 8 13:02:52 MET 2003


Thank you, now incorporated in R-patched.

For future reference, could you please include the line numbers for
diffs in bug reports, so patch will work?

On Mon, 8 Dec 2003 nakama at ki.rim.or.jp wrote:

> Full_Name: Eiji Nakama
> Version: 1.8.1
> OS: Windows2000(Japan)
> Submission from: (NULL) (219.117.236.13)
> 
> 
> I type typo sl().
> cursole move `l` position moved.
> type C-t not change.
> It operated in rterm.
> 
> --- src/gnuwin32/console.c.orig
> +++ src/gnuwin32/console.c
>             case CHARTRANS:
> -               if(cur_pos < 2) break;
> +               if(cur_pos < 1) break;
> +               if(cur_pos >= max_pos) break;
>                 cur_char = cur_line[cur_pos];
>                 cur_line[cur_pos] = cur_line[cur_pos-1];
>                 cur_line[cur_pos-1] = cur_char;
>                 break;

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list