'Raises a prompt dialog to use the shell.'

def use_shell(self, treeview, path, view_column):

    shellid = self.liststore[path][1]
    shell = self.listholder[shellid]
    title = ('Shell    -    ' + (shell.get_remote_system() or 'Unknown'))
    def parse_input_run_command(user_input):
        try:
            parsed_command = shlex.split(user_input)
        except ValueError as ve:
            om.out.console(('%s' % ve))
        else:
            command = parsed_command[0]
            params = parsed_command[1:]
            cmd_stdout = shell.generic_user_input(command, params)
            om.out.console(cmd_stdout)
        om.manager.process_all_messages()
    prompt_text = ('%s@%s' % (shell.get_remote_user(), shell.get_remote_system_name()))
    prompt.PromptDialog(title, prompt_text, parse_input_run_command)
