$header$ This file contains the protocol definitions as implemented on xpenninfo. for a complete listing of the techinfo protocol see the file protocol.techinfo. xpenn wish script: CONNECT this tells wich server to connect to. it expects either "connect" or "error" returned to it. ID this command wants the data from an ID, it expects either message title text . -- where text is the text of the message or -- menu title id name id name id name ... . -- where ... is a list of id name seperated by \n or just the word image if an image has been displayed, xpenn then knows to send CLOSEGIF to xpenninfo when it wants to have a gif file closed. WORLD this command wants a list of sites accesable from this site. it expects a list of seperated by \n ended with a . on a seperate line. QUIT this means quit SEARCH this command wants a search done of format it expects a menu of the type described above. the commands used in xpenninfo by the thechinfo server follows: Outline. w:2:: This command traverses the web below the level you are currently on. It will return a nodelist. Send node info. s: This command sends node information from the server to the client. It returns: :: Send Text. t::: This command sends text from the server to the client. The for the beginning of the document is usually 0, but you can start at any byte you wish. You can use this command to read the text found under a particular node.id. The t: command returns an initial line of " Total Characters: sent: This document was last modified on ." It is followed by a CRLF and the text of the document from the for the Get list of servers. m: This command returns a 1st line with the number of Techinfo servers followed by the server list as in the server file. (For the format of such a file please see "Format of Various Control Files" below) Quit. q: The Quit command closes the connection to the server. Choose nodelist format. O: The capital O command allows you to choose the format in which you want nodelist s to appear on the screen. If the field is 1, then the nodelist is retur ned with the flag fields set to 0. If the field is 2, then the nodelist returned will have the flag fields set. If the field is 3, then the nodelist will be returned in a menu format. Search Keywords. b::[optional node.id] The b: command will search for the given in all the keyword fields of the nodelists in the web. If a node.id is provided it will search below that node.id in the web. It will initially return the number of nodes found followed by a nodelist of all nodes that contain the given as a keyword. Find new nodes. I:::
: This command finds all text nodes in the web modified since the date given. Use 0 for the if you want to search the entire web. If a node.id is provided, it will search below that node.id in the web. It will initially return the number of nodes found followed by a nodelist of all text no des modified since the given date. Return Nodes by Source. K::[optional node.id] This command will find all the nodes that belong to a particular source. It will initially return the number of nodes found followed by a nodelist of all the nodes that belong to that source. Perform Full Text Search. J::[optional node.id] This command will perform a full text search for the provided. It will initially return the number of nodes found and a nodelist of nodes that contain the being searched for. Title Search. T:: This command only at penn does a title search. returns # of nodes found folowed by a nodelist