tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Setting TERM in single user mode



On Mon, 6 Oct 2008, Hubert Feyrer wrote:

On Mon, 6 Oct 2008, David Brownlee wrote:
         - Add 'constty' to /etc/ttys with the same value as 'console'

There's already confusion of ttyE0 vs. console in /etc/ttys on some ports.
I fear adding another entry won't help unless the usage is more clear ("su-console"?).

Else... why not use the TERM variable from console? I'd assume single user mode runs on the console.

        The device that tty reports and tset uses is /dev/constty, which
        is the 'correct' value for the console device.

--
                David/absolute       -- www.NetBSD.org: No hype required --


Home | Main Index | Thread Index | Old Index