tech-kern archive

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

Re: Change max ttys from 8 to 12?



On Tue, Dec 19, 2023 at 11:10:52AM +0100, Dan-Simon Myrland wrote:
> This might be bikeshedding, but would it make sense to change the
> maximum allowed ttys, on commodity architectures like i386/amd64 at
> least, to 12?

I guess most people just don't use Ctrl-Alt-Fn a lot (but instead
run X with a window manager providing several virtual desktops).

But anyway, your point is valid:

> In order to use all 12 function keys to switch between 12 ttys on my
> laptop I need to do the following steps:
> 
> 1) Add new ttys to /etc/ttys
[..]
> 10) Recompile userland so that wsconsctl etc works properly

This is a lot to do and AFAICT there is no downside in providing them
all by default (minus the /etc/ttys change, as we need one reserved for
the X server and actually hard code that device in various places).

If you send-pr and provide a tested patch for the others, it will have good
chances to get applied after review.

Martin


Home | Main Index | Thread Index | Old Index