home *** CD-ROM | disk | FTP | other *** search
- This code is in the public domain. THIS CODE IS PROVIDED ON AN AS-IS
- BASIS. THE USER ACCEPTS ALL RISKS ASSOCIATED WITH USING THIS CODE AND
- IS SOLELY RESPONSIBLE FOR CORRECTING ANY SOFTWARE ERRORS OR DAMAGE
- CAUSED BY SOFTWARE ERRORS OR MISUSE.
-
- Written by John F Haugh II and modified to include suggestions made by
- Pat Myrto, Dan Bernstein, and Axel Fischer.
-
- This is the "session manager" command. It is a very simple program which
- manages multiple PTY connections. It allows a single connection to have
- multiple shells active at a single time. It should work with any system
- which includes pseudo-TTY devices.
-
- There are quite a few systems which do not correctly support non-blocking
- reads from the master side of a PTY. You must edit the sm.c file to
- #define BLOCKING_PTY if you are using one of these systems. You must
- define BLOCKING_PTY if your system does not properly support either
- fcntl() or the O_NDELAY option to that system call.
-