From owner-freebsd-questions@FreeBSD.ORG Fri Jul 23 19:28:30 2010 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 566201065672 for ; Fri, 23 Jul 2010 19:28:30 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 3847B8FC21 for ; Fri, 23 Jul 2010 19:28:30 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp025.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L6000AUVZEZGP70@asmtp025.mac.com> for freebsd-questions@freebsd.org; Fri, 23 Jul 2010 12:28:12 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1007230093 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-07-23_07:2010-07-23, 2010-07-23, 1970-01-01 signatures=0 From: Chuck Swiger In-reply-to: <20100723210814.44ff8bd1.freebsd@edvax.de> Date: Fri, 23 Jul 2010 12:28:11 -0700 Message-id: References: <20100723202450.ea80c86f.freebsd@edvax.de> <20100723210814.44ff8bd1.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.1081) Cc: "A. Wright" , FreeBSD Questions Subject: Re: Text mode screen size max. compatibility 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, 23 Jul 2010 19:28:30 -0000 Yes-- On Jul 23, 2010, at 12:08 PM, Polytropon wrote: > Cool - I planned to use (n)curses anyway. But one question remains: > Is there an "interrupt line" (or something functionally similar, > a flag or whatever) that will give the chance for a notification > if LINES or COLS has recently changed, e. g. through a window > size modification? Yes, ncurses supports this: The ncurses library includes facilities for responding to window resiz- ing events, e.g., when running in an xterm. See the resizeterm(3X) and wresize(3X) manual pages for details. In addition, the library may be configured with a SIGWINCH handler. Regards, -- -Chuck