add gui2term.py designed by lilydjwg