|
|
HP-UX Reference > Sshl(1)HP-UX 11i Version 2: December 2007 Update |
|
NAMEshl — shell layer manager DESCRIPTIONshl provides a means for interacting with more than one shell from a single terminal by using shell layers. A layer is a shell that is bound to a virtual device. The virtual device can be manipulated like an actual terminal by using stty and ioctl() (see stty(1) and ioctl(2)). Each layer has its own process group ID. The user controls these layers by using the commands described below. The current layer is the layer that can receive input from the keyboard. Other layers attempting to read from the keyboard are blocked. Output from multiple layers is multiplexed onto the terminal. To block the output of a layer when it is not current, the stty option loblk can be set within the layer. The stty character swtch (set to ^Z if NUL) is used to switch control to shl from a layer. shl has its own prompt, >>>, to distinguish it from a layer. DefinitionsA name is a sequence of characters delimited by a space, tab, or new-line character. Only the first eight characters are significant. When provided as an argument to the create or name commands, name cannot be of the form n or (n), where n is a decimal number. CommandsThe following commands can be issued from the shl prompt level. Any unique prefix is accepted.
WARNINGSCommandsThe behavior of the block and unblock shl commands is not guaranteed when the SHELL environment variable is set to /usr/bin/csh (for csh(1)) or /usr/bin/ksh (for ksh(1)), or when the shell saves and restores the tty state (defined in termio(7)) before and after each command is invoked interactively from that shell. For both /usr/bin/csh and /usr/bin/ksh, the loblk or -loblk options of stty can be used from within the layer to block or unblock the output of that layer. PtydaemonFor shl to function properly, the ptydaemon process must be running on the system. If your system has been installed with the Desktop HP-UX product, then ptydaemon will not be started by default. In order to start this daemon, change PTYDAEMON_START from a "0" to a "1" in the /etc/rc.config.d/ptydaemon file. The system must either be rebooted for this change to take effect, or you can manually start this daemon by typing : /usr/sbin/ptydaemon Note that ptydaemon will also be disabled if the DesktopConfig.LITECONFIG fileset has been installed on the system, or if the system administrator has previously run the SAM utility and selected the Apply Lite HP-UX Configuration Action from within any of SAM's Kernel Configuration screens. |
|