Shell operation flow change
First Claim
1. At a client in a network computing environment, a computer-implemented method of asynchronously controlling or changing the flow of a shell operation in a remote shell session using a signal message to execute an action as desired, the method comprising:
- opening a remote shell session at a command-line shell processor by a client including a command-line interface, wherein the command-line interface allows a user to input commands, opening the remote shell session comprising;
sending by the client an open shell request message to the command-line shell processor; and
receiving a shell identifier from the command-line shell processor for identifying one or more execution request messages sent from the client as being part of the remote shell session;
during the open remote shell session with the command-line shell processor;
using by the client the command-line interface to send an execution request message of the one or more execution request messages that includes a command for execution at the command-line shell processor, wherein the command is sent as a unit that includes one or more of a command name and one or more switches, wherein the command is stored in a storage in the command-line shell processor; and
prior to receiving information about completion of the execution of the command, creating at the client and sending by the client using the command-line interface an asynchronous signal message rather than a special character in an input stream to the command-line shell processor, the asynchronous signal message terminating the execution of the command in-progress at the command-lineshell processor, wherein the open remote shell session between the client and the command-line shell processor continues operating after termination of the command.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments described herein are based on the principle that shells execute commands as units of characters. Accordingly, embodiments herein provide also provide for some special cases of asynchronous control signals that change the shell operation flow. For example, signal messages may be used to terminate, pause, resume, or otherwise modify the execution of a command. In other words, if a user wishes to change the execution state of a command, a client can create a signal message and send such message to the shell processor, which can take the appropriate action as desired. Note that by modeling the control or signal commands as discrete messages (as well as other embodiments modeled and described herein), such commands are not mistakenly executed on a command as is the case for current protocols that use a character-by-character transmission.
66 Citations
14 Claims
-
1. At a client in a network computing environment, a computer-implemented method of asynchronously controlling or changing the flow of a shell operation in a remote shell session using a signal message to execute an action as desired, the method comprising:
-
opening a remote shell session at a command-line shell processor by a client including a command-line interface, wherein the command-line interface allows a user to input commands, opening the remote shell session comprising; sending by the client an open shell request message to the command-line shell processor; and receiving a shell identifier from the command-line shell processor for identifying one or more execution request messages sent from the client as being part of the remote shell session; during the open remote shell session with the command-line shell processor; using by the client the command-line interface to send an execution request message of the one or more execution request messages that includes a command for execution at the command-line shell processor, wherein the command is sent as a unit that includes one or more of a command name and one or more switches, wherein the command is stored in a storage in the command-line shell processor; and prior to receiving information about completion of the execution of the command, creating at the client and sending by the client using the command-line interface an asynchronous signal message rather than a special character in an input stream to the command-line shell processor, the asynchronous signal message terminating the execution of the command in-progress at the command-line shell processor, wherein the open remote shell session between the client and the command-line shell processor continues operating after termination of the command. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. At a remote command-line shell processor in a network computing environment, a computer-implemented method of asynchronously controlling or changing the flow of a shell operation using a signal message to execute an action as desired, the method comprising:
-
opening a shell session at a command-line shell processor, opening the shell session comprising; receiving by the command-line shell processor an open shell request message from a client; and sending a shell identifier by the command-line shell processor to the client for identifying one or more execution request messages received from the client as being part of the shell session; during the open shell session; receiving by the command-line shell processor from a client an execution request message of the one or more execution request messages that includes a command for execution at the command-line shell processor, wherein the command is sent as a unit that includes one or more of a command name and one or more switches, wherein the command is stored in a storage in the command-line shell processor; and prior to completing the execution of the command and sending information about the execution of the command to the client, receiving by the command-line shell processor from the client an asynchronous signal message created by the client using a command line interface rather than a special character in an input stream, the asynchronous signal message terminating the execution of the command in-progress at the command-line shell processor, wherein the open shell session continues operating after termination of the command. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification