James wrote:

> how do i turn off the cursor

This is terminal-specific; some terminals may not allow the cursor to
be disabled. If it can be done, you need to send the string which
corresponds to the `civis' terminfo entry (`vi' termcap entry).

> and make my programs accept characters
> typed into a terminal without you having to press enter first?

Put the terminal into raw mode using tcsetattr().

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to