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

Re: [LI] Help: C code ...



Hi

> [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).
> >> getpasswdchar(), else curses supports non-echoeing input.

If I am not wrong there should be some IOCTL call or whatever to disable
echoing.

> [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.
> >> Probably no, in you case ! but you can still wrtite to tty/pts files
> regards

If you want to access the Video memory the best and simplest would be to use
the FrameBuffer support in the kernel.  
	a) open a framebuffer device and 
	b) mmap



-- 
Keep :-)
HanishKVC

--------------------------------------------------------------------
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.