⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc1343.ps

📁 著名的RFC文档,其中有一些文档是已经翻译成中文的的.
💻 PS
📖 第 1 页 / 共 4 页
字号:
2410(A.)X3 f600 3264(Overall)N935(Format)X1269(of)X1373(a)X1445(Mailcap)X1806(File)X1 f720 3488(Each)N951(mailcap)X1295(\256le)X1456(consists)X1798(of)X1916(a)X1997(set)X2142(of)X2260(entries)X2555(that)X2738(describe)X3097(the)X3253(proper)X3542(handling)X3918(of)X4037(one)X720 3600(media)N981(type)X1172(at)X1267(the)X1410(local)X1623(site.)X1830(For)X1988(example,)X2364(one)X2528(line)X2697(might)X2946(tell)X3094(how)X3283(to)X3382(display)X3684(a)X3751(message)X4101(in)X720 3712(Group)N999(III)X1129(fax)X1286(format.)X1625(A)X1728(mailcap)X2068(\256le)X2225(consists)X2563(of)X2677(a)X2755(sequence)X3143(of)X3258(such)X3469(individual)X3895(entries,)X720 3824(separated)N1114(by)X1240(newlines)X1612(\(according)X2053(to)X2157(the)X2304(operating)X2697(system's)X3062(newline)X3396(conventions\).)X3946(Blank)X720 3936(lines)N928(and)X1093(lines)X1301(that)X1472(start)X1664(with)X1861(the)X2005("#")X2157(character)X2537(\(ASCII)X2846(35\))X3001(are)X3146(considered)X3590(comments,)X4037(and)X720 4048(are)N871(ignored.)X1246(Long)X1482(entries)X1772(may)X1970(be)X2093(continued)X2505(on)X2633(multiple)X2987(lines)X3201(if)X3292(each)X3501(non-terminal)X4031(line)X720 4160(ends)N921(with)X1117(a)X1185(backslash)X1584(character)X1963(\('\\',)X2135(ASCII)X2410(92\),)X2587(in)X2687(which)X2948(case)X3140(the)X3284(multiple)X3632(lines)X3840(are)X3984(to)X4085(be)X720 4272(treated)N1023(as)X1143(a)X1226(single)X1496(mailcap)X1842(entry.)X2127(Note)X2353(that)X2537(for)X2688(such)X2903("continued")X3400(lines,)X3645(the)X3802(backslash)X720 4384(must)N931(be)X1046(the)X1188(last)X1346(character)X1724(on)X1844(the)X1986(line)X2155(to)X2254(be)X2369(continued.)X720 4608(Thus)N936(the)X1078(overall)X1370(format)X1651(of)X1755(a)X1822(mailcap)X2152(\256le)X2299(is)X2387(given,)X2649(in)X2748(the)X2890(modi\256ed)X3256(BNF)X3466(of)X3570(RFC)X3775(822,)X3967(as:)X7 f1008 4832 0.4091(Mailcap-File)AN1762(=)X1878 0.4062(*Mailcap-Line)AX1008 5056 0.4091(Mailcap-Line)AN1762(=)X1878(Comment)X2342(/)X2458 0.4062(Mailcap-Entry)AX1008 5280(Comment)N1472(=)X1588(NEWLINE)X2110(/)X2284("#")X2516(*CHAR)X2864(NEWLINE)X1008 5504(NEWLINE)N1472(=)X1588(<newline)X2110(as)X2284(defined)X2748(by)X2922(OS)X3096 0.4125(convention>)AX1 f720 6160(Borenstein)N3853([Page)X4096(2])X3 p%%Page: 3 312 s 12 xH 0 xS 1 f720 400(RFC)N925(1343)X1841(Multimedia)X2315(Mail)X2521(Con\256guration)X3784(June)X3984(1992)X720 688(Note)N950(that)X1138(the)X1300(above)X1574(speci\256cation)X2105(implies)X2433(that)X2622(comments)X3062(must)X3293(appear)X3594(on)X3734(lines)X3960(all)X4101(to)X720 800(themselves,)N1196(with)X1391(a)X1458("#")X1608(character)X1986(as)X2090(the)X2232(\256rst)X2405(character)X2783(on)X2903(each)X3104(comment)X3487(line.)X3 f600 1024(Format)N934(of)X1038(a)X1110(Mailcap)X1471(Entry)X1 f720 1248(Each)N947(mailcap)X1288(entry)X1521(consists)X1860(of)X1975(a)X2053(number)X2382(of)X2497(\256elds,)X2764(separated)X3163(by)X3294(semi-colons.)X3842(The)X4027(\256rst)X720 1360(two)N896(\256elds)X1136(are)X1286(required,)X1663(and)X1834(must)X2053(occur)X2299(in)X2406(the)X2556(speci\256ed)X2930(order.)X3213(The)X3395(remaining)X3818(\256elds)X4058(are)X720 1472(optional,)N1084(and)X1247(may)X1437(appear)X1718(in)X1817(any)X1980(order.)X720 1696(The)N909(\256rst)X1097(\256eld)X1307(is)X1410(the)X1567(content-type,)X2112(which)X2386(indicates)X2768(the)X2926(type)X3132(of)X3252(data)X3453(this)X3632(mailcap)X3978(entry)X720 1808(describes)N1105(how)X1297(to)X1399(handle.)X1731(It)X1817(is)X1908(to)X2010(be)X2128(matched)X2482(against)X2782(the)X2926(type/subtype)X3444(speci\256cation)X3957(in)X4058(the)X720 1920("Content-Type")N1366(header)X1656(\256eld)X1860(of)X1973(an)X2097(Internet)X2430(mail)X2635(message.)X3042(If)X3139(the)X3290(subtype)X3622(is)X3720(speci\256ed)X4096(as)X720 2032("*",)N894(it)X972(is)X1060(intended)X1416(to)X1515(match)X1775(all)X1896(subtypes)X2256(of)X2360(the)X2502(named)X2783(content-type.)X720 2256(The)N897(second)X1191(\256eld,)X1413(view-command,)X2063(is)X2154(a)X2224(speci\256cation)X2738(of)X2845(how)X3037(the)X3182(message)X3536(or)X3644(body)X3864(part)X4042(can)X720 2368(be)N857(viewed)X1181(at)X1296(the)X1459(local)X1692(site.)X1919(Although)X2327(the)X2490(syntax)X2786(of)X2911(this)X3095(\256eld)X3311(is)X3420(fully)X3647(speci\256ed,)X4058(the)X720 2480(semantics)N1134(of)X1248(program)X1608(execution)X2017(are)X2169(necessarily)X2631(somewhat)X3055(operating)X3454(system)X3756(dependent.)X720 2592(UNIX)N983(semantics)X1387(are)X1529(given)X1767(in)X1866(Appendix)X2269(A.)X720 2816(The)N894(optional)X1234(\256elds,)X1490(which)X1749(may)X1939(be)X2054(given)X2292(in)X2391(any)X2554(order,)X2805(are)X2947(as)X3051(follows:)X720 3040(--)N812(The)X990("compose")X1438(\256eld)X1638(may)X1833(be)X1953(used)X2158(to)X2262(specify)X2569(a)X2641(program)X2996(that)X3170(can)X3333(be)X3453(used)X3658(to)X3762(compose)X4133(a)X720 3152(new)N905(body)X1122(or)X1227(body)X1444(part)X1619(in)X1719(the)X1862(given)X2101(format.)X2431(Its)X2551(intended)X2907(use)X3059(is)X3147(to)X3246(support)X3558(mail)X3754(composing)X720 3264(agents)N998(that)X1175(support)X1495(the)X1645(composition)X2153(of)X2265(multiple)X2619(types)X2854(of)X2966(mail)X3170(using)X3410(external)X3754(composing)X720 3376(agents.)N1027(As)X1170(with)X1378(the)X1533(view-command,)X2193(the)X2348(semantics)X2765(of)X2882(program)X3245(execution)X3657(are)X3812(operating)X720 3488(system)N1029(dependent,)X1491(with)X1704(UNIX)X1985(semantics)X2407(speci\256ed)X2791(in)X2908(Appendix)X3329(A.)X3488(The)X3680(result)X3936(of)X4058(the)X720 3600(composing)N1178(program)X1540(may)X1742(be)X1869(data)X2066(that)X2247(is)X2347(not)X2506(yet)X2660(suitable)X2996(for)X3144(mail)X3352(transport)X3730(--)X3830(that)X4010(is,)X4133(a)X720 3712 0.1276(Content-Transfer-Encoding)AN1808(may)X1998(need)X2204(to)X2303(be)X2418(applied)X2726(to)X2825(the)X2967(data.)X720 3936(--)N811(The)X988("composetyped")X1649(\256eld)X1847(is)X1938(similar)X2233(to)X2336(the)X2482("compose")X2930(\256eld,)X3153(but)X3304(is)X3396(to)X3499(be)X3618(used)X3822(when)X4058(the)X720 4048(composing)N1177(program)X1538(needs)X1791(to)X1900(specify)X2212(the)X2364(Content-type)X2901(header)X3192(\256eld)X3397(to)X3506(be)X3631(applied)X3949(to)X4058(the)X720 4160(composed)N1145(data.)X1390(The)X1576("compose")X2032(\256eld)X2239(is)X2339(simpler,)X2688(and)X2863(is)X2963(preferred)X3352(for)X3500(use)X3664(with)X3871(existing)X720 4272(\(non-mail-oriented\))N1575(programs)X2033(for)X2240(composing)X2757(data)X3013(in)X3182(a)X3319(given)X3627(format.)X4026(The)X720 4384("composetyped")N1404(\256eld)X1626(is)X1741(necessary)X2166(when)X2425(the)X2594(Content-type)X3148(information)X3654(must)X3892(include)X720 4496(auxilliary)N1122(parameters,)X1601(and)X1772(the)X1922(composition)X2429(program)X2786(must)X3004(then)X3201(know)X3445(enough)X3759(about)X4004(mail)X720 4608(formats)N1038(to)X1137(produce)X1471(output)X1741(that)X1910(includes)X2255(the)X2397(mail)X2593(type)X2783(information.)X720 4832(--)N816(The)X998("edit")X1253(\256eld)X1456(may)X1654(be)X1777(used)X1985(to)X2092(specify)X2402(a)X2477(program)X2835(that)X3012(can)X3178(be)X3301(used)X3509(to)X3617(edit)X3795(a)X3871(body)X4096(or)X720 4944(body)N955(part)X1148(in)X1266(the)X1427(given)X1684(format.)X2032(In)X2155(many)X2412(cases,)X2682(it)X2779(may)X2988(be)X3122(identical)X3498(in)X3615(content)X3941(to)X4058(the)X720 5056("compose")N1191(\256eld,)X1438(and)X1629(shares)X1921(the)X2091(operating-system)X2806(dependent)X3254(semantics)X3686(for)X3850(program)X720 5168(execution.)N720 5392(--)N810(The)X986("print")X1273(\256eld)X1471(may)X1664(be)X1782(used)X1985(to)X2087(specify)X2392(a)X2462(program)X2815(that)X2987(can)X3148(be)X3266(used)X3469(to)X3571(print)X3780(a)X3850(message)X720 5504(or)N829(body)X1050(part)X1229(in)X1333(the)X1480(given)X1723(format.)X2057(As)X2192(with)X2391(the)X2537(view-command,)X3188(the)X3334(semantics)X3742(of)X3850(program)X720 5616(execution)N1127(are)X1277(operating)X1673(system)X1972(dependent,)X2425(with)X2629(UNIX)X2901(semantics)X3314(speci\256ed)X3689(in)X3797(Appendix)X720 5728(A.)N720 6160(Borenstein)N3853([Page)X4096(3])X4 p%%Page: 4 412 s 12 xH 0 xS 1 f720 400(RFC)N925(1343)X1841(Multimedia)X2315(Mail)X2521(Con\256guration)X3784(June)X3984(1992)X720 688(--)N835(The)X1036("test")X1299(\256eld)X1521(may)X1738(be)X1881(used)X2109(to)X2236(test)X2422(some)X2677(external)X3040(condition)X3456(\(e.g.)X3679(the)X3849(machine)X720 800(architecture,)N1231(or)X1342(the)X1491(window)X1831(system)X2128(in)X2233(use\))X2423(to)X2528(determine)X2944(whether)X3284(or)X3394(not)X3547(the)X3695(mailcap)X4031(line)X720 912(applies.)N1087(It)X1192(speci\256es)X1569(a)X1658(program)X2030(to)X2151(be)X2288(run)X2462(to)X2583(test)X2763(some)X3013(condition.)X3472(The)X3669(semantics)X4096(of)X720 1024(execution)N1124(and)X1292(of)X1401(the)X1548(value)X1786(returned)X2136(by)X2261(the)X2407(test)X2569(program)X2923(are)X3069(operating)X3461(system)X3756(dependent,)X720 1136(with)N927(UNIX)X1202(semantics)X1618(speci\256ed)X1996(in)X2107(Appendix)X2522(A.)X2675(If)X2775(the)X2929(test)X3099(fails,)X3326(a)X3406(subsequent)X3870(mailcap)X720 1248(entry)N954(should)X1246(be)X1373(sought.)X1713(Multiple)X2081(test)X2251(\256elds)X2494(are)X2647(not)X2805(permitted)X3210(--)X3309(since)X3542(a)X3620(test)X3789(can)X3958(call)X4133(a)X720 1360(program,)N1094(it)X1172(can)X1330(already)X1638(be)X1753(arbitrarily)X2163(complex.)X720 1584(--)N838(The)X1042("needsterminal")X1715(\256eld)X1940(indicates)X2337(that)X2536(the)X2709(view-command)X3363(must)X3605(be)X3751(run)X3934(on)X4085(an)X720 1696(interactive)N1177(terminal.)X1596(This)X1816(is)X1929(needed)X2251(to)X2375(inform)X2685(window-oriented)X3390(user)X3598(agents)X3892(that)X4085(an)X720 1808(interactive)N1152(terminal)X1498(is)X1586(needed.)X1931(\(The)X2137(decision)X2482(is)X2570(not)X2717(left)X2870(exclusively)X3334(to)X3434(the)X3577(view-command)X720 1920(because)N1055(in)X1160(some)X1393(circumstances)X1969(it)X2053(may)X2249(not)X2402(be)X2523(possible)X2868(for)X3010(such)X3216(programs)X3609(to)X3713(tell)X3866(whether)X720 2032(or)N855(not)X1033(they)X1254(are)X1427(on)X1578(interactive)X2041(terminals.\))X2535(The)X2740(needsterminal)X3337(command)X3773(should)X4085(be)X720 2144(assumed)N1079(to)X1182(apply)X1424(to)X1527(the)X1673(compose)X2043(and)X2210(edit)X2382(commands,)X2850(too,)X3024(if)X3110(they)X3303(exist.)X3560(Note)X3774(that)X3946(this)X4112(is)X720 2256(NOT)N959(a)X1044(test)X1220(--)X1326(it)X1422(is)X1528(a)X1613(requirement)X2121(for)X2275(the)X2436(environment)X2966(in)X3084(which)X3362(the)X3523(program)X3892(will)X4085(be)X720 2368(executed,)N1140(and)X1332(should)X1641(typically)X2032(cause)X2298(the)X2468(creation)X2831(of)X2963(a)X3058(terminal)X3432(window)X3793(when)X4053(not)X720 2480(executed)N1087(on)X1207(either)X1451(a)X1518(real)X1687(terminal)X2033(or)X2137(a)X2204(terminal)X2550(window.)X720 2704(--)N811(The)X988("copiousoutput")X1638(\256eld)X1836(indicates)X2207(that)X2380(the)X2526(output)X2800(from)X3015(the)X3161(view-command)X3788(will)X3966(be)X4085(an)X720 2816(extended)N1109(stream)X1407(of)X1528(output,)X1838(and)X2017(is)X2121(to)X2236(be)X2367(interpreted)X2825(as)X2945(advice)X3237(to)X3352(the)X3510(UA)X3688(\(User)X3941(Agent)X720 2928(mail-reading)N1248(program\))X1641(that)X1821(the)X1974(output)X2255(should)X2546(be)X2672(either)X2927(paged)X3193(or)X3309(made)X3554(scrollable.)X3989(Note)X720 3040(that)N889(it)X967(is)X1055(probably)X1421(a)X1488(mistake)X1812(if)X1895(needsterminal)X2460(and)X2623(copiousoutput)X3192(are)X3334(both)X3529(speci\256ed.)X720 3264(--)N819(The)X1004("description")X1545(\256eld)X1751(simply)X2049(provides)X2416(a)X2495(textual)X2794(description,)X3282(optionally)X3709(quoted,)X4031(that)X720 3376(describes)N1105(the)X1250(type)X1443(of)X1550(data,)X1762(to)X1864(be)X1982(used)X2185(optionally)X2603(by)X2726(mail)X2925(readers)X3230(that)X3402(wish)X3610(to)X3711(describe)X4058(the)X720 3488(data)N905(before)X1175(offering)X

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -