1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<!--Time-stamp: <2006-03-01 12:09:32 poser> -->
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Author" CONTENT="Bill Poser">
<TITLE>Redet Reference Manual: Information</TITLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFE2C0" VLINK="#0000EE" LINK="#AA0066" ALINK="#FF0000">
<H2><a name="info">Information</a></H2>
<p>
Most of the information provided comes in the form of messages displayed
in the message region or via the various help functions. A few pieces
of information, however, are provided in other ways.</p>
<P>
The Redet version is shown in the title bar after its name.
The version is followed in turn by the current locale.
</p>
<br>
<div align="center">
<img src="Images/TitleBar.jpg" width="60%" alt="Titlebar" border="2">
</div>
<br clear="all">
<P>
Most machines will not have all of the programs supported by Redet installed.
When Redet starts up, it checks the availability of all supported programs
and disables the Program menu entries of those that it cannot find.
Programs whose features have been tested in the current locale are shown in different
colors from those that have not.
<br>
<div align="center">
<img src="Images/ProgramMenuMarked.jpg" width="50%" height="50%" alt="The Program Menu With Unavailable Entries Disabled and Different Colors for Programs that have been Tested" border="2">
</div>
<br clear="all">
In this example, the three variants of <i>Php</i> are disabled because <i>Php</i> is not
installed on this system. <i>Nawk</i> actually is installed on this system, but in
a location that is not on the current search path, so Redet cannot find it.
<i>agrep</i>, <i>lua</i>,<i>mysql</i>, and <i>tcl</i> are marked as having been tested.
</p>
<p>
<a name="embedding">The</a> name of the currently selected program constitutes the second
component of the label of the Execute button.
The Execute button also indicates whether the selected program
is one in which any line <em>containing</em> a match to the regular expression
is considered a match or whether the regular expression must match
exactly.
</p>
<P>
For example, if you give a string of ordinary characters, such as <i>mare</i>,
as a regular expression to <i>grep</i>, it will match any line
containing <i>mare</i>, e.g. <i>mares</i> and <i>amaretto</i>.
<br>
<div align="center">
<img src="Images/Mare-Grep.jpg" width="85%" alt="Result of a Search for 'mare' using Grep" border="2">
</div>
<br clear="all">
<p>
On the other hand, if you supply the same string to <i>Java</i>,
it will match only <i>mare</i>, not any of the lines with additional
characters before and after.
</p>
<br>
<div align="center">
<img src="Images/Mare-Java.jpg" width="85%" alt="Results of a Search for 'mare' Using Java" border="2">
</div>
<br clear="all">
<p>
If any line containing a match is treated as a match, the name of the
program is surrounded by stars, reflecting the fact that such a program
may be though of as implicitly adding "match anything" expressions
at both ends of the regular expression entered by the user.
If the program is one that requires an exact match, the program
name is preceded by a circumflex <i>ˆ</i> and followed by
a dollar sign <i>$</i>, reflecting the fact that such a program
may be thought of as implicitly adding "beginning of string" and
"end of string" delimiters to the regular expression entered by
the user.
</p>
<P>
The situation need not be symmetric: it is possible for a program to add an
implicit "match anything" on one side of the regular expression and not on the
other. In fact, at least one program exhibits this behavior. Redet therefore
tests for the two sides separately and marks them separately.
</p>
<P>
Additional information about the current program that does not take the form
of a palette feature can be obtained by selecting the <i>This Program</i>
entry from the <i>Help</i> menu.
</p>
<P>
The command <i>Save Command Information</i> on the <i>File</i> menu
writes to a file the current regular expression and substitution expression,
the command line that would be executed, and the daughter program that would be
executed. This is useful for debugging and for users who want
to use a language or program directly themselves and would like
to see how Redet does it.
</p>
<br>
<center><a href="comdesc.html">Next</a></center>
<br>
<center><a href="Manual.html">Back to Table of Contents</a></center>
</body>
</html>
|