On Sat, Jun 08, 2019 at 19:36:52 -0500, John D. Baker wrote: > On Sat, 8 Jun 2019, David Brownlee wrote: > > > That looks to be it - now I recall I set console off and constty on to > > DTRT with or without wscons. > > I've been wondering what the "constty" device was all about.
The thread is here: http://mail-index.netbsd.org/tech-kern/2003/10/03/0008.html TL;DR | Subject: On /dev/console, /dev/constty and the TIOCCONS ioctl | To: None <tech-k...@netbsd.org> | From: David Laight <da...@l8s.co.uk> | List: tech-kern | Date: 10/03/2003 21:05:06 | | I've committed changes today that add a /dev/constty device, and changed | /etc/ttys so that getty (and hence any console login session) use it | instead of /etc/console. init also uses it for single user mode. [...] | The only difference between /dev/console and /dev/constty is that output | to the latter is not intercepted by the TIOCCONS ioctl. | | I made the change because I want to capture kernel messages generated | while sysinst is running in order to stop them 'messing up' the screen. | | It also makes it possible to log in on the 'console' while xconsole | (or similar) is running - a problem someone else mentioned yesterday. [...] -uwe