List of commands
The command line, located in the status bar, opens by pressing the SPACE key. As you type a command, a list of suggestions appears automatically: the TAB key (or SHIFT-TAB) cycles through the suggestions and completes the command, while ESC closes the list (a second ESC closes the command line). The UP and DOWN keys remain reserved for the command history.
Global operations
Command |
Action |
|---|---|
new, ne, n |
Create a new database. |
open, op, o |
Open an existing database. |
import_db, idb |
Import and merge another database. |
export_db, edb |
Export the current selection to a new database. |
quit, q |
Close blunderDB. |
help, he, h |
Open blunderDB help. |
tutorial, tour |
Opens the catalogue of guided interface tours. |
demo |
Loads a sample database (matches, tournament, collections, comments, Anki deck, analyses) to explore the tool. |
meta |
Display database metadata. |
epc |
Opens the Eval panel (Effective Pip Count, winning probability and cube verdict in bearoff). |
met |
Open the Kazaross-XG2 match equity table. |
cm |
Opens the cube matrix: the current position’s verdict at every score of a 5-, 7- or 9-point match. |
tags |
Opens the tag vocabulary: the tags used in this database, with the number of positions, clickable to run the search. |
tp2 |
Open the takepoint table with a 2-cube. |
tp2_live |
Open the takepoint table with a 2-cube for long race positions. |
tp2_last |
Open the takepoint table with a 2-cube for last roll positions. |
tp4 |
Open the takepoint table with a 4-cube. |
tp4_live |
Open the takepoint table with a 4-cube for long race positions. |
tp4_last |
Open the takepoint table with a 4-cube for last roll positions. |
gv1 |
Open the gammon value table with a 1-cube. |
gv2 |
Open the gammon value table with a 2-cube. |
gv4 |
Open the gammon value table with a 4-cube. |
Editing and search
Command |
Action |
|---|---|
write, wr, w |
Save the current position. |
write!, wr!, w! |
Update the current position. |
s |
Search for positions with filters. |
ss |
Search among the currently filtered positions. |
Search Filters
This table is the reference for the search grammar: the command line, the filter library and the --query flag of blunderdb search all read the same tokens. The CLI Equivalent column gives, when one exists, the search flag that does the same thing (see Command Line Interface (CLI)); a dash marks a filter that only the grammar expresses.
Five tokens do not carry their value: they read it from the search board. cube and score take up the cube and the score set there, d the decision type, D and D1 the dice, x the structure drawn in the Except tab. A roll is therefore never written into the token: D65 does not exist, only the exclusion form carries its digits (xD65). On the command line, where there is no board, these tokens compare against an empty board; it is the flags of the third column that must be used there instead.
Errors and equities are counted in thousandths of equity — the millipoints of the table below: E>100 keeps the moves that cost at least a tenth of a point, one point being worth 1000 millipoints.
Two full searches:
s p>30 w40,60 xco— more than 30 pips behind, between 40% and 60% winning chances, no comment.s ph:race E>50 co:xg— in a race, a move that cost at least 50 millipoints, and a comment coming from eXtreme Gammon.
Query |
Action |
CLI Equivalent |
|---|---|---|
cube, cub, cu, c |
The position checks the cube configuration. |
|
score, sco, sc, s |
The position checks the score. |
|
d |
The position checks the dice or the cube decision. |
|
D |
The position matches the dice roll (both dice, any order). |
|
D1 |
The position matches the dice roll on the first die only (the first die’s value appears on either die of the position). |
|
xD65 |
The position was not played with the 6-5 roll (any order). The value is given in the token; repeatable to exclude several rolls ( |
— |
nc |
The position has no contact. |
— |
ph:race |
The position is in a given phase of the game: |
|
#prime |
The position carries this tag in one of its comments. A tag is a |
— |
M |
The position or the mirror one meets the filters. |
— |
i |
The position was imported on its own, not brought in by a match import. |
|
fl |
The position was flagged in the source software, when importing an eXtreme Gammon match. |
|
x |
The position contains none of the checkers of the exclusion structure (the “Except” tab of the search panel). |
— |
p>x |
The player has at least x pips behind in the race. |
|
p<x |
The player has at most x pips behind in the race. |
|
px,y |
The player has between x and y pips behind in the race. |
|
P>x |
The player has a race of at least x pips. |
— |
P<x |
The player has a race of at most x pips. |
— |
Px,y |
The player has a race between x and y pips. |
— |
e>x |
The equity (in millipoints) of the position is greater than x. |
— |
e<x |
The equity (in millipoints) of the position is less than x. |
— |
ex,y |
The equity (in millipoints) of the position is between x and y. |
— |
E>x |
The error of the move played by player 1 (in millipoints) is greater than x. |
|
E<x |
The error of the move played by player 1 (in millipoints) is less than x. |
|
Ex,y |
The error of the move played by player 1 (in millipoints) is between x and y. |
|
w>x |
The player has winning chances greater than x%. |
|
w<x |
The player has winning chances less than x%. |
|
wx,y |
The player has winning chances between x% and y%. |
|
g>x |
The player has gammon chances greater than x%. |
— |
g<x |
The player has gammon chances less than x%. |
— |
gx,y |
The player has gammon chances between x% and y%. |
— |
b>x |
The player has backgammon chances greater than x%. |
— |
b<x |
The player has backgammon chances less than x%. |
— |
bx,y |
The player has backgammon chances between x% and y%. |
— |
W>x |
The opponent has winning chances greater than x%. |
— |
W<x |
The opponent has winning chances less than x%. |
— |
Wx,y |
The opponent has winning chances between x% and y%. |
— |
G>x |
The opponent has gammon chances greater than x%. |
— |
G<x |
The opponent has gammon chances less than x%. |
— |
Gx,y |
The opponent has gammon chances between x% and y%. |
— |
B>x |
The opponent has backgammon chances greater than x%. |
— |
B<x |
The opponent has backgammon chances less than x%. |
— |
Bx,y |
The opponent has backgammon chances between x% and y%. |
— |
o>x |
The player has at least x checkers off. |
|
o<x |
The player has at most x checkers off. |
— |
ox,y |
The player has between x and y checkers off. |
— |
O>x |
The opponent has at least x checkers off. |
|
O<x |
The opponent has at most x checkers off. |
— |
Ox,y |
The opponent has between x and y checkers off. |
— |
k>x |
The player has at least x backcheckers. |
— |
k<x |
The player has at most x backcheckers. |
— |
kx,y |
The player has between x and y backcheckers. |
— |
K>x |
The opponent has at least x backcheckers. |
— |
K<x |
The opponent has at most x backcheckers. |
— |
Kx,y |
The opponent has between x and y backcheckers. |
— |
z>x |
The player has at least x checkers in the zone. |
— |
z<x |
The player has at most x checkers in the zone. |
— |
zx,y |
The player has between x and y checkers in the zone. |
— |
Z>x |
The opponent has at least x checkers in the zone. |
— |
Z<x |
The opponent has at most x checkers in the zone. |
— |
Zx,y |
The opponent has between x and y checkers in the zone. |
— |
bo>x |
The player has at least x blots in the outfield. |
— |
bo<x |
The player has at most x blots in the outfield. |
— |
box,y |
The player has between x and y blots in the outfield. |
— |
BO>x |
The opponent has at least x blots in the outfield. |
— |
BO<x |
The opponent has at most x blots in the outfield. |
— |
BOx,y |
The opponent has between x and y blots in the outfield. |
— |
bj>x |
The player has at least x blots in the jan. |
— |
bj<x |
The player has at most x blots in the jan. |
— |
bjx,y |
The player has between x and y blots in the jan. |
— |
BJ>x |
The opponent has at least x blots in the jan. |
— |
BJ<x |
The opponent has at most x blots in the jan. |
— |
BJx,y |
The opponent has between x and y blots in the jan. |
— |
|
The position comments contain at least one of the words. |
— |
co |
The position carries a comment, whatever its content. |
|
xco |
The position carries no comment. |
|
co:user |
The position carries a comment of a given origin: |
|
|
The best checker moves containing at least one of the patterns. |
— |
|
The best cube decisions for No Double/Take, Double Take, Double Pass. |
— |
T>x |
Date of position addition after x (YYYY/MM/DD). |
— |
T<x |
Date of position addition before x (YYYY/MM/DD). |
— |
Tx,y |
Date of position addition between x and y (YYYY/MM/DD). |
— |
max |
Search in match with ID x (e.g. ma3). |
|
max,y |
Search in matches with IDs from x to y (e.g. ma2,5). |
|
tnx |
Search in tournament with ID x (e.g. tn1). |
|
tnx,y |
Search in tournaments with IDs from x to y (e.g. tn1,3). |
|
idx |
Search for the position with identifier x (e.g. id12). |
|
idx,y |
Search for the positions with identifiers x to y (e.g. id5,10). |
|
|
Search positions from a match involving the named player, at either seat (e.g. |
— |
Various commands
Command |
Action |
|---|---|
clear, cl |
Clear the command history. |