Patent ID: 6131183
Filing Date: 2000-10-10
Classification: G06F

Abstract:
A method for enabling command line (TTY) and graphic user interface (GUI) control of a main program in a computer which schedules multiple threads of operations and in which a TTY operation at the top of a first thread supersedes GUI operations at the top of a second thread, said main program inserting a TTY control operation at the top of said first thread, comprising the steps of:(a) inserting a dummy GUI operation on top of said TTY control operation in said first thread that suspends said TTY control operation and causes said main program to be controlled by said GUI operation on top of said second thread;(b) displaying a dummy window as an artifact of said dummy GUI operation; and(c) in response to a TTY control command, removing said dummy GUI operation from said first thread and deleting said dummy window to cause said main program to be controlled by said TTY control operation and thereby avoid the need for a user to manually dismiss the dummy window, feeding said TTY control command to said main program, scheduling said first thread, and inserting said dummy GUI operation on top of said TTY control operation in said first thread to cause said main program to be subsequently controlled by said GUI control operation in said second thread.