Mon Mar 25, 2013 9:41 pm
splixson wrote:
Is it possible to have two keyboards in control of a bash session? Where one keyboard is a Logitech wireless keyboard (main pi keyboard) and the other keyboard is actually a laptop connecting through to the pi from a ssh session.
One scenario is being able to correct typing entered by the Logitech using input from the ssh session. Other scenario is to play a two player game.
...
The main keyboard and the ssh session "keyboard" are effectively separate "terminals". Hence "scenario one" is unlikely. However, since different users can be logged in either directly or via the ssh session "scenario two" should be possible since linux is a "multi-user" O.S. Exactly how one would achieve that aim is another matter - I can think of a few possibilities but I'm not a "game programmer".
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm