Date: Thu, 23 May 1996 17:47:40 +1000 From: Bruce Evans <bde@zeta.org.au> To: garya@ics.com, jkh@time.cdrom.com, sef@kithrup.com Cc: freebsd-hackers@FreeBSD.org Subject: Re: stty -- not Message-ID: <199605230747.RAA05274@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>I did manage to get a <cr> inserted, but only by manually configuring >the printer using: > stty -f /dev/ttyid1 opost onlcr > stty -f /dev/ttyld1 opost onlcr >Attempting to manually configure the device using the locked device >alone, or the initialization device alone, did not work. >One can specifically set the initialization and locked state using stty. >Does using the - version of a flag lock them off, or simply return them >to their default, unlocked, condition? Using the - version on the lock state device returns the lock bits to their default, zero (no-lock), condition. You needed to lock the state because lpd always changes it to the wrong value. Then you needed to set the initial state because the default is wrong too. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605230747.RAA05274>