Mercurial > emacs
view src/s/openbsd.h @ 52265:84e49afb2178
(term_init): Use a buffer of size 4096 for tgetent since
FreeBSD returns something longer than 2044. Abort if the end of
the buffer is overwritten.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 19 Aug 2003 23:47:22 +0000 |
parents | 64835b08503d |
children | 695cf19ef79e |
line wrap: on
line source
/* s/ file for openbsd systems. */ /* Mostly the same as NetBSD. */ #include "netbsd.h" /* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this is necessary. Otherwise Emacs dumps core when run -nw. */ #undef LIBS_TERMCAP #define TERMINFO #define LIBS_TERMCAP -lncurses #undef LD_SWITCH_SYSTEM_TEMACS #undef LD_SWITCH_SYSTEM #ifdef __ELF__ /* Han Boetes <han@mijncomputer.nl> says this is necessary, otherwise Emacs dumps core on elf systems. */ #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z #else #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp #endif