ahfoo
07-10-2004, 09:24 PM
I saw that there were a few posts about removing virtual terminals in the past, but I'm interested in adding a few more. I'd like at least eight, but twelve or more would be nice.
I looked at the man page for ttys, but I didn't understand which part mapped the virtual terminal to a key.
Here's the man page. It looks like it's just a little script.
mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x03f8
mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x02f8
mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x03e8
mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x02e8
chown root:tty /dev/ttyS[0-3]
Can I just add a few lines here to add some more virtual terminals, at least up to seven?
I looked at the man page for ttys, but I didn't understand which part mapped the virtual terminal to a key.
Here's the man page. It looks like it's just a little script.
mknod -m 660 /dev/ttyS0 c 4 64 # base address 0x03f8
mknod -m 660 /dev/ttyS1 c 4 65 # base address 0x02f8
mknod -m 660 /dev/ttyS2 c 4 66 # base address 0x03e8
mknod -m 660 /dev/ttyS3 c 4 67 # base address 0x02e8
chown root:tty /dev/ttyS[0-3]
Can I just add a few lines here to add some more virtual terminals, at least up to seven?