def get_pager():
    pager = os.getenv('PAGER')
    if pager is None:
        pager = find_executable('less')
    if pager is None:
        pager = find_executable('more')
    return pager
Returns the name of the system pager program.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/get_pager