Mercurial > emacs
view src/s/openbsd.h @ 83064:e7e9448cb3a0
Make emacsclient refuse to create a frame inside an Emacs term buffer.
lib-src/emacsclient.c (main): Exit with failure if the terminal type
is `eterm' (Emacs term buffer).
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-104
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 27 Feb 2004 14:10:47 +0000 |
parents | 695cf19ef79e |
children | 167aa6212e5a 375f2633d815 |
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 /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 (do not change this comment) */