Re: Change max ttys from 8 to 12?

2023-12-28 Thread Rhialto
On Tue 19 Dec 2023 at 12:38:19 -, Michael van Elst wrote: > Bumping both limits to 12 (and augmenting keysyms and the keymaps > for this) would align this with the other *BSDs. I agree. It removes an arbitrary asymmetry. > The con side here is that some keyboards either only have 10 function

Re: Change max ttys from 8 to 12?

2023-12-19 Thread Michael van Elst
u...@stderr.spb.ru (Valery Ushakov) writes: >Switching from a fixed size array to a dynamic one is probably not too >much work either. But then, overall, I think that trying to make the >kernel substitute for screen, tmux (in base), etc is kinda dead end, >so I'd rather we don't encourage it.

Re: Change max ttys from 8 to 12?

2023-12-19 Thread Valery Ushakov
On Tue, Dec 19, 2023 at 11:10:52 +0100, Dan-Simon Myrland wrote: > 2) Make a custom kernel with the option WSDISPLAY_DEFAULTSCREENS=12 Why? WSDISPLAY_DEFAULTSCREENS is the number of screens pre-created by the kernel, but you can always create as many as you need (subject to

Re: Change max ttys from 8 to 12?

2023-12-19 Thread Martin Husemann
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

Change max ttys from 8 to 12?

2023-12-19 Thread Dan-Simon Myrland
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? 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 2) Make