Sat May 4 11:12:19 2002 Michael Jennings (mej)
Added a --enable-escreen option for those who wish to try it out. Also fixed the compile with Escreen and profiling are both enabled, and disabled Escreen debugging. SVN revision: 6203
This commit is contained in:
parent
92ca20bcba
commit
6f6ebe924f
|
@ -4632,3 +4632,9 @@ Also merged in Azundris' Escreen patch. It's disabled by default for
|
||||||
the moment pending further testing, but you can enable it manually by
|
the moment pending further testing, but you can enable it manually by
|
||||||
defining ESCREEN.
|
defining ESCREEN.
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
Sat May 4 11:12:19 2002 Michael Jennings (mej)
|
||||||
|
|
||||||
|
Added a --enable-escreen option for those who wish to try it out.
|
||||||
|
Also fixed the compile with Escreen and profiling are both enabled,
|
||||||
|
and disabled Escreen debugging.
|
||||||
|
----------------------------------------------------------------------
|
||||||
|
|
|
@ -363,6 +363,7 @@
|
||||||
#undef WINDOWS_IDENT
|
#undef WINDOWS_IDENT
|
||||||
#undef HAVE_SAVED_UIDS
|
#undef HAVE_SAVED_UIDS
|
||||||
#undef MOUSEWHEEL
|
#undef MOUSEWHEEL
|
||||||
|
#undef ESCREEN
|
||||||
|
|
||||||
|
|
||||||
/* Leave that blank line there!! Autoheader needs it.
|
/* Leave that blank line there!! Autoheader needs it.
|
||||||
|
|
10
configure.in
10
configure.in
|
@ -357,6 +357,16 @@ AC_ARG_WITH(pablo,
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi], AC_MSG_RESULT(no)
|
fi], AC_MSG_RESULT(no)
|
||||||
)
|
)
|
||||||
|
AC_MSG_CHECKING(for Escreen support)
|
||||||
|
AC_ARG_ENABLE(escreen,
|
||||||
|
[ --enable-escreen enable Eterm's built-in screen support], [
|
||||||
|
if test "$enableval" = "yes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
AC_DEFINE(ESCREEN)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi], AC_MSG_RESULT(no)
|
||||||
|
)
|
||||||
AC_MSG_CHECKING(if profiling macros should be included)
|
AC_MSG_CHECKING(if profiling macros should be included)
|
||||||
AC_ARG_ENABLE(profile,
|
AC_ARG_ENABLE(profile,
|
||||||
[ --enable-profile compile with code profiling macros enabled], [
|
[ --enable-profile compile with code profiling macros enabled], [
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#define NS_PARANOID
|
#define NS_PARANOID
|
||||||
|
|
||||||
/* define NS_DEBUG to get debug-info. no support for those who undef this. */
|
/* define NS_DEBUG to get debug-info. no support for those who undef this. */
|
||||||
#define NS_DEBUG
|
#undef NS_DEBUG
|
||||||
|
|
||||||
/* debug memory stuff. never actually used this. */
|
/* debug memory stuff. never actually used this. */
|
||||||
#undef NS_DEBUG_MEM
|
#undef NS_DEBUG_MEM
|
||||||
|
|
|
@ -1630,13 +1630,13 @@ scr_refresh(int type)
|
||||||
#endif
|
#endif
|
||||||
int ascent, descent;
|
int ascent, descent;
|
||||||
|
|
||||||
|
PROF_INIT(scr_refresh);
|
||||||
|
|
||||||
#ifdef ESCREEN
|
#ifdef ESCREEN
|
||||||
if (TermWin.screen_mode)
|
if (TermWin.screen_mode)
|
||||||
nrows--;
|
nrows--;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
PROF_INIT(scr_refresh);
|
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case NO_REFRESH:
|
case NO_REFRESH:
|
||||||
D_SCREEN(("scr_refresh(NO_REFRESH) called.\n"));
|
D_SCREEN(("scr_refresh(NO_REFRESH) called.\n"));
|
||||||
|
|
Loading…
Reference in New Issue