Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!ukc!warwick!rolf From: rolf@warwick.UUCP (Rolf Howarth) Newsgroups: comp.os.minix Subject: Re: ns32016 port + misc. Message-ID: <553@ubu.warwick.UUCP> Date: Mon, 29-Jun-87 21:48:43 EDT Article-I.D.: ubu.553 Posted: Mon Jun 29 21:48:43 1987 Date-Received: Sat, 4-Jul-87 17:45:57 EDT References: <549@ubu.warwick.UUCP> <602@gec-mi-at.co.uk> Reply-To: rolf@warwick.UUCP (Rolf Howarth) Organization: Computer Science, Warwick University, UK Lines: 32 Keywords: stty In article <602@gec-mi-at.co.uk> jgh@gec-mi-at.co.uk (Jeremy Harris) writes: >From memory, this is what V7 stty does. Where's it gointa put its output, >eh? Stdout. What is there left to ioctl on? Choice of stdin or stderr. >Stdin wins. Yes, one's mind glitched when first meeting it, ... >The horror started (for me, I think I remember) with Sys III. Some bright >spark had decided that they didn't like the above behavior, and adjusted >stty to tweak it's stdout (just like you want) *and put its output on stderr*. >Now, I expect error messages to come to stderr, and normal operating output >to come to stdout. I hated it. >Disclaimer: It was some time ago, and they weren't AT&T systems. Sorry if I > just annoyed anybody. Not AT&T systems maybe, but 4.x uses stdout to determine the device. (Sys V uses stdin, so I guess you're right and V7 did as well). Personally stdout makes more sense to me, in that you may well want to pipe stuff into the stty command. What does V7 stty do if its stdin is a file rather than a device? Also, there's not much wrong with using stderr for output if you regard it as being the `diagnostic' output channel rather than strictly for `errors' only. Matter of taste and what you're used to I suppose. (Remember Unix != Unix) If you will let people fiddle with their operating system ... -- Rolf Dept. of Computer Science, Tel: +44 203 523523 ext 2485 Warwick University, JANET: rolf@uk.ac.warwick.flame Coventry, CV4 7AL. UUCP: {seismo,mcvax}!ukc!warwick!rolf England.