From owner-freebsd-questions Mon Sep 25 11: 9:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ellipse.mcs.drexel.edu (ellipse.mcs.drexel.edu [129.25.7.190]) by hub.freebsd.org (Postfix) with ESMTP id D0FDC37B422 for ; Mon, 25 Sep 2000 11:09:15 -0700 (PDT) Received: from localhost (cosine@localhost) by ellipse.mcs.drexel.edu (8.9.3/8.9.3) with ESMTP id OAA91341 for ; Mon, 25 Sep 2000 14:01:40 -0400 (EDT) (envelope-from cosine@ellipse.mcs.drexel.edu) Date: Mon, 25 Sep 2000 14:01:40 -0400 (EDT) From: Patrick Alken To: freebsd-questions@freebsd.org Subject: termcap settings Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How can I save/restore terminal settings when ptracing a program? For example, if I am ptracing a program which uses ncurses, or other terminal-altering functions, the parent's terminal settings get messed up when the child relinquishes control. Does anyone know how to restore the parent's original settings so it looks normal no matter what the child does to the terminal? Patrick Alken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message