delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/13/07:01:17

Date: Mon, 13 Aug 2001 12:58:25 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Mark E." <snowball3 AT bigfoot DOT com>
Message-Id: <4634-Mon13Aug2001125825+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3B7273C0.26572.48D83B@localhost> (snowball3@bigfoot.com)
Subject: Re: TIOCGWINSIZE idea
References: <3B7189D1 DOT 14369 DOT 5D0609 AT localhost> <3B7273C0 DOT 26572 DOT 48D83B AT localhost>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Thu, 9 Aug 2001 11:28:00 -0400
> 
> > 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.

Which librray do you refer to here?  Is it the ncurses library?

What I wrote was a general remark: if the old-style initialization
didn't work because termios functions were not referenced, the same
problem will happen with a static constructor.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019