 and backward
from the current history position.  The search may be <dfn>anchored</dfn>,
meaning that the string must match at the beginning of the history entry.

<p>
<table width="100%">
<tr>
<td align="left">int <b>history_search</b><i> </i>(<i>const char *string, int direction</i>)<i>
     </i></td>
<td align="right">Functie</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Search the history for <var>string</var>, starting at the current history offset. 
If <var>direction</var> is less th