grafit wrote:

>         I will be very much thankful to you if you clear all these and send
> me the reply as early as possible.
> 
> 1> signal() instrction is not working
>         If i have used signal instuction to execute one function when
>         i press DEL key, I am not able to goto the function even if
>         i have pressed DEL key.

What exactly are you trying to do? What is causing the signal being
delivered?

> 2>hide_cur(),cur_size(),scr_dump(),scr_restore(),cur_size(),
>   nodelay() with getch() etc.are not working.
> 
>         These are cursor function though i have included -lcurses i am
>         not able to use these functions

Have you initialised curses?

> 3>I want equivalent function of KBHIT() IN BORLAND-C in LYNUX
>         Function which should not wait for the key to be pressed but
>         when key is pressed it should be recognised.
>         (nodelay() with getch() is not working )

Have you initialised curses?

> 4> How to access Video Memory in LYNUX ( far pointer doesnot works)

Use SVGAlib. BTW, `far' pointers don't exist in Linux (or in C
generally, for that matter). It uses a flat 32-bit address space.

> 5> I want to disable & enable the input from the keyboard how can i
>         do that?

For curses-style input, you'll need to read the input and then discard 
it.

If you are coming from a DOS background, you will need to bear in mind 
that DOS is designed around having a keyboard directly attached to the 
computer, whereas Unix (and Linux) are designed around using terminals 
connected via serial cables.

The Linux kernel emulates a number of serial terminals using the
keyboard and the video card; as far as programs are concerned, the
Linux virtual consoles are no different to a terminal connected to a
serial port.

If you wish to access the keyboard hardware directly, you will need to
use SVGAlib. Take care to ensure that you can reboot safely if your
program crashes and locks up the keyboard (Ctrl-Alt-Delete won't work
if this happens).

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to