nanogui: nano-X and virtual terminals
Subject:
Re: [nanogui] nano-X and virtual terminals
From:
Jim Ham ####@####.####
Date:
8 Jun 2010 17:14:04 -0000
Message-Id: <4C0E7A57.7030609@porcine.com>
Greg Haerr wrote:
> : I have nano-X working on my target hardware - an ARM machine using
> : Debian. Nano works but gets mixed up with the cursor and keyboard when
> : switching to/from a virtual terminal.
>
> Set VTSWITCH=Y in the config file. You may also have to
> set HAVETEXTMODE=Y (that's either in config include/device.h,
Both are in config.
> I think)
>
> Regards,
>
> Greg
>
OK, that works - sort of. nano-X attaches to the current virtual
terminal 1-6 when started from that terminal. All seems to work at this
point.
If you start it from a serial terminal nano-X gets confused and tries to
grab the keyboard from the serial terminal. If you try to start it with
init by adding an entry to rc2.d and init.d it starts but immediately
quits. There is no entry in any of the logs that I can find that might
be a clue as to why.
It would be nice for nano-X to use tty7 just as X does. Is there a
method to force this behavior?
Regards,
Jim Ham