[ttssh2-commit] [10713] xmodemのバイナリモードの説明を追記

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2023年 5月 18日 (木) 22:21:49 JST


Revision: 10713
          https://osdn.net/projects/ttssh2/scm/svn/commits/10713
Author:   zmatsuo
Date:     2023-05-18 22:21:48 +0900 (Thu, 18 May 2023)
Log Message:
-----------
xmodemのバイナリモードの説明を追記

- テキスト(非バイナリ)時、次のことが行われる
  - 改行コードの変換
  - パディングの削除

Modified Paths:
--------------
    trunk/doc/en/html/menu/file-transfer-xmodem-recv.html
    trunk/doc/en/html/usage/tips/xmodem.html
    trunk/doc/ja/html/menu/file-transfer-xmodem-recv.html
    trunk/doc/ja/html/usage/tips/xmodem.html

-------------- next part --------------
Modified: trunk/doc/en/html/menu/file-transfer-xmodem-recv.html
===================================================================
--- trunk/doc/en/html/menu/file-transfer-xmodem-recv.html	2023-05-18 13:21:38 UTC (rev 10712)
+++ trunk/doc/en/html/menu/file-transfer-xmodem-recv.html	2023-05-18 13:21:48 UTC (rev 10713)
@@ -32,8 +32,25 @@
 
       <dt>Binary</dt>
       <dd>
-	The binary file transfer option. If you want to receive a text file,
-	don't select this option.
+        <ul>
+          <li>
+            Checkd: Received data is treated as binary and saved in a file without modification.<br>
+            The last received packet is packed with padding(EOF,$1A).
+            For this reason, the end of file cannot be known when the end of the sent file is $1A.
+          </li>
+          <li>Unchecked: Received data is treated as text and saved in a file.<br>
+            following processes are performed:
+            <ul>
+              <li>
+                Newline code conversion<br>
+                A single CR($0D) or LF($0A) is converted to CR+LF($0D+$0A).
+              </li>
+              <li>
+                Remove padding(EOF,$0A) of each reciving packet<br>
+                EOF($1A) does not appear in the text. So $1A at the end of the file will be removed.
+              </li>
+            </ul>
+        </ul>
       </dd>
     </dl>
 

Modified: trunk/doc/en/html/usage/tips/xmodem.html
===================================================================
--- trunk/doc/en/html/usage/tips/xmodem.html	2023-05-18 13:21:38 UTC (rev 10712)
+++ trunk/doc/en/html/usage/tips/xmodem.html	2023-05-18 13:21:48 UTC (rev 10713)
@@ -46,7 +46,7 @@
 The XMODEM file transfer protocol handles files in blocks of 128 or
 1024 bytes, and file lengths cannot be exchanged.
 
-The received file length is always a multiple of 128 or 1024 bytes.
+The received data length is always a multiple of 128 or 1024 bytes.
 </p>
 
 <p>
@@ -53,7 +53,7 @@
 Sender puts padding in the last block that is longer than the length
 of the transmitted file.
 
-The pudding is $1A according to the XMODEM specification.
+The padding is $1A according to the XMODEM specification.
 But it may be some other value depending on the XMODEM sending program.
 </p>
 

Modified: trunk/doc/ja/html/menu/file-transfer-xmodem-recv.html
===================================================================
--- trunk/doc/ja/html/menu/file-transfer-xmodem-recv.html	2023-05-18 13:21:38 UTC (rev 10712)
+++ trunk/doc/ja/html/menu/file-transfer-xmodem-recv.html	2023-05-18 13:21:48 UTC (rev 10713)
@@ -32,8 +32,25 @@
 
       <dt>Binary</dt>
       <dd>
-	\x83o\x83C\x83i\x83\x8A\x83t\x83@\x83C\x83\x8B\x82\xF0\x8E\xF3\x90M\x82\xB7\x82\xE9\x8Fꍇ\x82͑I\x91\xF0\x82\xB5\x82Ă\xAD\x82\xBE\x82\xB3\x82\xA2\x81B
-	\x8Bt\x82Ƀe\x83L\x83X\x83g\x83t\x83@\x83C\x83\x8B\x82\xF0\x8E\xF3\x90M\x82\xB7\x82\xE9\x8Fꍇ\x82͑I\x91\xF0\x82\xB5\x82Ȃ\xA2\x82ł\xAD\x82\xBE\x82\xB3\x82\xA2\x81B
+        <ul>
+          <li>
+            \x83`\x83F\x83b\x83N\x82\xA0\x82\xE8\x82̎\x9E\x81A\x8E\xF3\x90M\x83f\x81[\x83^\x82\xF0\x83o\x83C\x83i\x83\x8A\x82Ƃ\xB5\x82Ĉ\xB5\x82\xA2\x81A\x82\xBB\x82̂܂܃t\x83@\x83C\x83\x8B\x82ɕۑ\xB6\x82\xB5\x82܂\xB7\x81B<br>
+            \x8DŌ\xE3\x82̎\xF3\x90M\x83f\x81[\x83^\x82ɂ̓p\x83f\x83B\x83\x93\x83O(EOF,$1A)\x82\xAA\x8Bl\x82߂\xE7\x82\xEA\x82đ\x97\x82\xE7\x82\xEA\x82Ă\xAB\x82܂\xB7\x81B<br>
+            \x82\xB1\x82̂\xBD\x82߁A\x91\x97\x90M\x83t\x83@\x83C\x83\x8B\x82̏I\x92[\x82\xC9$1A\x82\xAA\x82\xA0\x82\xE9\x82Ƃ\xAB\x81A\x8E\xF3\x90M\x83t\x83@\x83C\x83\x8B\x82\xA9\x82\xE7\x83t\x83@\x83C\x83\x8B\x8FI\x92[\x82𔻕ʂ\xB7\x82邱\x82Ƃ\xAA\x82ł\xAB\x82܂\xB9\x82\xF1\x81B
+          </li>
+          <li>\x83`\x83F\x83b\x83N\x82Ȃ\xB5\x82̎\x9E\x81A\x8E\xF3\x90M\x83f\x81[\x83^\x82\xF0\x83e\x83L\x83X\x83g\x82Ƃ\xB5\x82Ĉ\xB5\x82\xA2\x83t\x83@\x83C\x83\x8B\x82ɕۑ\xB6\x82\xB5\x82܂\xB7\x81B<br>
+            \x8E\x9F\x82̏\x88\x97\x9D\x82\xAA\x8Ds\x82\xED\x82\xEA\x82܂\xB7
+            <ul>
+              <li>
+                \x89\xFC\x8Ds\x83R\x81[\x83h\x95ϊ\xB7<br>
+                \x92P\x93Ƃ\xCCCR($0D),LF($0A)\x82\xCDCR+LF($0D+$0A)\x82ɕϊ\xB7\x82\xB3\x82\xEA\x82܂\xB7\x81B
+              </li>
+              <li>
+                \x8E\xF3\x90M\x83p\x83P\x83b\x83g\x96\x88\x82ɁA\x83u\x83\x8D\x83b\x83N\x8DŌ\xE3\x82̘A\x91\xB1\x82\xB5\x82\xBDEOF($1A)\x82̍폜<br>
+                \x83e\x83L\x83X\x83g\x92\x86\x82\xC9$1A\x82͌\xBB\x82\xEA\x82܂\xB9\x82\xF1\x81B\x8C\x8B\x89ʂƂ\xB5\x82ăt\x83@\x83C\x83\x8B\x96\x96\x82\xC9$1A\x82\xAA\x82\xA0\x82\xEA\x82΍폜\x82\xB3\x82\xEA\x82܂\xB7
+              </li>
+            </ul>
+        </ul>
       </dd>
     </dl>
 

Modified: trunk/doc/ja/html/usage/tips/xmodem.html
===================================================================
--- trunk/doc/ja/html/usage/tips/xmodem.html	2023-05-18 13:21:38 UTC (rev 10712)
+++ trunk/doc/ja/html/usage/tips/xmodem.html	2023-05-18 13:21:48 UTC (rev 10713)
@@ -52,7 +52,7 @@
 
 <p>
 XMODEM \x82̓t\x83@\x83C\x83\x8B\x82\xF0 128\x82܂\xBD\x82\xCD1024 byte\x82̃u\x83\x8D\x83b\x83N\x82ɕ\xAA\x82\xAF\x82Ĉ\xB5\x82\xA2\x81A\x83t\x83@\x83C\x83\x8B\x92\xB7\x82\xF0\x82\xE2\x82\xE8\x8E\xE6\x82肷\x82邱\x82Ƃ\xAA\x82ł\xAB\x82܂\xB9\x82\xF1\x81B
-\x8E\xF3\x90M\x82\xB5\x82\xBD\x83t\x83@\x83C\x83\x8B\x92\xB7\x82\xCD128\x82܂\xBD\x82\xCD1024byte\x82̔{\x90\x94\x82ɂȂ\xE8\x82܂\xB7\x81B
+\x8E\xF3\x90M\x82\xB5\x82\xBD\x83f\x81[\x83^\x92\xB7\x82\xCD128\x82܂\xBD\x82\xCD1024byte\x82̔{\x90\x94\x82ɂȂ\xE8\x82܂\xB7\x81B
 </p>
 
 <p>


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