From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Thu, 9 Aug 2001 11:28:00 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: TIOCGWINSIZE idea Message-ID: <3B7273C0.26572.48D83B@localhost> References: <3B7189D1 DOT 14369 DOT 5D0609 AT localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com > I think it's okay to initialize termios in a static constructor, but > if none of the termios functions are called by the application, how > are we gonna make sure termios functions, including the initializer, > get linked into the executable in the first place? In the case of ncurses, it does use termios but it may or may not be called depending on the code path. Since the library uses the termios emulation in some place, the termios emulation will be included in any exe using ncurses. Mark