Debian Codegraph @

doc/html/docfwcom.htm

raw
1 <HTML>
2 <HEAD>
3 <TITLE>Compressed forward (Appendix 10)</TITLE>
4 </HEAD>
5 <BODY BACKGROUND="/back_fbb.jpg">
6 <P>
7 <IMG SRC="/fbb.gif" WIDTH="32" HEIGHT="32">
8 <H1 ALIGN=Center>
9 Compressed forward<SMALL>.</SMALL>
10 </H1>
11 <P ALIGN=Center>
12 (Appendix 10)
13 <P>
14 <PRE>FBB has 2 kinds of compressed forward:
15 <B><A HREF="#FBB">Compressed forward FBB.</A></B>
16 <B><A HREF="#XFWD">XFWD Compressed forward.</A></B>
17 <BIG><B></B></BIG>
18
19 <A NAME="FBB"><!-- --></A><IMG SRC="../cyan.gif" WIDTH="14" HEIGHT="14"><BIG><B>Extension to the protocol. Compressed forward FBB.</B></BIG>
20
21
22 The protocol utilized for the transfer of ascii files compressed is an
23 extension to the existing protocol. The compressed forward is validated by
24 the presence of the letter B in the SID [FBB-5.12-BFHM$]. The transfer of
25 compressed files can only take place under FBB protocol. The presence of the
26 letter B in the SID without the F letter will remain without effect.
27
28 The only difference as regard to the standard protocol is the submit line.
29 It can specify the type of data contained in the compressed message. FA means
30 that the transfer will be an ascii compressed message. FB means that the
31 message will be a binary compressed file (this last possibility is not yet
32 implemented in the version 5.12).
33
34 The submission of an ascii message will be in the form :
35 FA P FC1CDC F6ABJ F6AXV 24754_F6FBB 345
36
37 The submission of a binary file will be in the form :
38 FB P FC1CDC F6ABJ F6AXV 24754_F6FBB 345
39
40 The transferred data are of a specific format. The transfer will be done in
41 binary mode. This last one is derived of the YAPP protocol which is very
42 reliable. All transfer is made of a header, a block of data, an end of
43 message and a checksum. Each transfer is equivalent to the transfer of one
44 message of the standard protocol and shall not be followed by a control Z,
45 the end of file specifier is defined in another way.
46
47 Format of header for an ascii compressed message (submission FA) :
48
49 &lt;SOH&gt; 1 byte = 01 hex
50 Length of the header 1 byte = Length from the title,
51 including the two &lt;NUL&gt; characters.
52 Title of the message 1 to 80 bytes
53 &lt;NUL&gt; 1 byte = 00 hex
54 Offset 1 to 6 bytes
55 &lt;NUL&gt; 1 byte = 00 hex
56
57 Format of header for a binary compressed file (submission FB) :
58
59 &lt;SOH&gt; 1 byte = 01 hex
60 Length of the header 1 byte = Length from the filename,
61 including the two &lt;NUL&gt; characters.
62 Name of the file 1 to 80 bytes
63 &lt;NUL&gt; 1 byte = 00 hex
64 Offset 1 to 6 bytes
65 &lt;NUL&gt; 1 byte = 00 hex
66
67 As to follow the french regulation, the title of the message or the file
68 name are transmitted in ascii, not compressed.
69
70 The offset is also transmitted in ascii and specifies the offset at which
71 the data should be inserted in the file (in case of a fragmented file). In
72 the version 5.12, this parameter is not utilized and is always equal to zero.
73
74 A data block contains from one to 256 bytes. It begins by two bytes which
75 specify the format.
76
77 Data block format :
78
79 &lt;STX&gt; 1 byte = 02 hex
80 Number of data 1 byte = 00 to ff hex. (00 if length = 256 bytes).
81
82 Data bytes 1 to 256 bytes
83
84 The last data block is followed by the end of file specifier and the
85 checksum.
86
87 End of file specifier format :
88
89 &lt;EOT&gt; 1 byte = 04 hex
90 Checksum 1 byte = 00 a ff hex
91
92 The checksum is equal to the sum of all the data bytes of the transmitted
93 file, modulo 256 (8 bits) and then two's complemented.
94
95 The checking of the checksum is very simple :
96
97 The sum of the data from the file and the checksum received modulo 256
98 (anded with FF) shall be equal to zero.
99
100 In case of a checksum error, the message or the file is not taken to account
101 and the system issues a disconnect request after having sent the comment :
102
103 *** Checksum error
104
105 <A NAME="XFWD"><!-- --></A><IMG SRC="../orange.gif" WIDTH="14" HEIGHT="14"><BIG><B>Extension to the protocol. XFWD compressed forward.</B></BIG>
106
107 X forwarding Protocol is implemented.
108 XForwarding now supports re-routing and swapping.
109 Binary forwarding via telephone modem (FBB or XFWD)
110
111
112 <A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A>
113
114 <A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A>
115
116 <FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT>
117
118 </PRE>
119 </BODY></HTML>