Sys V R3.2 pty's and job control

Kevin J. Dunlap kjd at icxn.UUCP
Tue Jun 4 07:50:32 AEST 1991



I have written a program that receives connection from the network
and starts up a login process on a pty.  This uses the System V streams based
pty's found in SVR3.2, (/dev/ptmx).

Once the login process starts up /bin/csh I get the following error:

Warning: no access to tty: thus no job control in this shell...

I get the shell prompt, and can run commands, I just don't have job control.

What do I need to do to the pty to make /bin/csh happy and
think it has access to the tty?

Most of the pty code I am using is from the example found in
"UNIX Network Programming"

I am running, Interactive 386/ix Version 3.2.2.

Thanks,

-Kevin

------------------------------------------------------------------------
Kevin J. Dunlap                                      kjd at icxn.icxn.com
InterConnections, Inc.                               uunet!icxn!kjd
14711 NE 29th Place, Bellevue, WA  98007             206/881-5773
-- 
------------------------------------------------------------------------
Kevin J. Dunlap                                      kjd at icxn.icxn.com
InterConnections, Inc.                               uunet!icxn!kjd
14711 NE 29th Place, Bellevue, WA  98007             206/881-5773



More information about the Comp.unix.programmer mailing list