LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Rick Marshall <rjm@ah.herzfeld.com.au>
  To  : Paul Schulz <pauls@caemrad.com.au>
  Date: Mon, 9 Nov 1998 11:12:59 +1100 (EST)

Re: C/shell programing question..

On Mon, 9 Nov 1998, Paul Schulz wrote:

> When running programs from the command-line..
> 
> I would like to input keystrokes..
> 
> Input from the shell is buffered line-by-line when
> it is coming from a terminal. Is there any way to stop this?
> 
depending, look at stty command. You can set a number of things such "raw"
everything comes through untouched, "-echo" don't even echo it, cbreak
basically gives each cahr as types, and there is also a settable delay
which will give "no input" after a preset time so your program doesn't
hang forever.

stty (1) and it SEE ALSOs.

RJM

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page