[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [[LI] Help: C code ...]
Mahamood Hussain <mhussain@xxxxxxxxxxxxxxxxxxx> wrote:
> 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.
Use the ansi codes...
I have written fns for linux for changin color....and positionin the cursor.
I'll send u that. basically u have 2 use the standard ansi codes!!
>
> [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.
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
--------------------------------------------------------------------
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.