<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pager(__text: str, *, pager: Optional[str] = 'less'):
 """Pass output through pager. See :manpage:`less(1)`, if you wish to configure the default pager. For example, you may wish to check ``FRSX`` options. Args: __text: Text to page pager: Pager to use """

    if pager:
        run([pager, ], input=__text.encode())
    else:
        print(__text)