is there a way to code this .... without curses?

Robert Bonomi bonomi at mail.r-bonomi.com
Fri Sep 30 12:23:47 UTC 2011


> From owner-freebsd-questions at freebsd.org  Thu Sep 29 23:48:18 2011
> Date: Thu, 29 Sep 2011 21:46:45 -0700
> From: Gary Kline <kline at thought.org>
> To: FreeBSD Mailing List <freebsd-questions at freebsd.org>
> Cc: 
> Subject: is there a way to code this .... without curses?
>
> guys,
>
> i have written a small program using curses; that isn't the problem.
> but does anybody onlist know how to code the following in C:
>
> void foo()
> {
>
> 	system("stty raw");
> 	.
> 	.
> 	.
> 	system("stty cooked");
> }
>
> anybody? yoa!

'man 3 stty'

'man 4 tty'

'man tcsetattr'


More information about the freebsd-questions mailing list