Hello,
I had issues with the xemacs package that I apt-get installed under
ubuntu 11.10 (which I reported to the ubuntu maintainers but I don't
think anyone took ownership). So, I downloaded xemacs-beta via
mercurial and configured. Had issues in src/termcap.c which I worked
around (tried couple different ways)...
diff -r 611a6845ebee src/termcap.c
--- a/src/termcap.c Mon Feb 13 08:00:23 2012 -0500
+++ b/src/termcap.c Sat Mar 17 15:59:56 2012 -0400
@@ -27,6 +27,11 @@
#include "device-impl.h" /* For DEVICE_BAUD_RATE */
#include "sysfile.h"
#include "process.h"
+
+/* #ifdef HAVE_TERMIOS */
+/* #include <termios.h> */
+/* #endif */
+
#else /* not emacs */
#include <stdlib.h>
@@ -232,11 +237,11 @@
/* Outputting a string with padding. */
-#ifdef LINUX
-speed_t ospeed;
-#else
+/* #ifdef LINUX */
+/* speed_t ospeed; */
+/* #else */
short ospeed;
-#endif
+/* #endif */
/* If `ospeed' is 0, we use `tputs_baud_rate' as the actual baud rate. */
int tputs_baud_rate;
char PC;
...but either way (#include <termios.h> or s/speed_t/sort/) I get:
IO Error: Terminal type undefined (or can't access database?), "xterm"
info/man termcap says "...termcap...is an obsolete facility...new
[programs] should use the terminfo(5) database and associated
libraries".
I tried configure --without-termcap and --with-terminfo to no avail.
So, do I need a backport of /etc/termicap to get xemacs to run on this
platform?
Thanks,
Bruce
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta