diff --git a/build/emacs.tcl b/build/emacs.tcl index a426daa7..323a953e 100644 --- a/build/emacs.tcl +++ b/build/emacs.tcl @@ -101,3 +101,14 @@ expect ":KILL" # The previous file version was 62, dated 1982-01-05. respond "*" ":rename emacs; tsinfo >, tsinfo 63\r" respond "*" ":link sys2;ts info,emacs;tsinfo >\r" + +respond "*" ":emacs\r" +respond "EMACS Editor" "\033XLoad Library\033docond\r" +respond "\n" "\030\006" +respond "Find File" "info; infod >\r" +respond "\n" "\033Xdocond\r" +respond "Alternative:" "ITS\r" +respond "\n" "\030\023" +respond "Write File" "info; info 48\r" +respond "Written" "\030\003" +respond "*" ":kill\r" diff --git a/doc/info/info.47 b/doc/info/infod.10 old mode 100755 new mode 100644 similarity index 94% rename from doc/info/info.47 rename to doc/info/infod.10 index 1e53631d..93e80292 --- a/doc/info/info.47 +++ b/doc/info/infod.10 @@ -1,3 +1,11 @@ +-*-Text-*- +DOCOND declarations for operating-system dependencies. +{Alternatives:ITS,Twenex} +{Flag:?ITS} +{Flag:?Twenex} +{Replace:+Twenex=>DDT->the EXEC} +{Replace:+Twenex=>:INFO->XINFO} +{end} This file documents the INFO program. -*-Text-*- The H command of INFO goes to the node Help in this file. Do NOT edit this file! It is produced by DOCOND from the file INFOD. @@ -6,9 +14,9 @@ File: INFO Node: Top Up: (DIR) Next: Add INFO is a program for reading documentation, which you are using now. -INFO is invoked as a separate program with :INFO from DDT. INFO -can be run inside an EMACS editor with MM INFO, or, in the default -enviroment, C-X I. +INFO is invoked as a separate program with :INFO +from DDT. INFO can be run inside an EMACS editor with MM INFO, or, +in the default enviroment, C-X I.{*Refill:} To learn how to use INFO, type the command "H". It will bring you to a programmed instruction sequence. @@ -24,8 +32,8 @@ to a programmed instruction sequence. * Footnotes:: How to add footnotes to info nodes. * Tags:: How to make tag tables for INFO files. * Checking:: How to check the consistency of an INFO file. -* Installing:: How to install a modified INFO file. - +{+ITS:* Installing:: How to install a modified INFO file. +}  File: INFO Node: Help-Small-Screen Next: Help @@ -370,8 +378,9 @@ then move on with "N".  Node: Help-Pr-Q, Previous: Help-Pr-Footnotes - To get out of Info, back to either DDT (if you did :INFO from DDT) -or to EMACS (if you did MM Info from EMACS), type "Q" for "Quit". + To get out of Info, back to either DDT (if you did +:INFO from DDT) or to EMACS (if you did MM Info +from EMACS), type "Q" for "Quit".{*Refill:} This is the end of the course on using INFO. There are some other commands that are not essential or meant for experienced users; they @@ -663,8 +672,9 @@ In general, the "L" command is the only way to get back there.  File: INFO Node: Help-Q Previous: Help-Adv Up: Top - To get out of Info, back to either DDT (if you did :INFO from DDT) -or to EMACS (if you did MM Info from EMACS), type "Q" for "Quit". + To get out of Info, back to either DDT (if you did +:INFO from DDT) or to EMACS (if you did MM Info +from EMACS), type "Q" for "Quit".{*Refill:} This is the end of the course on using INFO. There are some other commands that are not essential or meant for experienced users; they @@ -680,8 +690,8 @@ File: INFO Node: Add Up: Top Next: Menus To add a new topic to the list in the directory, you must 1) create a node, in some file, to document that topic. 2) put that topic in the menu in the directory. *Note Menu: Menus. - 3) install it on all five machines. *Note Installing: Installing. - +{+ITS: 3) install it on all five machines. *Note Installing: Installing. +} The new node can live in an existing documentation file, or in a new one. It must have a ^_ before it (invisible to the user; this node has one but you can't see it), and it ends with either a ^_, a ^L, or @@ -710,20 +720,21 @@ insignificant. what appears after the "Node: " in that node's first line. For example, this node's name is "ADD". A node in another file is named by "(filename)node-within-file", as in "(INFO)ADD" for this node. The -default names for files are DSK:INFO;... >. Parts of the filename -which are the same as the default should be omitted for clarity; -usually, just the first name of the file suffices. The name -"(filename)Top" can be abbreviated to just "(filename)". By +default names for files are {+ITS:DSK:INFO;... >}{+Twenex:.INFO}. +Parts of the filename which are the same as the default should be +omitted for clarity; usually, just the first name of the file suffices. +The name "(filename)Top" can be abbreviated to just "(filename)". By convention, the name "Top" is used for the "highest" node in any single file - the node whose "Up" points out of the file. The Directory node is "(DIR)". The Top node of a document file listed in -the Directory should have an "Up: (DIR)" in it. +the Directory should have an "Up: (DIR)" in it.{*Refill:} The node name "*" is special - it refers to the entire file. Thus, G* will show you the whole current file. The use of the node * is to make it possible to make old-fashioned, unstructured files into nodes -of the tree. .INFO.;FOO ORDER can be made into a subnode by putting -"(.INFO.;FOO ORDER)*" into a menu! +of the tree. {+ITS:.INFO.;FOO ORDER}{+Twenex:FOO.INFO} can be +made into a subnode by putting "({+ITS:.INFO.;FOO +ORDER}{+Twenex:FOO})*" into a menu!{*Refill:} The "Node:" name, in which a node states its own name, must not contain a filename, since INFO when searching for a node does not @@ -770,11 +781,13 @@ subnodes in a sequence of Next's/Previous's so that someone who wants to see them all need not keep revisiting the Menu. The INFO Directory is simply the menu of the node "(DIR)TOP" - that -is, node Top in file INFO;DIR >. You can put new entries in that menu -just like any other menu. The INFO Directory is NOT the same as the +is, node Top in file {+ITS:INFO;DIR >}{+Twenex:DIR.INFO}. You can +put new entries in that menu just like any other menu. The INFO +Directory is NOT the same as the file directory called INFO. It happens that many of INFO's files live on that file directory, but they don't have to; and files on that -directory are not automatically listed in the INFO Directory node. +directory are not automatically listed in the INFO Directory +node.{*Refill:} Also, although the INFO node graph is claimed to be a "Hierarchy", in fact it can be ANY directed graph. Shared structures and @@ -815,7 +828,7 @@ an INFO file lives inside the file itself and will automatically be used whenever INFO reads in the file. For information on how to construct and update the tag table, see *Note Tags: (TAGS)INFO.  -File: INFO, Node: Checking, Previous: Tags, Up: Top, Next: Installing +File: INFO, Node: Checking, Previous: Tags, Up: Top{+ITS:, Next: Installing} Checking an INFO File: @@ -833,23 +846,23 @@ to other files would be terribly slow. But those are usually few. To check an INFO file, do M-X RunINFOCheck INFO File with the INFO file visited in EMACS, or do X Check INFO File while looking at a node in the file with INFO. - + {+ITS: File: INFO, Node: Installing, Up: Top, Previous: Checking How to Install a New INFO Directory on All Machines: - There are five ITS machines (AI, MC, MX, ML, and MD) and each one has -its own copy of the directory file INFO;DIR >. These files should all be -identical and have the same version number. Whenever the directory is -changed on one machine it should be changed on all machines at the same -time. This is done by editing the directory on one machine and then -copying the file to the other machines. + There are five ITS machines (AI, MC, MX, ML and MD) and each one has +its own copy of the directory file INFO;DIR >. These files should all +be identical and have the same version number. Whenever the directory +is changed on one machine it should be changed on all machines at the +same time. This is done by editing the directory on one machine and +then copying the file to the other machines. - The reason for this is that it is much easier to edit the directory once -and copy it than to edit five different directories. In order for us to -continue to be able to edit only once, we must make sure that the five -directories remain the same, which means EVERYONE must install his changes -on all machines. + The reason for this is that it is much easier to edit the directory +once and copy it than to edit five different directories. In order +for us to continue to be able to edit only once, we must make sure +that the five directories remain the same, which means EVERYONE must +install his changes on all machines. The easiest way to copy the file to all the other machines is to do @@ -871,7 +884,7 @@ machines if you like, but advertise that fact widely; otherwise someone else may edit the file on one machine and copy it around. If you work on an INFO file about general parts of the system, then it should certainly be maintained identical on all machines. - + } File: INFO Node: Printing Up: Top Using INFO on a printing terminal. @@ -924,7 +937,8 @@ while you are typing the argument in. To go to a node in another file, you can include the filename in the node name by putting it at the front, in parentheses. Thus, "G(DIR)Top" would go to the INFO Directory node, which is node Top -in the file DIR (which is short for DSK:INFO;DIR >). +in the file DIR (which is short for {+ITS:DSK:INFO;DIR +>}{+Twenex:DIR.INFO}).{*Refill:} The node name "*" specifies the whole file. So you can look at all of the current file by typing "G*" or all of any other file @@ -960,12 +974,12 @@ name than counting. The INFO command "" enters a recursive editing level for you to edit the text of the current node. To get back to INFO, you must give a -command to exit. This command is C-M-C unless your init file -redefines it. If you have changed the text of the node, then when you -visit a node in a different file INFO will offer to save this file. -This is because INFO just uses C-X C-V to access files. You can also -save the file explicitly by using the C-X C-S command or equivalent -while you are still inside the recursive edit. +command to exit. This command is {+ITS:C-M-C}{+Twenex:C-M-Z} unless +your init file redefines it. If you have changed the text of the +node, then when you visit a node in a different file INFO will offer +to save this file. This is because INFO just uses C-X C-V to access +files. You can also save the file explicitly by using the C-X C-S +command or equivalent while you are still inside the recursive edit.{*Refill:}  File: INFO Node: ARG Up: Top