def pause(cluster, logdir, cmd, *args):
    global vcr
    if not vcr:
        print('VCR not running. Did you put in a tape?')
        return
    vcr.pause()
    if vcr.active:
        print('VCR unpaused')
    else:
        print('VCR paused (%d lines in buffer)' % len(vcr.data))
Temporary suspend/resume toggle for VCR-like recording
dataset/ETHPy150Open radssh/radssh/radssh/core_plugins/vcr.py/pause