From owner-freebsd-hackers Wed May 22 21:50:08 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA14187 for hackers-outgoing; Wed, 22 May 1996 21:50:08 -0700 (PDT) Received: from nightmare.dreamchaser.org ([207.40.47.18]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA14181 for ; Wed, 22 May 1996 21:50:04 -0700 (PDT) Received: from mofo (mofo.dreamchaser.org [206.230.42.91]) by nightmare.dreamchaser.org (8.6.12/8.6.12) with SMTP id WAA11704; Wed, 22 May 1996 22:45:51 -0600 Message-ID: <31A3ED83.730@ics.com> Date: Wed, 22 May 1996 22:45:55 -0600 From: Gary Aitken Organization: Integrated Computer Solutions X-Mailer: Mozilla 3.0b3 (X11; I; SunOS 5.4 sun4c) MIME-Version: 1.0 To: Sean Eric Fagan CC: freebsd-hackers@freebsd.org Subject: Re: stty -- not References: <199605230335.UAA13414@kithrup.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Looking at the source, decimal and octal numbers are allowed. Hex numbers > are apparantly not allowed. > > I have not looked at the handbook, so I don't know what it would have. #ifdef ASIDE Given that the handbook shows use of hex numbers, is there a chance that historical usage allowed hex numbers, and any mods should continue to allow hex numbers? Or was the handbook just plain wrong? #endif /* ASIDE */ > >How the heck *do* you turn those bits on, and what are the right > >ones? > > I have NO IDEA. I believe you :-) Can you tell me this: do you know if setting -opost and -onlcr on the init and/or lock devices will prevent their having any effect when specified in the printcap file? In particular, will the sequence: stty -f /dev/ttyld1 opost onlcr stty -f /dev/ttyld1 -opost -onlcr which *looks* like a noop (to illiterates like me), in fact still allow printcap to override the opost and onlcr values when lpd attempts to configure the device? If not, is the only way to get back to "normal" to reboot? -- Gary Aitken garya@ics.com (business) garya@dreamchaser.org (personal)