[Ttssh2-commit] [3879] Bracketed Paste Mode に関する説明を追加した。

Back to archive index

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>ƒ}ƒNƒƒRƒ}ƒ“ƒ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=&lt;Esc&gt;[201~
+  function XTermPasteBegin(ret)
+    set paste
+    return a:ret
+  endfunction
+  map &lt;special&gt; &lt;expr&gt; &lt;Esc&gt;[200~ XTermPasteBegin("i")
+  imap &lt;special&gt; &lt;expr&gt; &lt;Esc&gt;[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>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/setbaud.html">setbaud</a>" ‚̈ø”‚Ƀ{[ƒŒ[ƒg‚Ì’l‚𒼐ڎw’è‚Å‚«‚é‚悤‚É‚µ‚½B</li>
         </ul></li>
       <li>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/filestat.html">filestat</a>" ‚ð’ljÁ‚µ‚½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Œê/ƒƒVƒAŒê/ŠØ‘Œêƒ‚[ƒh</LI>
  <LI>•¶ŽšƒR[ƒh‚Æ‚µ‚Ä UTF-8 ‚ðŽg—p‰Â”\</LI>
+ <LI>ƒƒbƒZ[ƒWƒJƒ^ƒƒOi“ú–{Œê/‰pŒê/ƒhƒCƒcŒê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 §Œä•¶Žš‚ðŽg—p‚µ‚È‚¢</A></LI>
  <LI><A HREF="incorrect-kanjiout.html">³‚µ‚­‚È‚¢ "Kanji-out" ‚ðŽg—p‰Â”\‚É‚·‚é</A></LI>
  <LI><A HREF="telnet_protocol.html">TELNET ƒvƒƒgƒRƒ‹‚ÉŠÖ˜A•t‚¯‚é</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 ‚̃qƒ“ƒg</TITLE>
+<META http-equiv="Content-Style-Type" content="text/css">
+<link rel="stylesheet" href="../../style.css" type="text/css">
+</HEAD>
+<BODY>
+
+<h1>xterm ‚̃qƒ“ƒg</h1>
+
+<a name="Bracketed"></a>
+<h2>Bracketed Paste Mode</h2>
+
+‚±‚Ì‹@”\‚Í xterm Šg’£‚ŁA—LŒø‚É‚È‚Á‚Ä‚¢‚é‚ƁAƒNƒŠƒbƒvƒ{[ƒh‚©‚ç‚Ì’£‚è•t‚¯Žž‚É•¶Žš—ñ‚Ì‘OŒã‚É“Á•Ê‚ȃV[ƒPƒ“ƒX‚ð•t‰Á‚·‚é‚Æ‚¢‚¤‚à‚Ì‚Å‚·B<br>
+‹ï‘Ì“I‚ɂ́ADECSET ‚Ì 2004(<CSI>?2004h) ‚Å—LŒø‚É‚È‚èA’£‚è•t‚¯Žž‚É•¶Žš—ñ‚Ì‘O‚É <ESC>200~, Œã‚ë‚É <ESC>201~ ‚ª•t‚­‚悤‚É‚È‚è‚Ü‚·B
+<p>
+
+ˆÈ‰º‚É vim ‚Ì .vimrc Ý’è—á‚ðŽ¦‚µ‚Ü‚·B’£‚è•t‚¯Žž‚ÍŽ©“®ƒCƒ“ƒfƒ“ƒg‚ª–³Œø‚É‚È‚è‚Ü‚·B
+
+<pre>
+if &term == "xterm"
+  let &t_ti = &t_ti . "\e[?2004h"
+  let &t_te = "\e[?2004l" . &t_te
+  set pastetoggle=&lt;Esc&gt;[201~
+  function XTermPasteBegin(ret)
+    set paste
+    return a:ret
+  endfunction
+  map &lt;special&gt; &lt;expr&gt; &lt;Esc&gt;[200~ XTermPasteBegin("i")
+  imap &lt;special&gt; &lt;expr&gt; &lt;Esc&gt;[200~ XTermPasteBegin("")
+endif
+</pre>
+
+
+</BODY>
+</HTML>



Ttssh2-commit メーリングリストの案内
Back to archive index