From owner-freebsd-hackers Tue Nov 7 10:45:19 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA29099 for hackers-outgoing; Tue, 7 Nov 1995 10:45:19 -0800 Received: from cls.net (freeside.cls.de [192.129.50.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA29094 for ; Tue, 7 Nov 1995 10:45:14 -0800 Received: by mail.cls.net (Smail3.1.29.1) from allegro.lemis.de (192.109.197.134) with smtp id ; Tue, 7 Nov 95 19:45 GMT From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Reply-To: grog@lemis.de (Greg Lehey) Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id TAA01088; Tue, 7 Nov 1995 19:16:55 +0100 Message-Id: <199511071816.TAA01088@allegro.lemis.de> Subject: Re: What happens to terminal settings on last close? To: bde@zeta.org.au (Bruce Evans) Date: Tue, 7 Nov 1995 19:16:54 +0100 (MET) Cc: hackers@freebsd.org (FreeBSD Hackers) In-Reply-To: <199511071800.FAA12937@godzilla.zeta.org.au> from "Bruce Evans" at Nov 8, 95 05:00:23 am X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 729 Sender: owner-hackers@freebsd.org Precedence: bulk Bruce Evans writes: > > >Subject: What happens to terminal settings on last close? > > The settings for some terminal devices (cy, dgb, si, sio) but not others > (sc, pcvt, rc, ity) are reset to defaults on first open. The > defaults are programmed into the corresponding initial state devices. > See sio.4. > > >This is different from the standard BSD behaviour, which leaves the > >terminal flags the way they are on the last close, but it's the same > >as System V behaviour. Is it intentional or accidental? What do you > >think it should do? > > It's intentional. It took a day or two to program and years to decide/ > agree on the best approach. OK, without reopening the can of worms, what's the reasoning? Greg