"""
__main__
"""

import sys


try:
    from cat_win import cat
except KeyboardInterrupt:
    sys.exit(1)
except Exception as e:
    print('an error occured while loading the module:', file=sys.stderr)
    print(e, file=sys.stderr)
    sys.exit(1)

def shell_entry_point():
    """
    run the shell.
    """
    cat.shell_main()

def entry_point():
    """
    run the main program.
    """
    cat.main()

if __name__ == '__main__':
    entry_point()
