Hi Bram,

2017/1/22 Sun 22:28:44 UTC+9 Bram Moolenaar wrote:
> Ken Takata wrote:
> 
> > 2017/1/22 Sun 4:04:43 UTC+9 Bram Moolenaar wrote:
> > > Patch 8.0.0210
> > > Problem:    Vim does not support bracketed paste, as implemented by xterm 
> > > and
> > >             other terminals.
> > > Solution:   Add t_BE, t_BD, t_PS and t_PE.
> > > Files:      src/term.c, src/term.h, src/option.c, src/misc2.c, 
> > > src/keymap.h,
> > >             src/edit.c, src/normal.c, src/evalfunc.c, src/getchar.c,
> > >       src/vim.h, src/proto/edit.pro, runtime/doc/term.txt
> > 
> > I found typos in this patch:
> > 
> > --- a/src/term.c
> > +++ b/src/term.c
> > @@ -3155,7 +3155,7 @@ starttermcap(void)
> >      {
> >     out_str(T_TI);                  /* start termcap mode */
> >     out_str(T_KS);                  /* start "keypad transmit" mode */
> > -   out_str(T_BE);                  /* enable bracketed paste moe */
> > +   out_str(T_BE);                  /* enable bracketed paste mode */
> >     out_flush();
> >     termcap_active = TRUE;
> >     screen_start();                 /* don't know where cursor is now */
> > @@ -3205,7 +3205,7 @@ stoptermcap(void)
> >         check_for_codes_from_term();
> >     }
> >  #endif
> > -   out_str(T_BD);                  /* disable bracketed paste moe */
> > +   out_str(T_BD);                  /* disable bracketed paste mode */
> >     out_str(T_KE);                  /* stop "keypad transmit" mode */
> >     out_flush();
> >     termcap_active = FALSE;
> 
> Thanks!
> 

One more typo:

--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -416,7 +416,7 @@ Note: Use the <> form if possible
        t_KK    <k8>            keypad 8                 *<k8>* *t_KK* *'t_KK'*
        t_KL    <k9>            keypad 9                 *<k9>* *t_KL* *'t_KL'*
                <Mouse>         leader of mouse code            *<Mouse>*
-       t_PS    start of brackted paste |xterm-bracketed-paste|   *t_PS* 't_PS'
+       t_PS    start of bracketed paste |xterm-bracketed-paste|  *t_PS* 't_PS'
        t_PE    end of bracketed paste |xterm-bracketed-paste|    *t_PE* 't_PE'
 
 Note about t_so and t_mr: When the termcap entry "so" is not present the


Regards,
Ken Takata

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui