Claims
- 1. A method for interacting with an external program from within another program executed by a computer, comprising the steps of:
receiving a first command from a user into a first program, and initiating execution of a second program external to the first program in the computer in response to the first command, wherein the first program communicates with the second program in a bi-directional manner; receiving a second command from a user into the first program, and passing data from the editor to the second program in response to the second command, wherein the second program interprets the passed data, performs one or more functions in response to the interpretation of the passed data, and returns output to the first program as a result of the performed functions.
- 2. The method of claim 1 above, wherein the first command identifies a name of the second program.
- 3. The method of claim 1 above, further comprising the steps of transmitting one or more currently selected lines from the first program to the second program, and adding the output received within the first program from the second program immediately following the currently selected lines in an file.
- 4. The method of claim 3 above, further comprising the step of transmitting only input lines of the currently selected lines.
- 5. The method of claim 1 above, further comprising the steps of transmitting one or more currently selected lines from the first program to the second program, echoing the currently selected lines to the bottom of a file displayed by the first program, and adding the output received within the first program from the second program immediately following the echoed lines.
- 6. The method of claim 5 above, wherein the adding step further comprises the step of interleaving the output received within the first program from the second program at the bottom with the echoed lines from the first program at the bottom of the file.
- 7. The method of claim 6 above, further comprising the step of transmitting only input lines of the currently selected lines.
- 8. A computerized apparatus for interacting with an external program from within another program executed by a computer, comprising:
a computer having a memory; means, performed by the computer, for receiving a first command from a user into a first program, and initiating execution of a second program in the computer external to the first program in response to the first command, wherein the first program communicates with the second program in a bi-directional manner; means, performed by the computer, for receiving a second command from a user into the first program, and passing data from the first program to the second program in response to the second command, wherein the second program interprets the passed data, performs one or more functions in response to the interpretation of the passed data, and returns output to the first program as a result of the performed functions.
- 9. The computerized apparatus of claim 1 above, wherein the first command identifies a name of the second program.
- 10. The computerized apparatus of claim 1 above, further comprising the means for transmitting one or more currently selected lines from the first program to the second program, and adding the output received within the first program from the second program immediately following the currently selected lines in an file.
- 11. The computerized apparatus of claim 10 above, further comprising the means for transmitting only input lines of the currently selected lines.
- 12. The computerized apparatus of claim 1 above, further comprising the means for transmitting one or more currently selected lines from the first program to the second program, echoing the currently selected lines to the bottom of an file displayed by the first program, and adding the output received within the first program from the second program immediately following the echoed lines.
- 13. The computerized apparatus of claim 12 above, wherein the means for adding further comprises the means for interleaving the output received within the first program from the second program at the bottom with the echoed lines from the first program at the bottom of the file.
- 14. The computerized apparatus of claim 13 above, further comprising the means for transmitting only input lines of the currently selected lines.
- 15. An article of manufacture comprising a program storage medium readable by a computer having a memory, the medium tangibly embodying one or more programs of instructions executable by the computer to perform method steps for interacting with an external program from within another program executed by a computer, comprising the steps of:
receiving a first command from a user into a first program, and initiating execution of a second program in the computer external to the first program in response to the first command, wherein the first program communicates with the second program in a bi-directional manner; receiving a second command from a user into the first program, and passing data from the first program to the second program in response to the second command, wherein the second program interprets the passed data, performs one or more functions in response to the interpretation of the passed data, and returns output to the first program as a result of the performed functions.
- 16. The article of manufacture of claim 15 above, wherein the first command identifies a name of the second program.
- 17. The article of manufacture of claim 15 above, further comprising the steps of transmitting one or more currently selected lines from the first program to the second program, and adding the output received within the first program from the second program immediately following the currently selected lines in an file.
- 18. The article of manufacture of claim 17 above, further comprising the step of transmitting only input lines of the currently selected lines.
- 19. The article of manufacture of claim 15 above, further comprising the steps of transmitting one or more currently selected lines from the first program to the second program, echoing the currently selected lines to the bottom of an file displayed by the first program, and adding the output received within the first program from the second program immediately following the echoed lines.
- 20. The article of manufacture of claim 19 above, wherein the adding step further comprises the step of interleaving the output received within the first program from the second program at the bottom with the echoed lines from the first program at the bottom of the file.
- 21. The article of manufacture of claim 20 above, further comprising the step of transmitting only input lines of the currently selected lines.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is related to co-pending and commonly assigned patent application Ser. No. ______, filed on same date herewith, by Michael Golding, and entitled “A METHOD FOR ENABLING INTERACTION WITH EXTERNAL COMPUTER PROGRAMS FROM AN EDITOR ENVIRONMENT,” which application is incorporated by reference herein.