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

📄 rfc2229.txt

📁 中、英文RFC文档大全打包下载完全版 .
💻 TXT
📖 第 1 页 / 共 4 页
字号:
        503 Command parameter not implemented        530 Access denied        531 Access denied, use "SHOW INFO" for server information        532 Access denied, unknown mechanism        550 Invalid database, use "SHOW DB" for list of databases        551 Invalid strategy, use "SHOW STRAT" for a list of strategies        552 No match        554 No databases present        555 No strategies available8.  Sample Conversations   Theses are samples of the conversations that might be expected with   a typical DICT server.  The notation "C:" indicates commands set by   the client, and "S:" indicates responses sent by the server.  Blank   lines are included for clarity and do not indicate actual newlines   in the transaction.Faith & Martin               Informational                     [Page 23]RFC 2229              A Dictionary Server Protocol          October 19978.1.  Sample 1 - HELP, DEFINE, and QUIT commandsC: [ client initiates connection ]S: 220 dict.org dictd (version 0.9) <27831.860032493@dict.org>C: HELPS: 113 Help text followsS: DEFINE database word            look up word in databaseS: MATCH database strategy word    match word in database using strategyS: [ more server-dependent help text ]S: .S: 250 Command completeC: DEFINE ! penguinS: 150 1 definitions found: list followsS: 151 "penguin" wn "WordNet 1.5" : definition text followsS: penguinS:   1. n: short-legged flightless birds of cold southern esp. AntarcticS:      regions having webbed feet and wings modified as flippersS: .S: 250 Command completeC: DEFINE * shortcakeS: 150 2 definitions found: list followsS: 151 "shortcake" wn "WordNet 1.5" : text followsS: shortcakeS:   1. n: very short biscuit spread with sweetened fruit and usu.S:      whipped creamS: .S: 151 "Shortcake" web1913 "Webster's Dictionary (1913)" : text followsS: ShortcakeS:    \Short"cake`\, n.S:    An unsweetened breakfast cake shortened with butter or lard,S:    rolled thin, and baked.S: .S: 250 Command completeC: DEFINE abcdefghS: 552 No matchFaith & Martin               Informational                     [Page 24]RFC 2229              A Dictionary Server Protocol          October 1997C: quitS: 221 Closing connection8.2.  Sample 2 - SHOW commands, MATCH commandC: SHOW DBS: 110 3 databases present: list followsS: wn "WordNet 1.5"S: foldoc "Free On-Line Dictionary of Computing"S: jargon "Hacker Jargon File"S: .S: 250 Command completeC: SHOW STRATS: 111 5 strategies present: list followsS: exact "Match words exactly"S: prefix "Match word prefixes"S: substring "Match substrings anywhere in word"S: regex "Match using regular expressions"S: reverse "Match words given definition keywords"S: .S: 250 Command completeC: MATCH foldoc regex "s.si"S: 152 7 matches found: list followsS: foldoc Fast SCSIS: foldoc SCSIS: foldoc SCSI-1S: foldoc SCSI-2S: foldoc SCSI-3S: foldoc Ultra-SCSIS: foldoc Wide SCSIS: .S: 250 Command completeC: MATCH wn substring "abcdefgh"S: 552 No matchFaith & Martin               Informational                     [Page 25]RFC 2229              A Dictionary Server Protocol          October 19978.3.  Sample 3 - Server downtimeC: [ client initiates connection ]S: 420 Server temporarily unavailableC: [ client initiates connection ]S: 421 Server shutting down at operator request8.4.  Sample 4 - AuthenticationC: [ client initiates connection ]S: 220 dict.org dictd (version 0.9) <27831.860032493@dict.org>C: SHOW DBS: 110 1 database present: list followsS: free "Free database"S: .S: 250 Command completeC: AUTH joesmith authentication-stringS: 230 Authentication successfulC: SHOW DBS: 110 2 databases present: list followsS: free "Free database"S: licensed "Local licensed database"S: .S: 250 Command complete9.  Security Considerations   This RFC raises no security issues.Faith & Martin               Informational                     [Page 26]RFC 2229              A Dictionary Server Protocol          October 199710.  References   [ASCII] US-ASCII. Coded Character Set - 7-Bit American Standard        Code for Information Interchange. Standard ANSI X3.4-1986,        ANSI, 1986.   [FOLDOC] Howe, Denis, ed.  The Free On-Line Dictionary of        Computing, <URL:http://wombat.doc.ic.ac.uk/>   [ISO10646] ISO/IEC 10646-1:1993. International Standard --        Information technology -- Universal Multiple-Octet Coded        Character Set (UCS) -- Part 1: Architecture and Basic        Multilingual Plane.  UTF-8 is described in Annex R, adopted        but not yet published.  UTF-16 is described in Annex Q,        adopted but not yet published.   [JARGON] The on-line hacker Jargon File, version 4.0.0, 25 JUL        1996, <URL:http://www.ccil.org/jargon/>   [KNUTH73] Knuth, Donald E. "The Art of Computer Programming",        Volume 3: Sorting and Searching (Addison-Wesley Publishing        Co., 1973, pages 391 and 392). Knuth notes that the soundex        method was originally described by Margaret K. Odell and        Robert C. Russell [US Patents 1261167 (1918) and 1435663        (1922)].   [PZ85] Pollock, Joseph J. and Zamora, Antonio, "Automatic spelling        correction in scientific and scholarly text," CACM, 27(4):        Apr. 1985, 358-368.   [RFC640] Postel, J., "Revised FTP Reply Codes", RFC 640, June,        1975.   [RFC821] Postel, J., "Simple Mail Transfer Protocol", STD 10,        RFC 821, August 1982.   [RFC822] Crocker, D., "Standard for the Format of ARPA Internet        Text Messages", STD 11, RFC 822, August 1982.   [RFC977] Kantor, B., and P. Lapsley, "Network News Transfer        Protocol: A Proposed Standard for the Stream-Based        Transmission of News", RFC 977, February 1986.   [RFC2045] Freed, N., and N. Borenstein, "Multipurpose Internet        Mail Extensions (MIME) Part One: Format of Internet Message        Bodies", RFC 2045, November 1996.Faith & Martin               Informational                     [Page 27]RFC 2229              A Dictionary Server Protocol          October 1997   [RFC1738] Berners-Lee, T., Masinter, L. and M. McCahill, "Uniform        Resource Locators (URL)", RFC 1738, December 1994.   [RFC1760] Haller, N., "The S/KEY One-Time Password System",        RFC 1760, February 1995.   [RFC1985] Freed, N., and A. Cargille, "SMTP Service Extension for        Command Pipelining", RFC 1854, October 1995.   [RFC1939] Myers, J., and M. Rose, "Post Office Protocol - Version 3",        STD 53, RFC 1939, May 1996.   [RFC2044] Yergeau, F., "UTF-8, a transformation format of Unicode        and ISO 10646", RFC 2044, October 1996.   [RFC2068] Fielding, R., Gettys, J., Mogul, J., Frystyk, H.,        and T. Berners-Lee, "Hypertext Transfer Protocol -- HTTP/1.1",        RFC 2068, January 1997.   [RFC2078] Linn, J., "Generic Security Service Application Program        Interface, Version 2", RFC 2078, January 1997.   [RFC2222] Myers, J., "Simple Authentication and Security Layer        (SASL)", RFC 2222, October 1997.   [WEB1913] Webster's Revised Unabridged Dictionary (G & C. Merriam        Co., 1913, edited by Noah Porter).  Online version prepared by        MICRA, Inc., Plainfield, N.J. and edited by Patrick Cassidy        <cassidy@micra.com>.  For further information, see   <URL:ftp://uiarchive.cso.uiuc.edu/pub/etext/gutenberg/etext96/pgw*>,        and   <URL:http://humanities.uchicago.edu/forms_unrest/webster.form.html>   [WORDNET] Miller, G.A. (1990), ed. WordNet: An On-Line Lexical        Database. International Journal of Lexicography. Volume 3,        Number 4.  <URL:http://www.cogsci.princeton.edu/~wn/>Faith & Martin               Informational                     [Page 28]RFC 2229              A Dictionary Server Protocol          October 199711.  Acknowledgements   Thanks to Arnt Gulbrandsen and Nicolai Langfeldt for many helpful   discussions.  Thanks to Bennet Yee, Doug Hoffman, Kevin Martin, and   Jay Kominek for extensive testing and feedback on the initial   implementations of the DICT server.  Thanks to Zhong Shao for advice   and support.   Thanks to Brian Kanto, Phil Lapsley, and Jon Postel for writing   exemplary RFCs which were consulted during the preparation of this   document.   Thanks to Harald T. Alvestrand, whose comments helped improve this   document.12.  Authors' Addresses   Rickard E. Faith   EMail: faith@cs.unc.edu (or faith@acm.org)   Bret Martin   EMail: bamartin@miranda.org   The majority of this work was completed while Bret Martin was a   student at Yale University.Faith & Martin               Informational                     [Page 29]RFC 2229              A Dictionary Server Protocol          October 199713.  Full Copyright Statement   Copyright (C) The Internet Society (1997).  All Rights Reserved.   This document and translations of it may be copied and furnished to   others, and derivative works that comment on or otherwise explain it   or assist in its implmentation may be prepared, copied, published   andand distributed, in whole or in part, without restriction of any   kind, provided that the above copyright notice and this paragraph are   included on all such copies and derivative works.  However, this   document itself may not be modified in any way, such as by removing   the copyright notice or references to the Internet Society or other   Internet organizations, except as needed for the purpose of   developing Internet standards in which case the procedures for   copyrights defined in the Internet Standards process must be   followed, or as required to translate it into languages other than   English.   The limited permissions granted above are perpetual and will not be   revoked by the Internet Society or its successors or assigns.   This document and the information contained herein is provided on an   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.Faith & Martin               Informational                     [Page 30]

⌨️ 快捷键说明

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