Revision: 10702 https://osdn.net/projects/ttssh2/scm/svn/commits/10702 Author: zmatsuo Date: 2023-05-14 00:58:49 +0900 (Sun, 14 May 2023) Log Message: ----------- XMODEMの説明を追記 ticket #48006 Ticket Links: ------------ https://osdn.net/projects/ttssh2/tracker/detail/48006 Modified Paths: -------------- trunk/doc/en/html/usage/tips/xmodem.html trunk/doc/ja/html/usage/tips/xmodem.html -------------- next part -------------- Modified: trunk/doc/en/html/usage/tips/xmodem.html =================================================================== --- trunk/doc/en/html/usage/tips/xmodem.html 2023-05-13 15:04:55 UTC (rev 10701) +++ trunk/doc/en/html/usage/tips/xmodem.html 2023-05-13 15:58:49 UTC (rev 10702) @@ -11,11 +11,13 @@ <h1>Tips on XMODEM</h1> +<h2>8bit clean</h2> + <p> The XMODEM file transfer protocol requires the communication lines to be transparent to all 8 bit characters, from $00 to $FF. </p> -<h2>For serial port:</h2> +<h3>For serial port:</h3> <div class="indent1"> <p> @@ -23,7 +25,7 @@ </p> </div> -<h2>For telnet:</h2> +<h3>For telnet:</h3> <div class="indent1"> <p> @@ -37,5 +39,23 @@ </ul> </div> + +<h2 id="padding">padding at end of file</h2> + +<p> +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. +</p> + +<p> +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. +But it may be some other value depending on the XMODEM sending program. +</p> + </BODY> </HTML> Modified: trunk/doc/ja/html/usage/tips/xmodem.html =================================================================== --- trunk/doc/ja/html/usage/tips/xmodem.html 2023-05-13 15:04:55 UTC (rev 10701) +++ trunk/doc/ja/html/usage/tips/xmodem.html 2023-05-13 15:58:49 UTC (rev 10702) @@ -11,11 +11,13 @@ <h1>XMODEM \x82̃q\x83\x93\x83g</h1> +<h2>8bit\x83N\x83\x8A\x81[\x83\x93</h2> + <p> XMODEM \x82́A8 bit \x83R\x81[\x83h ($00-$FF \x82̕\xB6\x8E\x9A\x82\xB7\x82ׂ\xC4)\x82\xF0\x8A\xAE\x91S\x82ɒʂ\xB7\x89\xF1\x90\xFC\x82\xF0\x97p\x82\xA2\x82Ȃ\xA2\x82Ǝg\x97p\x82ł\xAB\x82܂\xB9\x82\xF1\x81B </p> -<h2>\x83V\x83\x8A\x83A\x83\x8B\x83|\x81[\x83g\x82̏ꍇ</h2> +<h3>\x83V\x83\x8A\x83A\x83\x8B\x83|\x81[\x83g\x82̏ꍇ</h3> <div class="indent1"> <p> @@ -23,7 +25,7 @@ </p> </div> -<h2>Telnet \x82̏ꍇ</h2> +<h3>Telnet \x82̏ꍇ</h3> <div class="indent1"> <p> @@ -46,5 +48,17 @@ \x8EQ\x8Dl: <A HREF="forwarding-files.html">\x92\x86\x8Aԃz\x83X\x83g\x82\xF0\x8Co\x97R\x82\xB5\x82ăz\x83X\x83g\x82ɐڑ\xB1\x82\xB5\x82\xBD\x8Fꍇ\x82̃t\x83@\x83C\x83\x8B\x93]\x91\x97</A> </p> +<h2 id="padding">\x83t\x83@\x83C\x83\x8B\x8FI\x92[\x82̋l\x82ߕ\xA8</h2> + +<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 +</p> + +<p> +\x8DŌ\xE3\x82̃u\x83\x8D\x83b\x83N\x82̑\x97\x90M\x83t\x83@\x83C\x83\x8B\x92\xB7\x82\xE6\x82\xE8\x82\xE0\x92\xB7\x82\xA2\x95\x94\x95\xAA\x82ɂ͋l\x82ߕ\xA8\x82\xAA\x93\xFC\x82\xEA\x82\xE7\x82\xEA\x82܂\xB7\x81B +\x8Bl\x82ߕ\xA8\x82͎d\x97l\x8F\xE3\x82\xCD$1A\x82Ƃ\xB3\x82\xEA\x82Ă\xA2\x82܂\xB7\x81BXMODEM\x82̑\x97\x90M\x83v\x83\x8D\x83O\x83\x89\x83\x80\x82ɂ\xE6\x82\xC1\x82Ă͑\xBC\x82̒l\x82ɂȂ\xC1\x82Ă\xA2\x82邩\x82\xE0\x82\xB5\x82\xEA\x82܂\xB9\x82\xF1\x81B +</p> + </BODY> </HTML>