Commands -- /LineMode
Commands
The following commands are available at the prompt within www . Some
are disabled when not applicable. All commands may be abbreviated.
Case is not significant.
- Help
- Gives a list of available commands depending on the context,
the version number of the www program, and the hypertext address ,
(or UDI) of the document you are reading.
- <.Return>.
- Just hitting Return displays the next page of the current
document.
- <.number>.
- Typing a number by itself follows the corresponding
reference from the currently displayed document.
- Find keywords
- Queries the current index with the supplied keywords
(separated by blanks). The interpretation of the keywords depends
on the particular information server you're looking at. In most cases,
it will search a database for entries matching the keywords, and will
display the results with possibly links to further details. For more
complex queries, instructions should be present in the cover page.
The "Find" command can be omitted if the first keyword does not conflict
with another www command.
- Back
- Goes back to the document you were reading before.
- Home
- Goes back to the first document you were reading.
- Recall
- Without a parameter, gives a numbered list of the documents
you have visited. To select one, type "Recall" followed by the number.
- List
- Gives a numbered list of the links from the current document,
giving the title of the target documents (or addresses if no title).
To follow a link, type the number by itself as above.
- Next, Previous
- Goes to the next or previous document in the list of
pointers from the document that led to the current one. This is better
explained with an example: suppose you are reading a document which
looks like a menu, and you want to read all entries in turn. You first
type "1" to read the first referred document (by following the first
link), and then you type "next" or just "n" to read the next one from
the menu, without actually coming back to the menu and typing "2",
etc.
- Go <.address>.
- Goes to the document represented by the given hypertext
address , which is interpreted relatively to the current document.
- Up, Down
- Scrolls up or down one page in the current document.
- Source
- Followed by another command, causes raw source to be generated
for that command. Useful for printing postscript files without formatting,
with SOURCE PRINT. See examples .
- Top, Bottom
- Goes to the top or the bottom of the current document.
- Verbose
- Toggles verbose mode (for maintenance purposes).
- Quit
- Leaves the application.
On Unix versions, the following extra commands are available:
- Print
- Prints the current document, without the numbered document references.
A background www is launched to do that, and its output is piped to
the command defined by the environment variable WWW_PRINT_COMMAND
("lpr" by default).
- >. file, >.>. file
- Saves or appends the current document to
the given file, without the numbered document references. A background
www is launched to do that.
- | command
- Pipes the current document to the given command, without
the numbered document references. A background www is launched to
do that.
- ! command
- Executes the given shell command without leaving www.
- CD (or LCD) directory
- Changes the local working directory. "! cd directory"
won't do this because it applies to a subshell.
Tim BL