From owner-freebsd-questions@FreeBSD.ORG Fri Sep 30 12:23:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BBEE106566C for ; Fri, 30 Sep 2011 12:23:47 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 03EED8FC0C for ; Fri, 30 Sep 2011 12:23:46 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p8UCNb5C066455 for freebsd-questions@freebsd.org; Fri, 30 Sep 2011 07:23:37 -0500 (CDT) Date: Fri, 30 Sep 2011 07:23:37 -0500 (CDT) From: Robert Bonomi Message-Id: <201109301223.p8UCNb5C066455@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20110930044642.GA17359@thought.org> Subject: Re: is there a way to code this .... without curses? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2011 12:23:47 -0000 > 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 > To: FreeBSD Mailing List > 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'