C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 05-10-2005, 04:03 AM   #1
Registered User
 
Join Date: May 2005
Posts: 8
framebuffer implementation

hello! im writing a notepad like program for linux framebuffer, currently i use just mmap-ed /dev/fd0 but problem is that command line cursor blinks still thru, and when program is running and you switch to other terminal, pixels are also being drawn there. i checked out bogl, it work right way, it should support 32bit truecolor mode too, but i couldn't find usable example for 32bits, only 16 colours. what to do?
v6sa is offline   Reply With Quote
Old 11-03-2005, 11:02 AM   #2
Registered User
 
Join Date: Nov 2005
Posts: 2
Disabling the cursor

Hi,

You can put the below code to disable the cursor.

handle = open(FB_TTY, O_RDWR);
write(handle, "\033[?1c", 5);

In this way, you can disable the cursor. I have a doubt . Please help me.

How to display a string or a character onto a frame buffer? This is urgent. Thank you. Please mail me to mouli123@gmail.com

With regards,
Chandramouli
chandra80 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rand() implementation habert79 C Programming 4 02-07-2009 01:18 PM
implementation file bejiz C++ Programming 5 11-28-2005 01:59 AM
Binary Search Trees Part III Prelude A Brief History of Cprogramming.com 16 10-02-2004 03:00 PM
Pure virtual implementation, or not. Eibro C++ Programming 2 03-19-2003 08:05 PM
implementation? calQlaterb C++ Programming 1 12-11-2001 10:25 AM


All times are GMT -6. The time now is 11:42 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22