Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /trunk/teraterm/teraterm/vtterm.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3872 - (hide annotations) (download) (as text)
Sun May 9 09:21:21 2010 UTC (13 years, 11 months ago) by doda
File MIME type: text/x-chdr
File size: 534 byte(s)
Bracketed Paste Mode をサポート。
対応しているホスト側のアプリケーションで、キー入力と貼り付けの区別が付けられるようになる。

.vimrcの例:
if &term == "xterm"
  let &t_ti = &t_ti . "\e[?2004h"
  let &t_te = "\e[?2004l" . &t_te
  set pastetoggle=<Esc>[201~
  function XTermPasteBegin(ret)
    set paste
    return a:ret
  endfunction
  map <special> <expr> <Esc>[200~ XTermPasteBegin("i")
  imap <special> <expr> <Esc>[200~ XTermPasteBegin("")
endif

参考: https://bugzilla.gnome.org/show_bug.cgi?id=605299

1 maya 3227 /* Tera Term
2     Copyright(C) 1994-1998 T. Teranishi
3     All rights reserved. */
4    
5     /* TERATERM.EXE, VT terminal emulation */
6    
7     #ifdef __cplusplus
8     extern "C" {
9     #endif
10    
11     /* prototypes */
12     void ResetTerminal();
13     void ResetCharSet();
14     void ResetKeypadMode(BOOL DisabledModeOnly);
15     void HideStatusLine();
16     void ChangeTerminalSize(int Nx, int Ny);
17     int VTParse();
18     void FocusReport(BOOL Focus);
19     BOOL MouseReport(int Event, int Button, int Xpos, int Ypos);
20 doda 3450 void EndTerm();
21 maya 3227
22 doda 3872 extern BOOL BracketedPaste;
23    
24 maya 3227 #ifdef __cplusplus
25     }
26     #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26