Re: virtual terminals beyond F12

From: cga (cga9999_at_softhome.net)
Date: 03/29/05


Date: Mon, 28 Mar 2005 19:41:11 -0500

hans_schulze98@yahoo.de wrote:
> cga wrote:
>
>>The keymap files in /lib/kbd/keymaps often have F25-F36 mapped to
>>Ctrl-Fx and F37-F48 mapped to Shift+Ctrl+Fx. But at least on the
>>systems I checked F25 etc.. were not bound to any console-switching
>>actions.
>
>
> Not surprising; Ctrl-Fx wouldn't work anyway from X, since even
> switching between vt1 - vt12 requires Ctrl-Alt-Fx (extra Ctrl key
> unless text terminal), and there's no extra Ctrl if already using
> Ctrl...
>

That's why I highlighted "from a *console*" in an earlier post. ie.
you'd have to switch from your "X" session to a "console" before using
RightAlt+F1.. or Ctrl+F1.. etc..

>
>>So, if you must use keyboard shortcuts you probably need to find some
>
>
>>way to bind F25-F48 to chvt 25.. etc.
>
>
> Hmm. Any ideas how?

Never done this before myself since 12 vt's was always plenty for me..
And I tend to avoid Function keys since I use a PC-type keyboard -
mostly a laptop's) and function keys are everything but easily accessible.

The Keyboard and Console howto has some hints in section 7. "Switching
consoles" as to how this might be done using the loadkeys command.

>
>
>>HTH
>
>
> Yes it did. Thanks.
>

You're very welcome. But as Bill Marcum wrote.. What the heck do you
want with all these consoles..?? :-)

If you explained what you actually plan to achieve "functionally" rather
than starting from a possible implementation via function keys somebody
might come up with a solution that'll work out-of-the-box.

In other words I personally tend to get confused when I have more
desktops (or vt's) than I have fingers in both my hands.. Can't remember
where my stuff is.. So it's a bit odd to want to have all those consoles
at your fingertips. Like you would use all of them on a regular basis.

B. Marcum suggested gnu/screen which among other great features (such as
cutting/pasting and dis/rec-onnecting screen sessions) lets you create a
title/mnemonic for each virtual terminal and display the list at the
bottom of your display.

Any particular reason why you must use vt's..?



Relevant Pages

  • Re: RDC Console connection locks up server
    ... Does this happen only when there is an active console session ... can you logon to the physical console of the server? ... find when used w/o the /console switch. ...
    (microsoft.public.win2000.termserv.clients)
  • Re: Multiple X sessions (switch user)
    ... >> Is it possible to somehow make a link to the desktop that would switch ... >> user to another X session? ... I know it is possible through the console but ... >> XP they don't mind clicking Logoff and then Switch. ...
    (alt.os.linux)
  • Re: Multiple X sessions (switch user)
    ... > user to another X session? ... I know it is possible through the console but ... > they don't mind clicking Logoff and then Switch. ... I can switch between the sessions using CTRL-ALT-F7 and ...
    (alt.os.linux)
  • Re: WTSQuerySessionInformation
    ... Session zero has stopped being `the console session` starting from Vista. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: mtx_lock_do_what_i_mean()
    ... reducing from multiple active broken console drivers to a single ... fairly usual case where the user has only 1 set of console hardware. ... FreeBSD and all of it in my debugger's i/o routines: ... Natural switch points for ddb are on entry to and exit from interactive ...
    (freebsd-arch)