From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,23081cfecf8ef3fd,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-11-04 14:36:57 PST Newsgroups: comp.os.linux.announce Path: bga.com!news.sprintlink.net!hookup!news.mathworks.com!uhog.mit.edu!nntp.club.cc.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!bounce-bounce From: Cal Page Subject: LINFO, Linux Information database Message-ID: Followup-To: comp.os.linux.misc Keywords: LINFO newsgroup database server Sender: mdw@cs.cornell.edu (Matt Welsh) Reply-To: Cal Page Organization: None Date: Fri, 4 Nov 1994 22:36:57 GMT This is the help file for 'linfo', a Linux Information Server. Version 1.3, November 2, 1994 This note announces an experimental Linux Information Server (LINFO) with a mail interface. The rest of this post details this service in a FAQ format. 1. About LINFO 1.0 What is LINFO ? LINFO stands for a Linux Information Server. The database consists of posts to comp.os.linux.* starting from about April of 1994. 1.1 What does LINFO do for me? You can ask questions and LINFO will try to give you relevant answers. The comp.os.linux.* posts contain a great deal of Linux problems and their solutions. By using LINFO, you don't have to try to keep all Linux news posts for reference. Anyway, many systems delete these after a certain time, so they are not available. Additionally, LINFO has an easy to use search syntax that allows you to find things more quickly than otherwise. 1.2 How much does LINFO cost? It's free to anyone that can send and receive mail on the internet. 2. How to use LINFO 2.0 How do I use LINFO? You send mail to 'linfo@lorax.mv.com' [192.80.84.247] with your request in the body of the mail message. After a while, you will get a response back containing what LINFO found in its database. 2.1 What do the requests look like in the body of the mail message? At its simplest level, you just type the word 'dir' followed by a word of what you want to find. For example, if you wanted to ask LINFO about itself, you would type: dir linfo If you wanted to get a directory, and then have those files returned to you, you would add a 'fetch' command as in: dir linfo fetch Notice that capitalization does not matter to LINFO. Searching for topic LINFO is the same as searching for topic linfo. Soon, you will get back some mail with what LINFO found. There are lots of other things you can tell LINFO to do. These are documented later. 2.2 Why don't I always receive an immediate reply? The LINFO server is not turned on all the time. Or, there could be other people using it. 2.3 Why don't I receive a reply at all? It could be that LINFO can't reply to you via internet mail for some reason. LINFO runs on Linux 1.1.47 with lots of hacking, so sometimes it just can't reply. As I see these failures come up, I try to remedy them, but I can't guarantee a reply. 2.3 Is there someone I can send mail to if I have a problem with LINFO? You can try sending me mail at: root@lorax.mv.com lorax.mv.com is internet address [192.80.84.247]. 2.4 Sometimes I receive multiple news posts in one file I retrieved. Why is this so? It is because LINFO combines news articles with the same subject together as they are received from the internet. 3.0 Advanced Commands 3.1 What is the full set of commands that LINFO can execute? Here are the commands: mailto your-account@node.com ---------------------------- The 'mailto' command allows you to specify a different reply for LINFO to use for requests. You can use 'replyto' in place of 'mailto' also. help ---- The 'help' command causes LINFO to send you this text back. library name-list ----------------- The 'library' command restricts LINFO's search to a particular library. Valid libraries at this time are: comp.os.linux.help comp.os.linux.misc comp.os.linux.announce comp.os.linux.admin comp.os.linux.development The command 'library comp.os.linux.misc comp.os.linux.help' will search just the misc and help libraries. Here are some other libraries that might possibly be up: alt.binaries.sounds.midi comp.sys.ibm.pc.hardware.cd-rom comp.sys.ibm.pc.hardware.chips comp.sys.ibm.pc.hardware.comm comp.sys.ibm.pc.hardware.misc comp.sys.ibm.pc.hardware.networking comp.sys.ibm.pc.hardware.storage comp.sys.ibm.pc.hardware.systems comp.sys.ibm.pc.hardware.video comp.windows.x.i386unix gnu.announce If you want me to add any others, they must be related in some way to useful information about linux. You can also abbreviate the name of the library. The following table gives you the abbreviations: Library Abbreviation -------------------------------------------- comp.os.linux.help help comp.os.linux.misc misc comp.os.linux.announce announce comp.os.linux.admin admin comp.os.linux.development development Thus, the command 'library misc help' is equivalent to the example above. dir find-expression -------------------- The 'dir' command causes LINFO to search for news articles matching 'find-expression' and return a directory of them. 'find-expression' can be one of: some-string-with-no-spaces-in-it LINFO will search for a news article with 'some-string...' in the title. && This is the boolean AND operator. || This is the boolean OR operator. ! This is the boolean NOT operator. Additionally, 'find-verb' must be in RPN notation if you use more that one 'some-string...' with the boolean operators. For example, if you wanted to find out about mouse problems with the ATI graphics card in X11, you would use this find command: dir mouse mice || ATI && X11 && This command says: "Only find articles that have the string ATI in the title, and the string X11 in the title and either the string mouse or mice." Also, the find string is executed left to right. Forth-ers will recognize the syntax, as a forth engine is used for the actual search. 'mouse' just pushes a true/false onto the stack if it is found in the title. 'mice' does the same. The '||' then or's the top two items on the stack, leaving the result. 'ati' pushes its search results. The '&&' then ands this result with the result from the '||'. Next, 'X11' pushes its result, and finally, '&&' ands this with the previous information. What is left on the stack is either TRUE or FALSE, and is returned as the results of the search. The boolean operators must be bracketed by spaces. That is, a 'dir egress!' is not the same as 'dir egress !'. The first case will try to find the string 'egress!' in a title, whereas the second will try not to find 'egress' in the title. You can construct some truly pathological find-expressions. But, KISS, please !!! The return data is of the form: library/volume/file - Title You might receive something like: File Name Other Information ----------------------------------------------------- comp.os.linux.help/1/22 - Date - Master Help Message comp.os.linux.help/5/322 - Date - Mice help needed !!! ... Note if you do something like: dir ABC DEF GHI The forth engine will automatically '&&' any token values together on its data stack before it returns to you. Therefore, the above example becomes: dir ABC DEF GHI && && end --- This tells the mail processor to end your session and return any information to you. You should use it if you attach .signatures or other data to the end of your mail messages so you won't get the help file returned to you once the mail processor encounters the .signature. fetch ----- This command fetches each file that would found during a successful 'dir' operation above. get library/volume/file ----------------------- This allows you to get an individual file. To get file 'comp.os.linux.help/1/22', you would enter: get comp.os.linux.help/1/22 limit DDD --------- This limits the number of bytes you can have returned to DDD bytes. By default, this is set to 45000 if you don't specify a 'limit'. If you set a higher limit, and LINFO finds more than 45000 bytes of data, it will send you multiple mail messages. The limit is checked after each file is appended to your message. Therefore, you could receive more than the limit you specify. Additionally, Linfo will return only 40000 bytes or so per mail message. There is no way to currently change this parameter. after dd-mm-yy -------------- Only return information that was published after dd-mm-yy. The date can only be in this format, ie: dd is between 1 and 31, the month can be ONLY 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec', and the year can be 94 and later. comment any-comment-text ------------------------ Anything proceeded by 'comment' is treated as a comment. It is a way to send the human operator a message about LINFO, as I scan for these from time to time. 3.2 Advanced Commands Example ----------------------------- Here is an example using the advanced commands to ask for up to 100,000 bytes of data from the 'admin' library that have both 'afio' and ('scsi' or 'qic') in their subject. [afio is a backup recovery utility, and you are probably interested in using it on a scsi bus with a QIC tape drive] Nothing will be returned before the first of July, 1994. The results of the search will be returned to 'me@mynode.com' with the most recently found articles first. after 01-Jul-94 limit 100000 library comp.os.linux.admin replyto me@mynode.com dir scsi qic || afio && fetch end 4.0 About LINFO and its Goals ----------------------------- LINFO is provided as a public service to the Linux Internet Community by compuPage, Inc., a New Hampshire, USA Corporation. The corporation does include a small advertisement for its services in all LINFO replies. If you object to this, don't send mail to LINFO! Or, you can just write yourself a mail filter to delete the add so you don't have to see it. The goal of LINFO is to make Linux easier for the inexperienced user to use. The mail interface was chosen over ftp or gopher or WWW, as it is more universal, does not require an active TCP connection to operate, and can be batched and staged at various points along the process. The node, 'lorax.mv.com', is a PC-AT 386-25 clone with an Adaptec 1542 SCSI controller with various disks. It is connected to the internet via a 14.4 dial up slip line to MV Communications of NH. It is currently running Linux 1.1.47, with modifications. The database itself is just a flat file consisting of a series of compressed news feed articles. The search algorithm is linear using a forth engine to perform matches. Appendix I - Definitions ------------------------ RPN - Reverse Polish Notation A method of specifying mathematical operations named after a famous Polish Mathematician. KISS - Keep it Simple Stupid Used to remind others to keep things simple and easy to use. LINFO - The Linux Information Server at linfo@lorax.mv.com. QIC - Quarter Inch Cartridge A name of a type of computer tape drive. Appendix II - Known Bugs and Things To Do ------------------------------------------ 1. Which news groups to add? I would like to find a way for linfo to read and discard certain news that has no relation to linux. In this way, I could increase the number of news groups scanned, and still keep the disk usage down to a minimum. For example, any user could request that a certain news group be followed, and articles be kept based on criteria. One criteria might be keywords. The syntax might resemble: Follow somegroup.news.misc.bla.bla with keywords linux gnu X11. Any ideas? Appendix III - Notes -------------------- 1) Because the mailer linfo uses tries to process and expand any '\n~XXX' commands, linfo will either remove or modify these sequences in the data stream. At times, it may just eliminate the '~', but the newer software will add a space between the '\n' and the '~'. 2) I see most people don't read the manual, or don't remember it long enough to send in a valid request. Here are the most common errors: 2.1 You want to find out about 'modem' AND 'setup' so you send this request: 'dir modem && setup' WRONG! Its RPN. Go re-read the manual. You should have sent: 'dir modem setup &&' Note if you also sent: 'dir modem setup' you would be OK too, as linfo appends the '&&' automatically for you. 2.2 You want to find out about 'modem' and 'setup' so you ask for a directory, but not to have the data files returned. For example, if you said: limit 100000 'dir modem setup &&' You should have said: limit 100000 'dir modem setup &&' fetch -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu Be sure to include Keywords: and a short description of your software.