X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f Date: Fri, 18 Jan 2002 13:24:20 -0600 From: JT Williams To: djgpp-workers AT delorie DOT com Subject: termcap-1.00 and /etc/termcap Message-ID: <20020118132420.B11667@kendall.sfbr.org> Mail-Followup-To: djgpp-workers AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Reply-To: djgpp-workers AT delorie DOT com With Mark E's termcap-1.00 (tcap093.zip) I got the message "Can't read /etc/termcap". This message is issued in response to a return code of -1 from tgetent in termcap.c. The problem seems to be this: #ifdef __DJGPP__ #define DEFAULT_TERMCAP "/dev/env/DJDIR/share/termcap" #else #define DEFAULT_TERMCAP "/etc/termcap" #endif Thus, with __DJGPP__ defined, the Unix default of /etc/termcap is disallowed. A workaround is to set TERMCAP=/etc/termcap, but if I don't need that under Unix, I don't want to need it under djgpp. How do others feel about this?