View Single Post
Old 05-28-2012, 08:08 PM   #35
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by hawhill View Post
In fact, the terminals you can access on a typical Unixoid system nowadays are virtual, but not pseudo terminals. The OS presents them as /dev/ttyN, not /dev/ptyN / /dev/pts/N. xterm however will create a pseudo terminal. You can't switch among these with ALT-F<n>, since they do not necessarily have "siblings". However, you can use a terminal multiplexer like screen or tmux to archieve a similar effect. I'm using tmux within myts here on my K3.
Hmm...

Capturing the alt-F* keys is a function of the keyboard handling, not of xterm (in this thread, of matchbox-keyboard).
The function is to start (and switch to) another instance of xterm on another /dev/tty* (of those with a handler assigned in /etc/inittab).

A terminal multiplexer, does just that, multiplexes a single terminal instance, not create a new one. Those applications are from the days when the user only had a single set of wires to a single, physical, terminal interface.
Not related to my question concerning keyboard handling in matchbox-keyboard.
knc1 is offline   Reply With Quote