Patent Document ID: 7627833
Application ID: 10702993

Base Claim:
1. A method for integrating a command shell into a graphical user interface (GUI), the command shell for executing commands in a working directory and providing text-based output responses generated in response to executing the commands, said method comprising: providing a command pane and an output pane in the GUI on a display, the command pane including a command line for a user to enter a shell command to be run in a command shell environment and the output pane including an area in which an output response to the shell command is displayed; enabling a user to enter a shell command at the command line for execution; displaying, in the output pane, a text-based path indication of a current working directory and a text-based indication of the shell command entered at the command line; listening, by a standard output listener and a standard error listener for a text-based output response generated by the execution of the shell command, the standard error listener for listening for the text-based output response on a standard error output stream of the command shell environment and the standard output listener for listening for the text-based output response on a standard output stream of the command shell environment; responsive to detecting by at least one of the standard output listener and the standard error listener that at least one of the standard error output stream and the standard output stream comprises the text-based output response, retrieving the text of the shell command and determining a type of command from among a plurality of types of commands within the text of the shell command; retrieving by at least one of the standard output listener and the standard error listener the text-based output response from at least one of the standard error output stream and the standard output stream, in response to the execution of the shell command, the text-based output response including at least one line of text; interpreting the at least one line of text based on a particular pattern specified for the type of command and in response to the text-based output response matching a file type within the particular pattern, classifying the at least one line of text with at least one file type attribute and extracting at least one portion of the at least one line of text mapped to at least one file as at least one file attribute; responsive to the at least one line of text being classified with the file type attribute, creating at least one output object for the at least one line of text populated with at least one model object for the GUI that maps to the at least one file attribute in the current working directory; responsive to the at least one line of text not being classified with the file type attribute, creating the at least one output object for the at least one line of text populated with at least one generic object; displaying at least one icon and the at least one line of text associated with the at least one output object in the output pane; and responsive to a user selecting the at least one icon by pointing a pointer on the at least one icon in the output pane, displaying a menu comprising at least one selectable option, each at least one selectable option associated with at least one action for performing on the at least one output object associated with the selected at least one icon.

---

Claim 2:
2. The method claimed in claim 1 , further comprising: determining whether the shell command is a change directory command; responsive to determining the shell command is a change directory command, writing a command to echo the current working directory path to produce the text-based output response comprising a prompt with the current working directory path; responsive to the at least one line of text not being classified with the file type attribute, detecting whether the at least one line of text is the prompt; and responsive to detecting the at least one line of text is the prompt, updating the current working directory.