22, 'b' => 42
	) );
	// create a db with field list ("fdt")
	$fdt = array(
		'periodico' => 1,
		'data'      => 2,
		'titulo'    => 3,
	);
?>
server
srv->sock )
		echo "could not contact server\n";
	else {
?>
	terms beginning with...
terms($query);
	echo "got ",count($terms), " terms for '$query'\n";
	foreach ($terms as $t) {
		list($cnt, $term) = explode("\t", $t);
		echo "'$term'($cnt) ";
	}
	echo "\n";
?>
	query reading records
query($query);
	echo "got ",count($recs), " records for '$query'\n";
	foreach ($recs as $r)
		echo "---\n", $r->toString(), "---\n
\n";
?>
	query reading 1
read(1);
	echo "---\n", $r->toString(), "---\n
\n";
?>