enter set; to display list of options (abbreviations shown in brackets)
set <option>;
to show current value of <option>
set ProgressBar (on|off);
to show progress of query execution
set Timing (on|off);
to show execution times of queries and some other commands
set PrintMode (ascii|sgml|html|latex);
to set output format for KWIC display and frequency distributions
set PrintOptions (hdr|nohdr|num|nonum|...);
to turn various formatting options on (hdr, num, ...)
or off (nohdr, nonum, ...)
type set PrintOptions; to display the current option settings
useful options: hdr (display header), num (show line numbers),
tbl (format as table in HTML and LATEX modes), bdr
(table with border lines)
set (LD|RD) <string>;
change left/right delimiter in KWIC display from the default
< and > markers
set ShowTagAttributes (on|off);
to display key-value pairs in XML start tags (if annotated in the corpus)
create .cqprc file in your home directory with your favourite settings
(contains arbitrary CQP commands that will be read and executed during startup)
for a persistent command history, add the lines
set HistoryFile "<home>/.cqphistory"; set WriteHistory yes;
to your .cqprc file.
NB: (i) history requires CQP to be run with -e option;
(ii) the size of the history file is not limited automatically by CQP.
set AutoShow off;
no automatic KWIC display of query results (display must be explicitly
invoked with cat)
set Optimize on;
enable experimental optimisations (sometimes included in beta versions)