Misplaced Pages

Portable Game Notation

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

Portable Game Notation (PGN) is a standard plain text format for recording chess games (both the moves and related data ), which can be read by humans and is also supported by most chess software.

#678321

68-487: PGN was devised around 1993, by Steven J. Edwards , and was first popularized and specified via the Usenet newsgroup rec.games.chess. PGN is structured "for easy reading and writing by human users and for easy parsing and generation by computer programs ." The chess moves themselves are given in algebraic chess notation using English initials for the pieces. The filename extension is .pgn . There are two formats in

136-458: A compiler . The export format representations generated by different programs on the same computer should be exactly equivalent, byte for byte. PGN text begins with a set of "tag pairs" (a tag name and its value), followed by the "movetext" (chess moves with optional commentary). Tag pairs begin with an initial left bracket [ , followed by the name of the tag in plain ASCII text. The tag value

204-598: A charter, a rationale, and a moderation policy if the group is to be moderated. Discussion of the new newsgroup proposal follows, and is finished with the members of the Big-8 Management Board making the decision, by vote, to either approve or disapprove the new newsgroup. Unmoderated newsgroups form the majority of Usenet newsgroups, and messages submitted by readers for unmoderated newsgroups are immediately propagated for everyone to see. Minimal editorial content filtering vs propagation speed form one crux of

272-515: A computer, typically providing an assessment of a chess move or a chess position. NAGs exist to indicate a simple annotation in a language independent manner. NAGs were first formally documented in 1994 by Steven J. Edwards in his Portable Game Notation Specification and Implementation Guide. Within the PGN specification, 256 NAGs are proposed of which the first 140 are defined; the remainder were reserved for future definition. A Numeric Annotation Glyph

340-603: A cross post to the *.answers group at the head of the hierarchy seen by some as a refining of information in that news group. Some subgroups are recursive—to the point of some silliness in alt.* . Usenet was originally created to distribute text content encoded in the 7- bit ASCII character set. With the help of programs that encode 8-bit values into ASCII, it became practical to distribute binary files as content. Binary posts, due to their size and often-dubious copyright status, were in time restricted to specific newsgroups, making it easier for administrators to allow or disallow

408-457: A disproportionately high volume of customer support incidents (frequently complaining of missing news articles). Some ISPs outsource news operations to specialist sites, which will usually appear to a user as though the ISP itself runs the server. Many of these sites carry a restricted newsfeed, with a limited number of newsgroups. Commonly omitted from such a newsfeed are foreign-language newsgroups and

476-578: A moderator must bear the Approved: header line. Moderators ensure that the messages that readers see in the newsgroup conform to the charter of the newsgroup, though they are not required to follow any such rules or guidelines. Typically, moderators are appointed in the proposal for the newsgroup, and changes of moderators follow a succession plan. Historically, a mod.* hierarchy existed before Usenet reorganization. Now, moderated newsgroups may appear in any hierarchy, typically with .moderated added to

544-469: A more detailed representation is needed to resolve ambiguity; if so, the piece's file letter, numerical rank , or the exact square is inserted after the moving piece's name (in that order of preference). Thus, Nge2 specifies that the knight originally on the g-file moves to e2. SAN kingside castling is indicated by the sequence O-O ; queenside castling is indicated by the sequence O-O-O (note that these are capital Os, not zeroes, contrary to

612-567: A move and before a comment. c. Comments begin on a new line, with the mentioned blank line above it and below the move to which the comment applies. d. A Comment's beginning is denoted by a single vertical bar sign plus a space before the comment begins e. The end of a Comment is on a separate line after the end of the comment text. This line has 2 vertical bars plus a space. Example of the above comments: Example: f. Vertical bars are important because text or screen readers often only announce whatever sort of bracket PGN software provides only by

680-562: A move, as this is too easily mistaken for normal notation. When a move is to start a comment, start like this: | Comment: 4. Start each sentence of a comment on a separate line. 5. For variations: Start it on a new line with a letter: Example: |A. 6 Ng5 Bg7 || |B. 6 d3 d6 || For nested variations, add numbers. Extended text sounds like spaghetti to the blind player. Example |A 6 Ng5 Bg7 | Comment: A1 7 d3 d6 8 Bf4 00 || | Comment: A2 7 a3 d6 8 h3 Nd7 || Usenet Early research and development: Merging

748-499: A news server might attempt to control the spread of spam by refusing to accept or forward any posts that trigger spam filters , or a server without high-capacity data storage may refuse to carry any newsgroups used primarily for file sharing , limiting itself to discussion-oriented groups. However, unlike BBSes and web forums, the dispersed nature of Usenet usually permits users who are interested in receiving some content to access it simply by choosing to connect to news servers that carry

SECTION 10

#1732783251679

816-687: A newsgroup under the Big Eight which contains discussions about children's books, but a group in the alt hierarchy may be dedicated to one specific author of children's books. Binaries are posted in alt.binaries.* , making it the largest of all the hierarchies. Many other hierarchies of newsgroups are distributed alongside these. Regional and language-specific hierarchies such as japan.* , malta.* and ne.* serve specific countries and regions such as Japan , Malta and New England . Companies and projects administer their own hierarchies to discuss their products and offer community technical support, such as

884-412: A readership which is potentially widely distributed. These protocols most commonly use a flooding algorithm which propagates copies throughout a network of participating servers. Whenever a message reaches a server, that server forwards the message to all its network neighbors that haven't yet seen the article. Only one copy of a message is stored per server, and each server makes it available on demand to

952-706: A server, just (local) telephone service. The name Usenet comes from the term "users' network". The first Usenet group was NET.general , which quickly became net.general . The first commercial spam on Usenet was from immigration attorneys Canter and Siegel advertising green card services. On the Internet, Usenet is transported via the Network News Transfer Protocol (NNTP) on Transmission Control Protocol (TCP) port 119 for standard, unprotected connections, and on TCP port 563 for Secure Sockets Layer (SSL) encrypted connections. Usenet

1020-457: A takedown petition to be most effective across the whole network, it would have to be issued to the origin server to which the content has been posted, before it has been propagated to other servers. Removal of the content at this early stage would prevent further propagation, but with modern high speed links, content can be propagated as fast as it arrives, allowing no time for content review and takedown issuance by copyright holders. Establishing

1088-528: A telecommunications service, and assert that they are not responsible for the user-posted binary content transferred via their equipment. In the United States, Usenet providers can qualify for protection under the DMCA Safe Harbor regulations , provided that they establish a mechanism to comply with and respond to takedown notices from copyright holders. Removal of copyrighted content from

1156-418: A tree-like form. When a user posts an article, it is initially only available on that user's news server. Each news server talks to one or more other servers (its "newsfeeds") and exchanges articles with them. In this fashion, the article is copied from server to server and should eventually reach every server in the network. The later peer-to-peer networks operate on a similar principle, but for Usenet it

1224-405: Is also used by individual users to store backup data. While commercial providers offer easier to use online backup services , storing data on Usenet is free of charge (although access to Usenet itself may not be). The method requires the uploader to cede control over the distribution of the data; the files are automatically disseminated to all Usenet providers exchanging data for the news group it

1292-538: Is composed of a dollar sign character ("$ ") immediately followed by one or more digit characters. Each NAG then has a specific meaning and often a standard typographical representation. The meanings first defined stemmed from the use of specific typographic symbols when annotators were commenting upon chess games; most especially in Chess Informant publications. The objective was to devise an alternative representation of these symbols which could be incorporated in

1360-585: Is connecting to it. Some Usenet providers do keep usage logs, but not all make this logged information casually available to outside parties such as the Recording Industry Association of America . The existence of anonymising gateways to USENET also complicates the tracing of a postings true origin. Bruce Jones, Henry Spencer , David Wiseman. Copied with permission from Numeric Annotation Glyphs Numeric Annotation Glyphs or NAG s are used to annotate chess games when using

1428-403: Is contained within nine hierarchies, eight of which are operated under consensual guidelines that govern their administration and naming. The current Big Eight are: The alt.* hierarchy is not subject to the procedures controlling groups in the Big Eight, and it is as a result less organized. Groups in the alt.* hierarchy tend to be more specialized or specific—for example, there might be

SECTION 20

#1732783251679

1496-484: Is enclosed in double-quotes, and the tag is then terminated with a closing right bracket ] . A quote inside a tag value is represented by the backslash immediately followed by a quote. A backslash inside a tag value is represented by two adjacent backslashes. There are no special control codes involving escape characters, or carriage returns, and linefeeds to separate the fields, and superfluous embedded spaces are usually skipped when parsing. PGN data for archival storage

1564-455: Is given an empty abbreviation in SAN movetext, but in other contexts the abbreviation P is used. The algebraic name of any square is as per usual algebraic chess notation; from white's perspective, the leftmost square closest to white is a1 , the rightmost square closest to the white is h1 , and the rightmost (from white's perspective) square closest to black side is h8 . In a few cases,

1632-504: Is normally the sender, rather than the receiver, who initiates transfers. Usenet was designed under conditions when networks were much slower and not always available. Many sites on the original Usenet network would connect only once or twice a day to batch-transfer messages in and out. This is largely because the POTS network was typically used for transfers, and phone charges were lower at night. The format and transmission of Usenet articles

1700-450: Is not generally available, it should always be converted to text when saved to BGN or printed from BGN. 2. Line Breaks and Game Moves: Text or screen readers used by blind players often have issues with verbalizing "run-on" text understandable. Thus, the following rules are important to make reading to the blind player more understandable. a. Paired game moves appear on separate lines. (Scoresheet fashion.) b. A blank line must appear after

1768-476: Is one such web based front end and some web browsers can access Google Groups via news: protocol links directly. A minority of newsgroups are moderated, meaning that messages submitted by readers are not distributed directly to Usenet, but instead are emailed to the moderators of the newsgroup for approval. The moderator is to receive submitted articles, review them, and inject approved articles so that they can be properly propagated worldwide. Articles approved by

1836-624: Is posted to. In general the user must manually select, prepare and upload the data. The data is typically encrypted because it is available to anyone to download the backup files. After the files are uploaded, having multiple copies spread to different geographical regions around the world on different news servers decreases the chances of data loss. Major Usenet service providers have a retention time of more than 12 years. This results in more than 60 petabytes (60000 terabytes ) of storage (see image). When using Usenet for data storage, providers that offer longer retention time are preferred to ensure

1904-407: Is required to provide seven tag pairs – together known as the " Seven Tag Roster ". In export format, these tag pairs must appear before any other tag pairs and in this order: The standard allows for other optional tag pairs. The more common ones include: The movetext describes the actual moves of the game. This includes move number indicators (numbers followed by either one or three periods; one if

1972-491: Is similar to that of Internet e-mail messages. The difference between the two is that Usenet articles can be read by any user whose news server carries the group to which the message was posted, as opposed to email messages, which have one or more specific recipients. Today, Usenet has diminished in importance with respect to Internet forums , blogs , mailing lists and social media . Usenet differs from such media in several ways: Usenet requires no personal registration with

2040-400: Is sufficient storage allocated to handle the amount of articles being added. Without sufficient retention time, a reader will be unable to download all parts of the binary before it is flushed out of the group's storage allocation. This was at one time how posting undesired content was countered; the newsgroup would be flooded with random garbage data posts, of sufficient quantity to push out all

2108-502: The alt.binaries hierarchy which largely carries software, music, videos and images, and accounts for over 99 percent of article data. There are also Usenet providers that offer a full unrestricted service to users whose ISPs do not carry news, or that carry a restricted feed. Newsgroups are typically accessed with newsreaders : applications that allow users to read and reply to postings in newsgroups. These applications act as clients to one or more news servers. Historically, Usenet

Portable Game Notation - Misplaced Pages Continue

2176-457: The FIDE standard for notation). Pawn promotions are notated by appending = to the destination square, followed by the piece the pawn is promoted to. For example: e8=Q . If the move is a checking move, + is also appended; if the move is a checkmating move, # is appended instead. For example: e8=Q# . An annotator who wishes to suggest alternative moves to those actually played in

2244-425: The sci.* hierarchy. Or, talk.origins and talk.atheism are in the talk.* hierarchy. When a user subscribes to a newsgroup, the news client software keeps track of which articles that user has read. In most newsgroups, the majority of the articles are responses to some other article. The set of articles that can be traced to one single non-reply article is called a thread . Most modern newsreaders display

2312-452: The (typically local) readers able to access that server. The collection of Usenet servers has thus a certain peer-to-peer character in that they share resources by exchanging them, the granularity of exchange however is on a different scale than a modern peer-to-peer system and this characteristic excludes the actual users of the system who connect to the news servers with a typical client-server application, much like an email reader. RFC 850

2380-399: The PGN specification, the "import" format and the "export" format. The import format describes data that may have been prepared by hand, and is intentionally lax; a program that can read PGN data should be able to handle the somewhat lax import format. The export format is rather strict and describes data prepared under program control, similar to a pretty printed source program reformatted by

2448-506: The US Blind Chess Association, notably Marilyn Bland and Eric (Ché) Martin. The key differences are 1. Translation for Output: For any existing database system, specialized chess symbols other than the basic are translated to text, because the more complex symbols are not available within a simple ASCII character set. The basic symbols are: For example, the chess symbol ∆ means “with the idea of.” Because this symbol

2516-558: The Usenet community. One little cited defense of propagation is canceling a propagated message, but few Usenet users use this command and some news readers do not offer cancellation commands , in part because article storage expires in relatively short order anyway. Almost all unmoderated Usenet groups tend to receive large amounts of spam . Usenet is a set of protocols for generating, storing and retrieving news "articles" (which resemble Internet mail messages) and for exchanging them among

2584-400: The articles arranged into threads and subthreads. For example, in the wine-making newsgroup rec.crafts.winemaking, someone might start a thread called; "What's the best yeast?" and that thread or conversation might grow into dozens of replies long, by perhaps six or eight different authors. Over several days, that conversation about different wine yeasts might branch into several sub-threads in

2652-447: The content to be suppressed. This has been compensated by service providers allocating enough storage to retain everything posted each day, including spam floods, without deleting anything. Modern Usenet news servers have enough capacity to archive years of binary content even when flooded with new data at the maximum daily speed available. In part because of such long retention times, as well as growing Internet upload speeds, Usenet

2720-559: The data will survive for longer periods of time compared to services with lower retention time. While binary newsgroups can be used to distribute completely legal user-created works, free software , and public domain material, some binary groups are used to illegally distribute proprietary software , copyrighted media, and pornographic material. ISP-operated Usenet servers frequently block access to all alt.binaries.* groups to both reduce network traffic and to avoid related legal issues. Commercial Usenet service providers claim to operate as

2788-485: The end of the line) or a { (which continues until a } ). Comments do not nest. Here is the PGN format of the 29th game of the 1992 match played in Yugoslavia between Bobby Fischer and Boris Spassky : Many chess variants can be recorded using PGN, provided the names of the pieces can be limited to one character, usually a letter and not a number. They are typically noted with a tag named "Variant" giving

Portable Game Notation - Misplaced Pages Continue

2856-494: The entire Usenet network is a nearly impossible task, due to the rapid propagation between servers and the retention done by each server. Petitioning a Usenet provider for removal only removes it from that one server's retention cache, but not any others. It is possible for a special post cancellation message to be distributed to remove it from all servers, but many providers ignore cancel messages by standard policy, because they can be easily falsified and submitted by anyone. For

2924-529: The feeds they want. Usenet is culturally and historically significant in the networked world, having given rise to, or popularized, many widely recognized concepts and terms such as " FAQ ", " flame ", " sockpuppet ", and " spam ". In the early 1990s, shortly before access to the Internet became commonly affordable, Usenet connections via FidoNet 's dial-up BBS networks made long-distance or worldwide discussions and other communication widespread, not needing

2992-399: The files reaches a server. Binary newsgroups can be used to distribute files, and, as of 2022, some remain popular as an alternative to BitTorrent to share and download files. Each news server allocates a certain amount of storage space for content in each newsgroup. When this storage has been filled, each time a new post arrives, old posts are deleted to make room for the new content. If

3060-480: The game may insert variations enclosed in parentheses. They may also comment on the game by inserting Numeric Annotation Glyphs (NAGs) into the movetext. Each NAG reflects a subjective impression of the move preceding the NAG or of the resultant position. If the game result is anything other than * , the result is repeated at the end of the movetext. Comments are inserted by either a ; (a comment that continues to

3128-738: The group concerned; information need not be stored on a remote server; archives are always available; and reading the messages does not require a mail or web client, but a news client. However, it is now possible to read and participate in Usenet newsgroups to a large degree using ordinary web browsers since most newsgroups are now copied to several web sites. The groups in alt.binaries are still widely used for data transfer. Many Internet service providers, and many other Internet sites, operate news servers for their users to access. ISPs that do not operate their own servers directly will often offer their users an account from another provider that specifically operates newsfeeds. In early news implementations,

3196-480: The group name. Usenet newsgroups in the Big-8 hierarchy are created by proposals called a Request for Discussion, or RFD. The RFD is required to have the following information: newsgroup name, checkgroups file entry, and moderated or unmoderated status. If the group is to be moderated, then at least one moderator with a valid email address must be provided. Other information which is beneficial but not required includes:

3264-684: The historical gnu.* hierarchy from the Free Software Foundation . Microsoft closed its newsserver in June 2010, providing support for its products over forums now. Some users prefer to use the term "Usenet" to refer only to the Big Eight hierarchies; others include alt.* as well. The more general term "netnews" incorporates the entire medium, including private organizational news systems. Informal sub-hierarchy conventions also exist. *.answers are typically moderated cross-post groups for FAQs. An FAQ would be posted within one group and

3332-425: The idea in 1979, and it was established in 1980. Users read and post messages (called articles or posts , and collectively termed news ) to one or more topic categories, known as newsgroups . Usenet resembles a bulletin board system (BBS) in many respects and is the precursor to the Internet forums that have become widely used. Discussions are threaded , as with web forums and BBSes, though posts are stored on

3400-620: The identity of the person posting illegal content is equally difficult due to the trust-based design of the network. Like SMTP email, servers generally assume the header and origin information in a post is true and accurate. However, as in SMTP email, Usenet post headers are easily falsified so as to obscure the true identity and location of the message source. In this manner, Usenet is significantly different from modern P2P services; most P2P users distributing content are typically immediately identifiable to all other users by their network address , but

3468-435: The local one, while the local server will receive any news its peers have that it currently lacks. This results in the automatic proliferation of content posted by any user on any server to any other user subscribed to the same newsgroups on other servers. As with BBSes and message boards, individual news servers or service providers are under no obligation to carry any specific content, and may refuse to do so for many reasons:

SECTION 50

#1732783251679

3536-674: The manual deletion of infringing material using the provisions of World Intellectual Property Organization treaty implementations, such as the United States Online Copyright Infringement Liability Limitation Act , but this would require giving notice to each individual news server administrator. On the Internet, Usenet is transported via the Network News Transfer Protocol (NNTP) on TCP Port 119 for standard, unprotected connections and on TCP port 563 for SSL encrypted connections. The major set of worldwide newsgroups

3604-599: The name of the rules. The term "Variation" must be avoided, as that refers to the name of an opening variation. Note that traditional chess programs can only handle, at most, a few variants. Forsyth-Edwards Notation is used to record the starting position for variants (such as Chess960 ) which have initial positions other than the orthodox chess initial position. A proposed variant of pgn is Blind Game Notation, or BGN, for Blind Players. FIDE Master Kevin Bachler developed this variant in 2022 in conjunction with several members of

3672-419: The network bandwidth available to a server is high but the storage allocation is small, it is possible for a huge flood of incoming content to overflow the allocation and push out everything that was in the group before it. The average length of time that posts are able to stay on the server before being deleted is commonly called the retention time . Binary newsgroups are only able to function reliably if there

3740-545: The networks and creating the Internet: Commercialization, privatization, broader access leads to the modern Internet: Examples of Internet services: Usenet ( / ˈ j uː z n ɛ t / ), USENET , or, "in full", User's Network , is a worldwide distributed discussion system available on computers. It was developed from the general-purpose Unix-to-Unix Copy (UUCP) dial-up network architecture. Tom Truscott and Jim Ellis conceived

3808-460: The newly developed news software such as A News . The name "Usenet" emphasizes its creators' hope that the USENIX organization would take an active role in its operation. The articles that users post to Usenet are organized into topical categories known as newsgroups , which are themselves logically organized into hierarchies of subjects. For instance, sci.math and sci.physics are within

3876-516: The next move is White's move, three if the next move is Black's move) and movetext in Standard Algebraic Notation (SAN). For most moves the SAN consists of the letter abbreviation for the piece, an x if there is a capture, and the two-character algebraic name of the final square the piece moved to. The letter abbreviations are K ( king ), Q ( queen ), R ( rook ), B ( bishop ), and N ( knight ). The pawn

3944-412: The origin information for a Usenet posting can be completely obscured and unobtainable once it has propagated past the original server. Also unlike modern P2P services, the identity of the downloaders is hidden from view. On P2P services a downloader is identifiable to all others by their network address. On Usenet, the downloader connects directly to a server, and only the server knows the address of who

4012-491: The rise of the World Wide Web (WWW), web front-ends (web2news) have become more common. Web front ends have lowered the technical entry barrier requirements to that of one application and no Usenet NNTP server account. There are numerous websites now offering web based gateways to Usenet groups, although some people have begun filtering messages made by some of the web interfaces for one reason or another. Google Groups

4080-435: The server and newsreader were a single program suite, running on the same system. Today, one uses separate newsreader client software, a program that resembles an email client but accesses Usenet servers instead. Not all ISPs run news servers. A news server is one of the most difficult Internet services to administer because of the large amount of data involved, small customer base (compared to mainstream Internet service), and

4148-544: The server sequentially. A major difference between a BBS or web message board and Usenet is the absence of a central server and dedicated administrator or hosting provider. Usenet is distributed among a large, constantly changing set of news servers that store and forward messages to one another via "news feeds". Individual users may read messages from and post to a local (or simply preferred) news server, which can be operated by anyone, and those posts will automatically be forwarded to any other news servers peered with

SECTION 60

#1732783251679

4216-516: The traffic. The oldest widely used encoding method for binary content is uuencode , from the Unix UUCP package. In the late 1980s, Usenet articles were often limited to 60,000 characters, and larger hard limits exist today. Files are therefore commonly split into sections that require reassembly by the reader. With the header extensions and the Base64 and Quoted-Printable MIME encodings, there

4284-420: The user exploring with the cursor, which is tedious for the blind player. With this revised format, one can use the arrow down key to find when a vertical bar is announced, indicating a comment has begun. Double vertical bars indicating the closure of the comment are on a separate line, so anyone wishing to skip the comment can arrow down the line by line until they are announced. 3. Comments must never begin with

4352-515: Was a new generation of binary transport. In practice, MIME has seen increased adoption in text messages, but it is avoided for most binary attachments. Some operating systems with metadata attached to files use specialized encoding formats. For Mac OS, both BinHex and special MIME types are used. Other lesser known encoding systems that may have been used at one time were BTOA , XX encoding , BOO , and USR encoding. In an attempt to reduce file transfer times, an informal file encoding known as yEnc

4420-466: Was associated with the Unix operating system developed at AT&T , but newsreaders were soon available for all major operating systems. Email client programs and Internet suites of the late 1990s and 2000s often included an integrated newsreader. Newsgroup enthusiasts often criticized these as inferior to standalone newsreaders that made correct use of Usenet protocols, standards and conventions. With

4488-638: Was conceived in 1979 and publicly established in 1980, at the University of North Carolina at Chapel Hill and Duke University , over a decade before the World Wide Web went online (and thus before the general public received access to the Internet ), making it one of the oldest computer network communications systems still in widespread use. It was originally built on the "poor man's ARPANET ", employing UUCP as its transport protocol to offer mail and file transfers, as well as announcements through

4556-429: Was introduced in 2001. It achieves about a 30% reduction in data transferred by assuming that most 8-bit characters can safely be transferred across the network without first encoding into the 7-bit ASCII space. The most common method of uploading large binary posts to Usenet is to convert the files into RAR archives and create Parchive files for them. Parity files are used to recreate missing data when not every part of

4624-450: Was the first formal specification of the messages exchanged by Usenet servers. It was superseded by RFC 1036 and subsequently by RFC 5536 and RFC 5537. In cases where unsuitable content has been posted, Usenet has support for automated removal of a posting from the whole network by creating a cancel message, although due to a lack of authentication and resultant abuse, this capability is frequently disabled. Copyright holders may still request

#678321