From owner-freebsd-hackers Sun Jan 26 02:02:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA00215 for hackers-outgoing; Sun, 26 Jan 1997 02:02:15 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA00210 for ; Sun, 26 Jan 1997 02:02:12 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id UAA25500; Sun, 26 Jan 1997 20:59:33 +1100 Date: Sun, 26 Jan 1997 20:59:33 +1100 From: Bruce Evans Message-Id: <199701260959.UAA25500@godzilla.zeta.org.au> To: bde@zeta.org.au, dgy@rtd.com Subject: Re: suggestion for kernel printk() ? Cc: freebsd-hackers@freefall.freebsd.org Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> Yes, it would steal characters from the foreground console unless the >> keyboard is dedicated to low-level console input. > >I guess a single character pushback isn't supported at that level? >--don Right. The low level console driver is very primitive. It does no buffering. Doing anything in it would have reentrancy problems, since it may be called from interrupt handlers. BTW, there _are_ reentrancy problems in the syscons and pcvt output routines. Don't use /dev/ttyv0 in syscons if you want the system to stay up forever. Bruce