I’m using suse 12.1 and i’m not even sure if I need that package now. I was looking for a library that will draw pixels to a tty terminal in C. I’m currently making a program with SDL but it must be run in an X environment, it won’t run from tty2. I was using ncurses and it’s fun but there is no mouse in a tty environment hence the mouse event features are defunct. Someone suggested writing straight to the graphics hardware but theres no manual for that and I can’t find a library that will carry out my orders simular to, drawpixel(0, 0, r, g, b. a) or drawrectangle(0, 0, 25, 25, r, g, b, a) or even drawimage(0, 0, “image.png”).
On 2012-07-02 14:36, errigour wrote:
>
> I’m using suse 12.1 and i’m not even sure if I need that package now. I
> was looking for a library that will draw pixels to a tty terminal in C.
> I’m currently making a program with SDL but it must be run in an X
> environment, it won’t run from tty2. I was using ncurses and it’s fun
> but there is no mouse in a tty environment hence the mouse event
> features are defunct. Someone suggested writing straight to the graphics
> hardware but theres no manual for that and I can’t find a library that
> will carry out my orders simular to, drawpixel(0, 0, r, g, b. a) or
> drawrectangle(0, 0, 25, 25, r, g, b, a) or even drawimage(0, 0,
> “image.png”).
I have never used it, but I was told that xine could output to the
consoles, using frambuffer (-V fb).
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 2012-07-03 09:37, graham wrote:
> errigour wrote:
>
>> I was using ncurses and it’s fun
>> but there is no mouse in a tty environment hence the mouse event
>> features are defunct.
>>
>
> There is a mouse in console mode in my setup.
Yes, that will be gpm; that mouse is used to do copy/paste, but the buttons
are not functional to select menus and such.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)