Method for Controlling Virtual Terminal to an Activity
Original Publication Date: 1986-Oct-01
Included in the Prior Art Database: 2005-Mar-09
A method is described to prevent unnecessary and unpredictable allocation and reclamation of virtual terminals in a multiple interactive task environment. Standard UNIX*-type processes manipulate the file descriptors (opening and closing), which in many cases are attached to a terminal which was previously a physical terminal. With the addition of multiple virtual terminals, a virtual terminal is reclaimed when all file descriptors accessing the virtual terminal are closed. If the process opens a terminal, a new virtual terminal is allocated. This causes two problems: one, the user may see terminals "flash" on the screen as they are opened and closed, and the second is that the activity manager loses the association of a particular terminal to a task and hiding, activating, etc., are unable to take place.