(self, args)
TERM: terminal emulator.
TERM: terminal emulator.
TERM : terminal emulator .
def term_(self, args):
        """TERM: terminal emulator."""
        list(args)
        self._clear_all()
        self.interpreter.tron = False
        if not self._term_program:
            # on Tandy, raises Internal Error
            # and deletes the program currently in memory
            raise error.BASICError(error.INTERNAL_ERROR)
        # terminal program for TERM command
        prog = self.files.get_device(b'@:').bind(self._term_program)
        with self.files.open(0, prog, filetype=b'ABP', mode=b'I') as progfile:
            self.program.load(progfile)
        self.interpreter.error_handle_mode = False
        self.interpreter.clear_stacks_and_pointers()
        self.interpreter.set_pointer(True, 0)
def term_ ( self , args ) : list ( args ) self . _clear_all ( ) self . interpreter . tron = False if not self . _term_program : # on Tandy, raises Internal Error # and deletes the program currently in memory raise error . BASICError ( error . INTERNAL_ERROR ) # terminal program for TERM command prog = self . files . get_device ( b'@:' ) . bind ( self . _term_program ) with self . files . open ( 0 , prog , filetype = b'ABP' , mode = b'I' ) as progfile : self . program . load ( progfile ) self . interpreter . error_handle_mode = False self . interpreter . clear_stacks_and_pointers ( ) self . interpreter . set_pointer ( True , 0 )