svnno****@sourc*****
svnno****@sourc*****
2010年 5月 12日 (水) 20:27:51 JST
Revision: 3879 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3879 Author: yutakapon Date: 2010-05-12 20:27:51 +0900 (Wed, 12 May 2010) Log Message: ----------- Bracketed Paste Mode ã«é¢ãã説æã追å ããã Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/en/html/index.html trunk/doc/en/html/usage/tips/index.html trunk/doc/ja/html/about/history.html trunk/doc/ja/html/index.html trunk/doc/ja/html/usage/tips/index.html Added Paths: ----------- trunk/doc/en/html/usage/tips/xterm.html trunk/doc/ja/html/usage/tips/xterm.html -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2010-05-12 03:43:22 UTC (rev 3878) +++ trunk/doc/en/html/about/history.html 2010-05-12 11:27:51 UTC (rev 3879) @@ -48,7 +48,7 @@ <li>}NR}h "<a href="../macro/command/setbaud.html">setbaud</a>" ÌøÉ{[[gÌlð¼ÚwèÅ«éæ¤Éµ½B</li--> </ul></li> <li>added the "<a href="../macro/command/filestat.html">filestat</a>" macro command.</li> - <li>added support for bracketed paste mode.</a> + <li>added support for <a href="../usage/tips/xterm.html#Bracketed">bracketed paste mode</a>.</a> </ul> </li> Modified: trunk/doc/en/html/index.html =================================================================== --- trunk/doc/en/html/index.html 2010-05-12 03:43:22 UTC (rev 3878) +++ trunk/doc/en/html/index.html 2010-05-12 11:27:51 UTC (rev 3879) @@ -41,6 +41,7 @@ <LI>Scripts using the "Tera Term Language".</LI> <LI>Japanese, English, Russian and Korean character sets.</LI> <LI>UTF-8 character encoding.</LI> + <LI>Message catalog(Japanese, English, and German).</LI> </UL> Modified: trunk/doc/en/html/usage/tips/index.html =================================================================== --- trunk/doc/en/html/usage/tips/index.html 2010-05-12 03:43:22 UTC (rev 3878) +++ trunk/doc/en/html/usage/tips/index.html 2010-05-12 11:27:51 UTC (rev 3879) @@ -22,6 +22,7 @@ <LI><A HREF="b-plus.html">Tips on B-Plus</A></LI> <LI><A HREF="not_port23.html">Tips on TCP/IP connection with a port other than 23</A></LI> <LI><A HREF="telnet_protocol.html">Associate with TELNET protocol</A></LI> + <LI><A HREF="xterm.html">xterm</A></LI> </UL> </BODY> Added: trunk/doc/en/html/usage/tips/xterm.html =================================================================== --- trunk/doc/en/html/usage/tips/xterm.html (rev 0) +++ trunk/doc/en/html/usage/tips/xterm.html 2010-05-12 11:27:51 UTC (rev 3879) @@ -0,0 +1,39 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<HTML> +<HEAD> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<TITLE>Tips on xterm</TITLE> +<META http-equiv="Content-Style-Type" content="text/css"> +<link rel="stylesheet" href="../../style.css" type="text/css"> +</HEAD> +<BODY> + +<h1>Tips on xterm</h1> + +<a name="Bracketed"></a> +<h2>Bracketed Paste Mode</h2> + +The bracketed paste mode is the xterm extension feature. When this feature is enabled, the pasted text is bracketed with control sequences so that the program can differentiate the pasted text from typed-in text.<br> +The program will receive: ESC [ 200 ~, followed by the pasted text, followed by ESC [ 201 ~. +<p> + +The vim configuration is described below. The following will use xterm's bracketed paste mode to make pasting automatically enable paste mode and insert mode. Also works fine in ~/.vimrc file. + +<pre> +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 +</pre> + + +</BODY> +</HTML> Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2010-05-12 03:43:22 UTC (rev 3878) +++ trunk/doc/ja/html/about/history.html 2010-05-12 11:27:51 UTC (rev 3879) @@ -48,7 +48,7 @@ <li>}NR}h "<a href="../macro/command/setbaud.html">setbaud</a>" ÌøÉ{[[gÌlð¼ÚwèÅ«éæ¤Éµ½B</li> </ul></li> <li>}NR}h "<a href="../macro/command/filestat.html">filestat</a>" ðÇÁµ½B</li> - <li>Bracketed Paste Mode Éε½B</a> + <li><a href="../usage/tips/xterm.html#Bracketed">Bracketed Paste Mode</a>Éε½B</a> </ul> </li> Modified: trunk/doc/ja/html/index.html =================================================================== --- trunk/doc/ja/html/index.html 2010-05-12 03:43:22 UTC (rev 3878) +++ trunk/doc/ja/html/index.html 2010-05-12 11:27:51 UTC (rev 3879) @@ -41,6 +41,7 @@ <LI>}N¾êÉæé©®^]</LI> <LI>ú{ê/pê/VAê/Øê[h</LI> <LI>¶R[hÆµÄ UTF-8 ðgpÂ\</LI> + <LI>bZ[WJ^Oiú{ê/pê/hCcêj</LI> </UL> Modified: trunk/doc/ja/html/usage/tips/index.html =================================================================== --- trunk/doc/ja/html/usage/tips/index.html 2010-05-12 03:43:22 UTC (rev 3878) +++ trunk/doc/ja/html/usage/tips/index.html 2010-05-12 11:27:51 UTC (rev 3879) @@ -31,6 +31,7 @@ <LI><A HREF="not-c1-char.html">C1 §ä¶ðgpµÈ¢</A></LI> <LI><A HREF="incorrect-kanjiout.html">³µÈ¢ "Kanji-out" ðgpÂ\É·é</A></LI> <LI><A HREF="telnet_protocol.html">TELNET vgRÉÖAt¯é</A></LI> + <LI><A HREF="xterm.html">xterm</A></LI> </UL> </BODY> Added: trunk/doc/ja/html/usage/tips/xterm.html =================================================================== --- trunk/doc/ja/html/usage/tips/xterm.html (rev 0) +++ trunk/doc/ja/html/usage/tips/xterm.html 2010-05-12 11:27:51 UTC (rev 3879) @@ -0,0 +1,39 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> +<HTML> +<HEAD> +<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> +<TITLE>xterm Ìqg</TITLE> +<META http-equiv="Content-Style-Type" content="text/css"> +<link rel="stylesheet" href="../../style.css" type="text/css"> +</HEAD> +<BODY> + +<h1>xterm Ìqg</h1> + +<a name="Bracketed"></a> +<h2>Bracketed Paste Mode</h2> + +±Ì@\Í xterm g£ÅALøÉÈÁÄ¢éÆANbv{[h©çÌ£èt¯É¶ñÌOãÉÁÊÈV[PXðtÁ·éÆ¢¤àÌÅ·B<br> +ïÌIÉÍADECSET Ì 2004(<CSI>?2004h) ÅLøÉÈèA£èt¯É¶ñÌOÉ <ESC>200~, ãëÉ <ESC>201~ ªtæ¤ÉÈèÜ·B +<p> + +鼃 vim Ì .vimrc Ýèáð¦µÜ·B£èt¯Í©®Cfgª³øÉÈèÜ·B + +<pre> +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 +</pre> + + +</BODY> +</HTML>