Hi!

On Fri Mar 28, 2003 at 07:13:46PM -0800, the boisterous
Wm.G.McGrath <[EMAIL PROTECTED]>
wrote to me:
> I'd like to use the Keyboard Request signal to start fresh terminal
> windows when pressed. ie map the Menu key to Keyboard Request.
> 
> /etc/inittab contains the line:
> # Action on special keypress (ALT-UpArrow).
> kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let
> this work."
> 
> So presumably adding a line like:
> kb::kbrequest:/sbin/getty 9600 ttyS9 (or maybe /usr/X11R6/bin/xterm
> ???) would open a new console on ttyS9.
> 
> Of course this would work only for tty9 and not work a second time.
> 
> How can I set the tty arguement to something like ttySn where
> n=highest-tty# +1?

Use openvt instead of getty. You can also jump to the new console with
this method. see openvt(1). Oh, and you don't have to install something,
as openvt is in console-tools or kbd.

so long
Thomas

-- 
  ___    Obviously we do not want to leave zombies around.
_/___\     - W. Richard Stevens
 ( ^ >   Thomas Krennwallner <djmaecki at ull dot at>
 /   \   1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B
(__\/_)_ http://bigfish.ull.at/~djmaecki/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to