[Ttssh2-commit] [3894] ・ "<", ">" を実体参照に修正。

svnno****@sourc***** svnno****@sourc*****
2010年 5月 17日 (月) 17:40:17 JST


Revision: 3894
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3894
Author:   doda
Date:     2010-05-17 17:40:17 +0900 (Mon, 17 May 2010)

Log Message:
-----------
・"<", ">" を実体参照に修正。
・タグ付けを修正。
・set compatible していても問題ないように、pastetoggle の設定方法を変更。

Modified Paths:
--------------
    trunk/doc/en/html/usage/tips/xterm.html
    trunk/doc/ja/html/usage/tips/xterm.html


-------------- next part --------------
Modified: trunk/doc/en/html/usage/tips/xterm.html
===================================================================
--- trunk/doc/en/html/usage/tips/xterm.html	2010-05-17 08:19:05 UTC (rev 3893)
+++ trunk/doc/en/html/usage/tips/xterm.html	2010-05-17 08:40:17 UTC (rev 3894)
@@ -1,41 +1,45 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
-<HTML>
-<HEAD>
+<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">
+<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>
+</head>
+<body>
 
 <h1>Tips on xterm</h1>
 
-<a name="Bracketed"></a>
-<h2>Bracketed Paste Mode</h2>
+<h2><a name="Bracketed">Bracketed Paste Mode</a></h2>
 
+<p>
 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>
+
 <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.
+</p>
 
 <pre>
 if &term == "xterm"
   let &t_ti = &t_ti . "\e[?2004h"
   let &t_te = "\e[?2004l" . &t_te
-  set pastetoggle=&lt;Esc&gt;[201~
+  let &pastetoggle = "\e[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("")
-  cmap <special> <Esc>[200~ <nop>
-  cmap <special> <Esc>[201~ <nop>
+  cmap &lt;special&gt; &lt;Esc&gt;[200~ &lt;nop&gt;
+  cmap &lt;special&gt; &lt;Esc&gt;[201~ &lt;nop&gt;
 endif
 </pre>
 
 
-</BODY>
-</HTML>
+</body>
+</html>

Modified: trunk/doc/ja/html/usage/tips/xterm.html
===================================================================
--- trunk/doc/ja/html/usage/tips/xterm.html	2010-05-17 08:19:05 UTC (rev 3893)
+++ trunk/doc/ja/html/usage/tips/xterm.html	2010-05-17 08:40:17 UTC (rev 3894)
@@ -1,41 +1,45 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
-<HTML>
-<HEAD>
+<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">
+<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>
+</head>
+<body>
 
 <h1>xterm ‚̃qƒ“ƒg</h1>
 
-<a name="Bracketed"></a>
-<h2>Bracketed Paste Mode</h2>
+<h2><a name="Bracketed">Bracketed Paste Mode</a></h2>
 
+<p>
 ‚±‚Ì‹@”\‚Í 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
+‹ï‘Ì“I‚ɂ́ADECSET ‚Ì 2004(&lt;CSI&gt;?2004h) ‚Å—LŒø‚É‚È‚èA“\‚è•t‚¯Žž‚É•¶Žš—ñ‚Ì‘O‚É &lt;ESC&gt;200~, Œã‚ë‚É &lt;ESC&gt;201~ ‚ª•t‚­‚悤‚É‚È‚è‚Ü‚·B
+</p>
+
 <p>
-
 ˆÈ‰º‚É vim ‚Ì .vimrc Ý’è—á‚ðŽ¦‚µ‚Ü‚·B“\‚è•t‚¯Žž‚ÍŽ©“®ƒCƒ“ƒfƒ“ƒg‚ª–³Œø‚É‚È‚è‚Ü‚·B
+</p>
 
 <pre>
 if &term == "xterm"
   let &t_ti = &t_ti . "\e[?2004h"
   let &t_te = "\e[?2004l" . &t_te
-  set pastetoggle=&lt;Esc&gt;[201~
+  let &pastetoggle = "\e[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("")
-  cmap <special> <Esc>[200~ <nop>
-  cmap <special> <Esc>[201~ <nop>
+  cmap &lt;special&gt; &lt;Esc&gt;[200~ &lt;nop&gt;
+  cmap &lt;special&gt; &lt;Esc&gt;[201~ &lt;nop&gt;
 endif
 </pre>
 
 
-</BODY>
-</HTML>
+</body>
+</html>



Ttssh2-commit メーリングリストの案内