Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!pyramid!prls!mips!dce From: dce@mips.UUCP Newsgroups: comp.unix.questions Subject: Re: stty 0 Message-ID: <222@quacky.mips.UUCP> Date: Mon, 23-Mar-87 10:47:56 EST Article-I.D.: quacky.222 Posted: Mon Mar 23 10:47:56 1987 Date-Received: Thu, 26-Mar-87 06:21:53 EST References: <869@bc-cis.UUCP> <5914@mimsy.UUCP> Organization: MIPS Computer Systems, Sunnyvale, CA Lines: 18 In article <5914@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: >In article <869@bc-cis.UUCP> raanan@bc-cis.UUCP (Raanan Herrmann) writes: >>My question: What does the `stty 0` command do? Does it do anything? >Most device drivers interpret it as `turn off DTR'. If your modems >are working and properly connected, and your multiplexor supports DTR, >this will hang up the line. The original question is unclear. In 4.3BSD, the command "stty 0" causes the baud rate to be set to 0. I assume that Chris is correct in saying what the device driver does with this (if I don't, Chris will shoot me). So, if Raanan needs to add a "hang up the line" function to a shell, front-end, or other application, he can add code to set the baud rate to 0 (this is for BSD systems; I'm not sure about System V derivatives). -- David Elliott UUCP: {decvax,ucbvax,ihnp4}!decwrl!mips!dce, DDD: 408-720-1700