Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!decuac!avolio From: avolio@decuac.DEC.COM (Frederick M. Avolio) Newsgroups: net.unix-wizards Subject: Re: Shared Terminal Under Ultrix 1.2 (bsd 4.3) Message-ID: <937@decuac.DEC.COM> Date: Fri, 23-May-86 15:42:59 EDT Article-I.D.: decuac.937 Posted: Fri May 23 15:42:59 1986 Date-Received: Sat, 24-May-86 22:22:01 EDT References: <328@batcomputer.TN.CORNELL.EDU> Organization: ULTRIX Applications Center, MD Lines: 33 Keywords: curses ,shared io, In article <328@batcomputer.TN.CORNELL.EDU>, hurf@batcomputer.TN.CORNELL.EDU (Hurf Sheldon) writes: > In the documentation for the /etc/ttys file there is an option > of declaring a tty shared. Does that allow getty to sit active on > a port and allow using the port as an out device as well? > What I want to accomplish is to have a dialout line also be a dial > in line with login prompt, etc. ... That is exactly what it is made for -- to allow dialin and dialout on the same line. With your Ultrix-{32,32m} V1.2 system, you do the following: 1. Make sure the port has modem control on it (via the flags in the conf file for the system) and rebuild vmunix if you changed anything. 2. Edit /etc/ttys so that the line is marked `shared on' (such as this: ttyd0 "/etc/getty d1200" dialup on modem shared 3. Make sure the node in /dev is owned by uucp. 4. kill -1 1 This should allow you to dialout on the same line as the getty is running. The getty stays there but is locked out of reading from or writing to the device while it is used for dialout. It works for me... -- Fred @ DEC Ultrix Applications Center INET: avolio@decuac.DEC.COM * Fight the Fight * UUCP: {decvax,seismo,cbosgd}!decuac!avolio * Rescue the Unborn *