nanogui: Re:Re: a question about flnx on framebuffer
Subject:
Re:Re: a question about flnx on framebuffer
From:
Jordan Crouse ####@####.####
Date:
30 Apr 2001 14:30:51 -0000
Message-Id: <01043008311200.00902@cosmic>
Look at mouse.sh carefully. You will see one line that reads
'gpm -R -t ps2'
This line instructs GPM (the userland mouse controller), to go into repeater
mode and emulate an PS2 mouse. Most of the time, mice movements are read
directly from the port (ps2aux, ttyS0, etc, etc...) When Microwindows was
developed, the decision was made to be as generic as possible (so it could be
run on many different devices with a minimum of effort). So we used the GPM
feature of "repeating" the mouse info as PS2 data in the device file
/dev/gpmdata. That way, we can handle any mouse as a PS2 mouse in a
predetermined location. So in order to get mouse action, you need to make
sure that you run the 'gpm' call before starting microwindows.
As for the second error, the tty and ttyscan drivers both read by default
from /dev/tty (the next version will allow you to change that at runtime).
Usually /dev/tty is linked to the console tty. If for some reason you
redirected your console or somehow are running Microwindows on a different
tty than your console, you either need to redirect /dev/tty or change the
default in drivers/kbd_tty.c or drivers/kbd_ttyscan.c.
Happy hacking!
Jordan
On Friday 27 April 2001 18:36, ####@####.#### mentioned:
> Thanks for your advices, flnx can run smoothly on framebuffer after i
> installed microwindows-0.89pre7 and flnx-0.16. But the mouse can not work
> if i have not run "mouse.sh" before running the demos of flnx. And the
> demos have no respond for keyboard.
> What is the reason?
> (Sorry, I typed error Email address yesterday.)
>
> >>Try getting the latest versions of both microwindows and flnx:
> >>
> >>ftp.microwindows.org/pub/microwindows/microwindows-0.89pre7.tar.gz
> >>ftp.microwindows.org/pub/flnx/flnx-0.16.tar.gz
> >>
> >>Let us know if that works.
> >>
> >>Jeff
> >>
> >>On Wednesday, April 25, 2001, at 01:20 AM, ####@####.#### wrote:
> >>> SOS! I have gotten in a trouble about flnx.
> >>> I have installed "microwindows-0.89pre6" and "fltk-nanox-pre6". In
> >>> > the environment of framebuffer(0x312), when running demo programs in
> >>> > ./microwin/src or ./flnx/test, I have encountered these problems:
> >>>
> >>> 1.There are noting displayed in forms. When I drag the window, I >
> >>> can see the wigedts in a second, but they will disappear immediately.
> >>>
> >>> 2.There is no despond when I click the shut button --"x" in the
> >>> top-right side of the form.
> >>>
> >>> What's wrong about it ?
> >>> Please help me! Thanx!
> >>>
> >>> ####@####.####
> >>>
> >>> _____________________________________________
> >>> ¾«²ÊÑݳö£¬¾ÞÐÇÔƼ¯ http://shopping.263.net/category16.htm
> >>> ¹ó×åÏãË®£¬Æ½Ãñ¼Û¸ñ http://shopping.263.net/perfume/
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: ####@####.####
> >>> For additional commands, e-mail: ####@####.####
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: ####@####.####
> >>For additional commands, e-mail: ####@####.####
> >
> >_____________________________________________
> >»¯×±Æ·ÈÈÂô£¬ÊçŮҲ·è¿ñ http://shopping.263.net/category04.htm
> >¾«Æ·MP3¡¢ËæÉíÌý£¬¼Û¸ñÕ𺳠http://shopping.263.net/fs/81shop/
>
> _____________________________________________
> »¯×±Æ·ÈÈÂô£¬ÊçŮҲ·è¿ñ http://shopping.263.net/category04.htm
> ¾«Æ·MP3¡¢ËæÉíÌý£¬¼Û¸ñÕ𺳠http://shopping.263.net/fs/81shop/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####