: Just two virtual console questions:
: First, how can I make more virtual consoles than the 8 (actually 6, since XWin
: reserve VC7 and something else reserves VC8, I forget what) that is the
: default? I have RH4.0. I would imagine that it would involve making some new
: /devs and also chaning some config files. Does anybody know how to do this?
: Second, is there a way to tell which VC I'm currently in? A environment
: variable, perhaps? I'm especially looking for a way to put this in /etc/issue
: so that I can tell which VC I'm logging in to. (I know how to change
: /etc/rc.d/rc.local to change /etc/issue)
Not sure about the vc's, though I know it's possible to go up to at least
64, and possibly more :). You need to add getty entries into /etc/inittab,
and you might need to modify and load the keyboard map ( you can find
them under /usr/lib/kbd/keytables ) Oh, and X doesn't reserve a specifig
tty, it just takes the highest one that isn't being used. As for the
tty, you can find that with the tty command, but that won't work for issue -
your command will get executed by the script, and it'll just say tty1 in
issue. Do man getty, and look for the escape codes.
--
Windows: I can play Doom! |RedHat Linux 2.1.26 i386
Linux: I can be a file server, be a Web |Because reboots are for upgrades!
twelve terminals AND play Doom! |for pgp key. frank sweetser