Home » Archimedes archive » Acorn User » AU 1998-03 B.adf » Extras2 » Comms/Attacher/!Attacher/TypeTransH
Comms/Attacher/!Attacher/TypeTransH
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1998-03 B.adf » Extras2 |
Filename: | Comms/Attacher/!Attacher/TypeTransH |
Read OK: | ✔ |
File size: | 0EFF bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
TypeTrans module ================ This module gives general support for transfering files to and from RiscOS from other platforms. The module is copyright and may only be distributed with applications that it supports. A royalty will be required for its use by any application that is not Freeware. The SWI numbers are registered with Acorn. It includes code to uuencode and decode as well as encoding and decoding base64. The user interface for this is available from the author on request. It also includes the following SWIs: TypeTrans_FromPC (&505C0) ------------------------- This translates PC file extensions to RiscOS filetypes. On entry: R1 pointer to a (up to three character) PC file extension, null terminated On exit: R0 RiscOS filetype R1 unchanged If no RiscOS filetype can be identified &FFD (data) is returned. Errors returned: None This SWI first checks the user's DosMap settings. If no extension is specified there it will check through the TypeTrans internal table. In cases of conflict the DosMap value will be returned. TypeTrans_ToPC (&505C1) ----------------------- This translates RiscOS filetypes to PC file extensions. On entry: R0 The RiscOS filetype On exit: R0 unchanged R1 pointer to the PC file extension, null terminated. Errors returned: None If no PC file extension can be identified an empty sting is returned. This SWI first checks the user's DosMap settings. If the filetype is not specified it will check through the TypeTrans internal table. In cases of conflict the DosMap extension will be returned and if more than one extension maps to the same filetype the first specified extension will be returned. This module was written by John Allen (john@bramber.demon.co.uk). Please write to me with comments, suggests and bug reports (unlikely!) Acknowledgement =============== The following is reproduced from the header files of the uuencode and decoder C source code. TypeTrans uses these coders, the standard reference coder/decoder from Unix, to provide maximum compatibility. Copyright (c) 1983, 1993 The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors. 4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00000000 54 79 70 65 54 72 61 6e 73 20 6d 6f 64 75 6c 65 |TypeTrans module| 00000010 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |.===============| 00000020 3d 0a 0a 0a 54 68 69 73 20 6d 6f 64 75 6c 65 20 |=...This module | 00000030 67 69 76 65 73 20 67 65 6e 65 72 61 6c 20 73 75 |gives general su| 00000040 70 70 6f 72 74 20 66 6f 72 20 74 72 61 6e 73 66 |pport for transf| 00000050 65 72 69 6e 67 20 66 69 6c 65 73 20 74 6f 20 61 |ering files to a| 00000060 6e 64 20 66 72 6f 6d 20 0a 52 69 73 63 4f 53 20 |nd from .RiscOS | 00000070 66 72 6f 6d 20 6f 74 68 65 72 20 70 6c 61 74 66 |from other platf| 00000080 6f 72 6d 73 2e 0a 0a 54 68 65 20 6d 6f 64 75 6c |orms...The modul| 00000090 65 20 69 73 20 63 6f 70 79 72 69 67 68 74 20 61 |e is copyright a| 000000a0 6e 64 20 6d 61 79 20 6f 6e 6c 79 20 62 65 20 64 |nd may only be d| 000000b0 69 73 74 72 69 62 75 74 65 64 20 77 69 74 68 20 |istributed with | 000000c0 61 70 70 6c 69 63 61 74 69 6f 6e 73 0a 74 68 61 |applications.tha| 000000d0 74 20 69 74 20 73 75 70 70 6f 72 74 73 2e 20 20 |t it supports. | 000000e0 41 20 72 6f 79 61 6c 74 79 20 77 69 6c 6c 20 62 |A royalty will b| 000000f0 65 20 72 65 71 75 69 72 65 64 20 66 6f 72 20 69 |e required for i| 00000100 74 73 20 75 73 65 20 62 79 20 61 6e 79 20 0a 61 |ts use by any .a| 00000110 70 70 6c 69 63 61 74 69 6f 6e 20 74 68 61 74 20 |pplication that | 00000120 69 73 20 6e 6f 74 20 46 72 65 65 77 61 72 65 2e |is not Freeware.| 00000130 0a 0a 54 68 65 20 53 57 49 20 6e 75 6d 62 65 72 |..The SWI number| 00000140 73 20 61 72 65 20 72 65 67 69 73 74 65 72 65 64 |s are registered| 00000150 20 77 69 74 68 20 41 63 6f 72 6e 2e 0a 0a 49 74 | with Acorn...It| 00000160 20 69 6e 63 6c 75 64 65 73 20 63 6f 64 65 20 74 | includes code t| 00000170 6f 20 75 75 65 6e 63 6f 64 65 20 61 6e 64 20 64 |o uuencode and d| 00000180 65 63 6f 64 65 20 61 73 20 77 65 6c 6c 20 61 73 |ecode as well as| 00000190 20 65 6e 63 6f 64 69 6e 67 20 61 6e 64 0a 64 65 | encoding and.de| 000001a0 63 6f 64 69 6e 67 20 62 61 73 65 36 34 2e 20 20 |coding base64. | 000001b0 54 68 65 20 75 73 65 72 20 69 6e 74 65 72 66 61 |The user interfa| 000001c0 63 65 20 66 6f 72 20 74 68 69 73 20 69 73 20 61 |ce for this is a| 000001d0 76 61 69 6c 61 62 6c 65 20 66 72 6f 6d 20 74 68 |vailable from th| 000001e0 65 0a 61 75 74 68 6f 72 20 6f 6e 20 72 65 71 75 |e.author on requ| 000001f0 65 73 74 2e 20 20 49 74 20 61 6c 73 6f 20 69 6e |est. It also in| 00000200 63 6c 75 64 65 73 20 74 68 65 20 66 6f 6c 6c 6f |cludes the follo| 00000210 77 69 6e 67 20 53 57 49 73 3a 0a 0a 0a 54 79 70 |wing SWIs:...Typ| 00000220 65 54 72 61 6e 73 5f 46 72 6f 6d 50 43 20 28 26 |eTrans_FromPC (&| 00000230 35 30 35 43 30 29 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d |505C0).---------| 00000240 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00000250 0a 0a 54 68 69 73 20 74 72 61 6e 73 6c 61 74 65 |..This translate| 00000260 73 20 50 43 20 66 69 6c 65 20 65 78 74 65 6e 73 |s PC file extens| 00000270 69 6f 6e 73 20 74 6f 20 52 69 73 63 4f 53 20 66 |ions to RiscOS f| 00000280 69 6c 65 74 79 70 65 73 2e 0a 0a 4f 6e 20 65 6e |iletypes...On en| 00000290 74 72 79 3a 20 0a 0a 20 20 52 31 20 70 6f 69 6e |try: .. R1 poin| 000002a0 74 65 72 20 74 6f 20 61 20 28 75 70 20 74 6f 20 |ter to a (up to | 000002b0 74 68 72 65 65 20 63 68 61 72 61 63 74 65 72 29 |three character)| 000002c0 20 50 43 20 66 69 6c 65 20 65 78 74 65 6e 73 69 | PC file extensi| 000002d0 6f 6e 2c 20 6e 75 6c 6c 20 74 65 72 6d 69 6e 61 |on, null termina| 000002e0 74 65 64 0a 0a 4f 6e 20 65 78 69 74 3a 0a 20 20 |ted..On exit:. | 000002f0 0a 20 20 52 30 20 52 69 73 63 4f 53 20 66 69 6c |. R0 RiscOS fil| 00000300 65 74 79 70 65 0a 20 20 52 31 20 75 6e 63 68 61 |etype. R1 uncha| 00000310 6e 67 65 64 0a 0a 49 66 20 6e 6f 20 52 69 73 63 |nged..If no Risc| 00000320 4f 53 20 66 69 6c 65 74 79 70 65 20 63 61 6e 20 |OS filetype can | 00000330 62 65 20 69 64 65 6e 74 69 66 69 65 64 20 26 46 |be identified &F| 00000340 46 44 20 28 64 61 74 61 29 20 69 73 20 72 65 74 |FD (data) is ret| 00000350 75 72 6e 65 64 2e 0a 0a 45 72 72 6f 72 73 20 72 |urned...Errors r| 00000360 65 74 75 72 6e 65 64 3a 0a 20 20 0a 20 20 4e 6f |eturned:. . No| 00000370 6e 65 0a 0a 54 68 69 73 20 53 57 49 20 66 69 72 |ne..This SWI fir| 00000380 73 74 20 63 68 65 63 6b 73 20 74 68 65 20 75 73 |st checks the us| 00000390 65 72 27 73 20 44 6f 73 4d 61 70 20 73 65 74 74 |er's DosMap sett| 000003a0 69 6e 67 73 2e 20 20 49 66 20 6e 6f 20 65 78 74 |ings. If no ext| 000003b0 65 6e 73 69 6f 6e 20 0a 69 73 20 73 70 65 63 69 |ension .is speci| 000003c0 66 69 65 64 20 74 68 65 72 65 20 69 74 20 77 69 |fied there it wi| 000003d0 6c 6c 20 63 68 65 63 6b 20 74 68 72 6f 75 67 68 |ll check through| 000003e0 20 74 68 65 20 54 79 70 65 54 72 61 6e 73 20 69 | the TypeTrans i| 000003f0 6e 74 65 72 6e 61 6c 20 0a 74 61 62 6c 65 2e 20 |nternal .table. | 00000400 20 49 6e 20 63 61 73 65 73 20 6f 66 20 63 6f 6e | In cases of con| 00000410 66 6c 69 63 74 20 74 68 65 20 44 6f 73 4d 61 70 |flict the DosMap| 00000420 20 76 61 6c 75 65 20 77 69 6c 6c 20 62 65 20 72 | value will be r| 00000430 65 74 75 72 6e 65 64 2e 0a 0a 0a 54 79 70 65 54 |eturned....TypeT| 00000440 72 61 6e 73 5f 54 6f 50 43 20 28 26 35 30 35 43 |rans_ToPC (&505C| 00000450 31 29 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |1).-------------| 00000460 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 |----------..This| 00000470 20 74 72 61 6e 73 6c 61 74 65 73 20 52 69 73 63 | translates Risc| 00000480 4f 53 20 66 69 6c 65 74 79 70 65 73 20 74 6f 20 |OS filetypes to | 00000490 50 43 20 66 69 6c 65 20 65 78 74 65 6e 73 69 6f |PC file extensio| 000004a0 6e 73 2e 0a 0a 4f 6e 20 65 6e 74 72 79 3a 0a 0a |ns...On entry:..| 000004b0 20 20 52 30 20 54 68 65 20 52 69 73 63 4f 53 20 | R0 The RiscOS | 000004c0 66 69 6c 65 74 79 70 65 0a 0a 4f 6e 20 65 78 69 |filetype..On exi| 000004d0 74 3a 0a 0a 20 20 52 30 20 75 6e 63 68 61 6e 67 |t:.. R0 unchang| 000004e0 65 64 20 0a 20 20 52 31 20 70 6f 69 6e 74 65 72 |ed . R1 pointer| 000004f0 20 74 6f 20 74 68 65 20 50 43 20 66 69 6c 65 20 | to the PC file | 00000500 65 78 74 65 6e 73 69 6f 6e 2c 20 6e 75 6c 6c 20 |extension, null | 00000510 74 65 72 6d 69 6e 61 74 65 64 2e 0a 20 20 0a 45 |terminated.. .E| 00000520 72 72 6f 72 73 20 72 65 74 75 72 6e 65 64 3a 0a |rrors returned:.| 00000530 20 20 0a 20 20 4e 6f 6e 65 0a 0a 49 66 20 6e 6f | . None..If no| 00000540 20 50 43 20 66 69 6c 65 20 65 78 74 65 6e 73 69 | PC file extensi| 00000550 6f 6e 20 63 61 6e 20 62 65 20 69 64 65 6e 74 69 |on can be identi| 00000560 66 69 65 64 20 61 6e 20 65 6d 70 74 79 20 73 74 |fied an empty st| 00000570 69 6e 67 20 69 73 20 72 65 74 75 72 6e 65 64 2e |ing is returned.| 00000580 0a 0a 54 68 69 73 20 53 57 49 20 66 69 72 73 74 |..This SWI first| 00000590 20 63 68 65 63 6b 73 20 74 68 65 20 75 73 65 72 | checks the user| 000005a0 27 73 20 44 6f 73 4d 61 70 20 73 65 74 74 69 6e |'s DosMap settin| 000005b0 67 73 2e 20 20 49 66 20 74 68 65 20 66 69 6c 65 |gs. If the file| 000005c0 74 79 70 65 20 0a 69 73 20 6e 6f 74 20 73 70 65 |type .is not spe| 000005d0 63 69 66 69 65 64 20 69 74 20 77 69 6c 6c 20 63 |cified it will c| 000005e0 68 65 63 6b 20 74 68 72 6f 75 67 68 20 74 68 65 |heck through the| 000005f0 20 54 79 70 65 54 72 61 6e 73 20 69 6e 74 65 72 | TypeTrans inter| 00000600 6e 61 6c 20 74 61 62 6c 65 2e 20 20 0a 49 6e 20 |nal table. .In | 00000610 63 61 73 65 73 20 6f 66 20 63 6f 6e 66 6c 69 63 |cases of conflic| 00000620 74 20 74 68 65 20 44 6f 73 4d 61 70 20 65 78 74 |t the DosMap ext| 00000630 65 6e 73 69 6f 6e 20 77 69 6c 6c 20 62 65 20 72 |ension will be r| 00000640 65 74 75 72 6e 65 64 20 61 6e 64 20 69 66 20 0a |eturned and if .| 00000650 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 20 65 78 |more than one ex| 00000660 74 65 6e 73 69 6f 6e 20 6d 61 70 73 20 74 6f 20 |tension maps to | 00000670 74 68 65 20 73 61 6d 65 20 66 69 6c 65 74 79 70 |the same filetyp| 00000680 65 20 74 68 65 20 66 69 72 73 74 20 73 70 65 63 |e the first spec| 00000690 69 66 69 65 64 20 0a 65 78 74 65 6e 73 69 6f 6e |ified .extension| 000006a0 20 77 69 6c 6c 20 62 65 20 72 65 74 75 72 6e 65 | will be returne| 000006b0 64 2e 0a 0a 0a 0a 54 68 69 73 20 6d 6f 64 75 6c |d.....This modul| 000006c0 65 20 77 61 73 20 77 72 69 74 74 65 6e 20 62 79 |e was written by| 000006d0 20 4a 6f 68 6e 20 41 6c 6c 65 6e 20 28 6a 6f 68 | John Allen (joh| 000006e0 6e 40 62 72 61 6d 62 65 72 2e 64 65 6d 6f 6e 2e |n@bramber.demon.| 000006f0 63 6f 2e 75 6b 29 2e 0a 50 6c 65 61 73 65 20 77 |co.uk)..Please w| 00000700 72 69 74 65 20 74 6f 20 6d 65 20 77 69 74 68 20 |rite to me with | 00000710 63 6f 6d 6d 65 6e 74 73 2c 20 73 75 67 67 65 73 |comments, sugges| 00000720 74 73 20 61 6e 64 20 62 75 67 20 72 65 70 6f 72 |ts and bug repor| 00000730 74 73 20 28 75 6e 6c 69 6b 65 6c 79 21 29 0a 0a |ts (unlikely!)..| 00000740 0a 41 63 6b 6e 6f 77 6c 65 64 67 65 6d 65 6e 74 |.Acknowledgement| 00000750 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |.===============| 00000760 0a 0a 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 |..The following | 00000770 69 73 20 72 65 70 72 6f 64 75 63 65 64 20 66 72 |is reproduced fr| 00000780 6f 6d 20 74 68 65 20 68 65 61 64 65 72 20 66 69 |om the header fi| 00000790 6c 65 73 20 6f 66 20 74 68 65 20 75 75 65 6e 63 |les of the uuenc| 000007a0 6f 64 65 20 61 6e 64 20 0a 64 65 63 6f 64 65 72 |ode and .decoder| 000007b0 20 43 20 73 6f 75 72 63 65 20 63 6f 64 65 2e 0a | C source code..| 000007c0 0a 54 79 70 65 54 72 61 6e 73 20 75 73 65 73 20 |.TypeTrans uses | 000007d0 74 68 65 73 65 20 63 6f 64 65 72 73 2c 20 74 68 |these coders, th| 000007e0 65 20 73 74 61 6e 64 61 72 64 20 72 65 66 65 72 |e standard refer| 000007f0 65 6e 63 65 20 63 6f 64 65 72 2f 64 65 63 6f 64 |ence coder/decod| 00000800 65 72 0a 66 72 6f 6d 20 55 6e 69 78 2c 20 74 6f |er.from Unix, to| 00000810 20 70 72 6f 76 69 64 65 20 6d 61 78 69 6d 75 6d | provide maximum| 00000820 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 2e 0a | compatibility..| 00000830 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 31 |.Copyright (c) 1| 00000840 39 38 33 2c 20 31 39 39 33 0a 09 54 68 65 20 52 |983, 1993..The R| 00000850 65 67 65 6e 74 73 20 6f 66 20 74 68 65 20 55 6e |egents of the Un| 00000860 69 76 65 72 73 69 74 79 20 6f 66 20 43 61 6c 69 |iversity of Cali| 00000870 66 6f 72 6e 69 61 2e 20 20 41 6c 6c 20 72 69 67 |fornia. All rig| 00000880 68 74 73 20 72 65 73 65 72 76 65 64 2e 0a 0a 52 |hts reserved...R| 00000890 65 64 69 73 74 72 69 62 75 74 69 6f 6e 20 61 6e |edistribution an| 000008a0 64 20 75 73 65 20 69 6e 20 73 6f 75 72 63 65 20 |d use in source | 000008b0 61 6e 64 20 62 69 6e 61 72 79 20 66 6f 72 6d 73 |and binary forms| 000008c0 2c 20 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 |, with or withou| 000008d0 74 0a 6d 6f 64 69 66 69 63 61 74 69 6f 6e 2c 20 |t.modification, | 000008e0 61 72 65 20 70 65 72 6d 69 74 74 65 64 20 70 72 |are permitted pr| 000008f0 6f 76 69 64 65 64 20 74 68 61 74 20 74 68 65 20 |ovided that the | 00000900 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 |following condit| 00000910 69 6f 6e 73 0a 61 72 65 20 6d 65 74 3a 0a 31 2e |ions.are met:.1.| 00000920 20 52 65 64 69 73 74 72 69 62 75 74 69 6f 6e 73 | Redistributions| 00000930 20 6f 66 20 73 6f 75 72 63 65 20 63 6f 64 65 20 | of source code | 00000940 6d 75 73 74 20 72 65 74 61 69 6e 20 74 68 65 20 |must retain the | 00000950 61 62 6f 76 65 20 63 6f 70 79 72 69 67 68 74 0a |above copyright.| 00000960 20 20 20 6e 6f 74 69 63 65 2c 20 74 68 69 73 20 | notice, this | 00000970 6c 69 73 74 20 6f 66 20 63 6f 6e 64 69 74 69 6f |list of conditio| 00000980 6e 73 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c 6f |ns and the follo| 00000990 77 69 6e 67 20 64 69 73 63 6c 61 69 6d 65 72 2e |wing disclaimer.| 000009a0 0a 32 2e 20 52 65 64 69 73 74 72 69 62 75 74 69 |.2. Redistributi| 000009b0 6f 6e 73 20 69 6e 20 62 69 6e 61 72 79 20 66 6f |ons in binary fo| 000009c0 72 6d 20 6d 75 73 74 20 72 65 70 72 6f 64 75 63 |rm must reproduc| 000009d0 65 20 74 68 65 20 61 62 6f 76 65 20 63 6f 70 79 |e the above copy| 000009e0 72 69 67 68 74 0a 20 20 20 6e 6f 74 69 63 65 2c |right. notice,| 000009f0 20 74 68 69 73 20 6c 69 73 74 20 6f 66 20 63 6f | this list of co| 00000a00 6e 64 69 74 69 6f 6e 73 20 61 6e 64 20 74 68 65 |nditions and the| 00000a10 20 66 6f 6c 6c 6f 77 69 6e 67 20 64 69 73 63 6c | following discl| 00000a20 61 69 6d 65 72 20 69 6e 20 74 68 65 0a 20 20 20 |aimer in the. | 00000a30 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 61 6e |documentation an| 00000a40 64 2f 6f 72 20 6f 74 68 65 72 20 6d 61 74 65 72 |d/or other mater| 00000a50 69 61 6c 73 20 70 72 6f 76 69 64 65 64 20 77 69 |ials provided wi| 00000a60 74 68 20 74 68 65 20 64 69 73 74 72 69 62 75 74 |th the distribut| 00000a70 69 6f 6e 2e 0a 33 2e 20 41 6c 6c 20 61 64 76 65 |ion..3. All adve| 00000a80 72 74 69 73 69 6e 67 20 6d 61 74 65 72 69 61 6c |rtising material| 00000a90 73 20 6d 65 6e 74 69 6f 6e 69 6e 67 20 66 65 61 |s mentioning fea| 00000aa0 74 75 72 65 73 20 6f 72 20 75 73 65 20 6f 66 20 |tures or use of | 00000ab0 74 68 69 73 20 73 6f 66 74 77 61 72 65 0a 20 20 |this software. | 00000ac0 20 6d 75 73 74 20 64 69 73 70 6c 61 79 20 74 68 | must display th| 00000ad0 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 63 6b 6e |e following ackn| 00000ae0 6f 77 6c 65 64 67 65 6d 65 6e 74 3a 0a 09 54 68 |owledgement:..Th| 00000af0 69 73 20 70 72 6f 64 75 63 74 20 69 6e 63 6c 75 |is product inclu| 00000b00 64 65 73 20 73 6f 66 74 77 61 72 65 20 64 65 76 |des software dev| 00000b10 65 6c 6f 70 65 64 20 62 79 20 74 68 65 20 55 6e |eloped by the Un| 00000b20 69 76 65 72 73 69 74 79 20 6f 66 0a 09 43 61 6c |iversity of..Cal| 00000b30 69 66 6f 72 6e 69 61 2c 20 42 65 72 6b 65 6c 65 |ifornia, Berkele| 00000b40 79 20 61 6e 64 20 69 74 73 20 63 6f 6e 74 72 69 |y and its contri| 00000b50 62 75 74 6f 72 73 2e 0a 34 2e 20 4e 65 69 74 68 |butors..4. Neith| 00000b60 65 72 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 |er the name of t| 00000b70 68 65 20 55 6e 69 76 65 72 73 69 74 79 20 6e 6f |he University no| 00000b80 72 20 74 68 65 20 6e 61 6d 65 73 20 6f 66 20 69 |r the names of i| 00000b90 74 73 20 63 6f 6e 74 72 69 62 75 74 6f 72 73 0a |ts contributors.| 00000ba0 20 20 20 6d 61 79 20 62 65 20 75 73 65 64 20 74 | may be used t| 00000bb0 6f 20 65 6e 64 6f 72 73 65 20 6f 72 20 70 72 6f |o endorse or pro| 00000bc0 6d 6f 74 65 20 70 72 6f 64 75 63 74 73 20 64 65 |mote products de| 00000bd0 72 69 76 65 64 20 66 72 6f 6d 20 74 68 69 73 20 |rived from this | 00000be0 73 6f 66 74 77 61 72 65 0a 20 20 20 77 69 74 68 |software. with| 00000bf0 6f 75 74 20 73 70 65 63 69 66 69 63 20 70 72 69 |out specific pri| 00000c00 6f 72 20 77 72 69 74 74 65 6e 20 70 65 72 6d 69 |or written permi| 00000c10 73 73 69 6f 6e 2e 0a 0a 54 48 49 53 20 53 4f 46 |ssion...THIS SOF| 00000c20 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 |TWARE IS PROVIDE| 00000c30 44 20 42 59 20 54 48 45 20 52 45 47 45 4e 54 53 |D BY THE REGENTS| 00000c40 20 41 4e 44 20 43 4f 4e 54 52 49 42 55 54 4f 52 | AND CONTRIBUTOR| 00000c50 53 20 60 60 41 53 20 49 53 27 27 20 41 4e 44 0a |S ``AS IS'' AND.| 00000c60 41 4e 59 20 45 58 50 52 45 53 53 20 4f 52 20 49 |ANY EXPRESS OR I| 00000c70 4d 50 4c 49 45 44 20 57 41 52 52 41 4e 54 49 45 |MPLIED WARRANTIE| 00000c80 53 2c 20 49 4e 43 4c 55 44 49 4e 47 2c 20 42 55 |S, INCLUDING, BU| 00000c90 54 20 4e 4f 54 20 4c 49 4d 49 54 45 44 20 54 4f |T NOT LIMITED TO| 00000ca0 2c 20 54 48 45 0a 49 4d 50 4c 49 45 44 20 57 41 |, THE.IMPLIED WA| 00000cb0 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 43 |RRANTIES OF MERC| 00000cc0 48 41 4e 54 41 42 49 4c 49 54 59 20 41 4e 44 20 |HANTABILITY AND | 00000cd0 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 |FITNESS FOR A PA| 00000ce0 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 |RTICULAR PURPOSE| 00000cf0 0a 41 52 45 20 44 49 53 43 4c 41 49 4d 45 44 2e |.ARE DISCLAIMED.| 00000d00 20 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 | IN NO EVENT SH| 00000d10 41 4c 4c 20 54 48 45 20 52 45 47 45 4e 54 53 20 |ALL THE REGENTS | 00000d20 4f 52 20 43 4f 4e 54 52 49 42 55 54 4f 52 53 20 |OR CONTRIBUTORS | 00000d30 42 45 20 4c 49 41 42 4c 45 0a 46 4f 52 20 41 4e |BE LIABLE.FOR AN| 00000d40 59 20 44 49 52 45 43 54 2c 20 49 4e 44 49 52 45 |Y DIRECT, INDIRE| 00000d50 43 54 2c 20 49 4e 43 49 44 45 4e 54 41 4c 2c 20 |CT, INCIDENTAL, | 00000d60 53 50 45 43 49 41 4c 2c 20 45 58 45 4d 50 4c 41 |SPECIAL, EXEMPLA| 00000d70 52 59 2c 20 4f 52 20 43 4f 4e 53 45 51 55 45 4e |RY, OR CONSEQUEN| 00000d80 54 49 41 4c 0a 44 41 4d 41 47 45 53 20 28 49 4e |TIAL.DAMAGES (IN| 00000d90 43 4c 55 44 49 4e 47 2c 20 42 55 54 20 4e 4f 54 |CLUDING, BUT NOT| 00000da0 20 4c 49 4d 49 54 45 44 20 54 4f 2c 20 50 52 4f | LIMITED TO, PRO| 00000db0 43 55 52 45 4d 45 4e 54 20 4f 46 20 53 55 42 53 |CUREMENT OF SUBS| 00000dc0 54 49 54 55 54 45 20 47 4f 4f 44 53 0a 4f 52 20 |TITUTE GOODS.OR | 00000dd0 53 45 52 56 49 43 45 53 3b 20 4c 4f 53 53 20 4f |SERVICES; LOSS O| 00000de0 46 20 55 53 45 2c 20 44 41 54 41 2c 20 4f 52 20 |F USE, DATA, OR | 00000df0 50 52 4f 46 49 54 53 3b 20 4f 52 20 42 55 53 49 |PROFITS; OR BUSI| 00000e00 4e 45 53 53 20 49 4e 54 45 52 52 55 50 54 49 4f |NESS INTERRUPTIO| 00000e10 4e 29 0a 48 4f 57 45 56 45 52 20 43 41 55 53 45 |N).HOWEVER CAUSE| 00000e20 44 20 41 4e 44 20 4f 4e 20 41 4e 59 20 54 48 45 |D AND ON ANY THE| 00000e30 4f 52 59 20 4f 46 20 4c 49 41 42 49 4c 49 54 59 |ORY OF LIABILITY| 00000e40 2c 20 57 48 45 54 48 45 52 20 49 4e 20 43 4f 4e |, WHETHER IN CON| 00000e50 54 52 41 43 54 2c 20 53 54 52 49 43 54 0a 4c 49 |TRACT, STRICT.LI| 00000e60 41 42 49 4c 49 54 59 2c 20 4f 52 20 54 4f 52 54 |ABILITY, OR TORT| 00000e70 20 28 49 4e 43 4c 55 44 49 4e 47 20 4e 45 47 4c | (INCLUDING NEGL| 00000e80 49 47 45 4e 43 45 20 4f 52 20 4f 54 48 45 52 57 |IGENCE OR OTHERW| 00000e90 49 53 45 29 20 41 52 49 53 49 4e 47 20 49 4e 20 |ISE) ARISING IN | 00000ea0 41 4e 59 20 57 41 59 0a 4f 55 54 20 4f 46 20 54 |ANY WAY.OUT OF T| 00000eb0 48 45 20 55 53 45 20 4f 46 20 54 48 49 53 20 53 |HE USE OF THIS S| 00000ec0 4f 46 54 57 41 52 45 2c 20 45 56 45 4e 20 49 46 |OFTWARE, EVEN IF| 00000ed0 20 41 44 56 49 53 45 44 20 4f 46 20 54 48 45 20 | ADVISED OF THE | 00000ee0 50 4f 53 53 49 42 49 4c 49 54 59 20 4f 46 0a 53 |POSSIBILITY OF.S| 00000ef0 55 43 48 20 44 41 4d 41 47 45 2e 0a 0a 0a 0a |UCH DAMAGE.....| 00000eff