Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2011 07:23:37 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: is there a way to code this .... without curses?
Message-ID:  <201109301223.p8UCNb5C066455@mail.r-bonomi.com>
In-Reply-To: <20110930044642.GA17359@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org  Thu Sep 29 23:48:18 2011
> Date: Thu, 29 Sep 2011 21:46:45 -0700
> From: Gary Kline <kline@thought.org>
> To: FreeBSD Mailing List <freebsd-questions@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'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109301223.p8UCNb5C066455>