148 | | 1. In normal use, the KSH[i] processes is not supposed to be killed. If a KSH[i] process is killed, it is automatically recreated by the INIT process, to guaranty that there is always one KSH[i] for each TXT[i] terminal. |
149 | | 1. Regarding the WRITE accesses, all processes attached to the same TXT_TX[i] terminal can atomically display character strings. There is no guaranty on the order, when these strings are displayed by different process., because these strings are simply sequentialized by the kernel thread associated to the shared TXT_TX[i] device. |
150 | | 1. Regarding the READ accesses, only one process in the group of process attached to the TXT[i] terminal (called ''foreground'' process) is the owner of the TXT_RX[i] terminal, and can read characters. The other processes (called ''background'' processes) should not try to read characters. If a background process P try to read, it receives a SIGSTOP signal, and will keep blocked until the user uses the ''fg'' shell command to give P the ownership of the TXT_RX[i] terminal. |
| 148 | 1. The INIT process and the the KSH[i] processes should never be deleted. |
| 149 | 1. Regarding the WRITE accesses, all processes attached to the same TXT_TX[i] terminal can atomically display character strings. There is no guaranty on the order, when these strings are displayed by different processes, because these strings are simply sequentialized by the kernel thread associated to the shared TXT_TX[i] device. |
| 150 | 1. Regarding the READ accesses, only one process in the group of process attached to the TXT[i] terminal (called ''foreground'' process) is the owner of the TXT_RX[i] terminal, and can read characters . The other processes (called ''background'' processes) should not try to read characters. If a background process P try to read, it receives a SIGSTOP signal, and will keep blocked until the user uses the ''fg'' shell command to give P the ownership of the TXT_RX[i] terminal. |
| 151 | 1. The control characters (^C, ^Z, etc.) typed in a TXT_RX[i] terminal are only routed to the foreground process attached to this terminal. |