function block() {
    var size = prompt('block');
    if (size && size.trim()) {
        r2.cmd('b ' + size);
        update();