Path: utzoo!attcan!uunet!peregrine!ccicpg!turnkey!jack From: jack@turnkey.TCC.COM (Jack F. Vogel) Newsgroups: comp.unix.questions Subject: Re: relationship between uucico and stty Message-ID: <4047@turnkey.TCC.COM> Date: 10 Dec 88 13:14:33 GMT References: <139@cmtl01.UUCP> Reply-To: jack@turnkey.TCC.COM Organization: Turnkey Computer Consultants, Costa Mesa, CA Lines: 23 In article <139@cmtl01.UUCP> mdorion@cmtl01.UUCP (Mario Dorion) writes: > >I have a question about the relationship between uucico and stty. [....] >Suppose machine A is calling machine B with uucico. The stty parameters of the >B side of the line will be set according to the /etc/gettydefs entry correspon- >ding to the /etc/inittab line for that tty port. > >My question is: What does set the stty parameters for the calling side??? Quite simple really, uucico simply does a couple of ioctl calls, first to get the port parameters which it will save in one structure. then it will modify them to suit its needs and do another ioctl call to set the new parameters on the port. On exit it will normally reset the port to the state it found it in upon entry. -- Jack F. Vogel Turnkey Computer Consultants, Costa Mesa, CA UUCP: ...{nosc|uunet}!turnkey!jack Internet: jack@turnkey.TCC.COM