[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[LI] Help: C code ...



Hi folks,

	I hope some one has the answers to these, I've gone nuts trying to
find the solutions.

	I'm building a Full Screen text editor for LINUX (More as a prog
exercise than anything else) and need to know the following :

	[1] How do I colorise the screen, with DOS it was easy: all I had
to do was directly access video mem and set the bits.

	[2] How do I move the cursor to any position on the screen?

	[3] How do I get input from the kbd; getchar() echoes the char
to the terminal (Something I don't want) and with extended keys, it looks 
ugly (^[[[A for F1 for example).

	[4] Can I directly access vid mem. I tried using the same code
I had used for DOS (declare ptr to vid mem), but core dumped during
execution.

Thanx a mill for your time.
Regards,
Mahamood Hussain.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Check out <a href="http://www.indianman.homepage.com";>indianman.homepage.com</a>

Get it!
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.