[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; Building from cvs on Hurd
From: |
Glenn Morris |
Subject: |
Re: 23.0.60; Building from cvs on Hurd |
Date: |
Sat, 10 May 2008 16:00:46 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Evans Winner wrote:
> Glenn Morris <address@hidden> writes:
>
> Looks like you have NLDLY defined, but not FFDLY. Can
> you find the include file that defines the former and
> see which *DLY it defines?
>
> I am not totally sure what that means, but:
>
> ,----[ grep -r NLDLY /hurd/usr/include/* ]
> | /hurd/usr/include/bits/ioctls.h:#define NLDLY
> 0x00000300 /* \n delay */
Sorry, I meant:
Find the file that defines NLDLY (/hurd/usr/include/bits/ioctls.h),
and see which of the following symbols it defines:
NLDLY, CRDLY, TABDLY, BSDLY, VTDLY, FFDLY
It seems to be all but the last, in which case a better patch is
probably:
*** sysdep.c 9 Apr 2008 06:46:14 -0000 1.296
--- sysdep.c 10 May 2008 19:58:13 -0000
***************
*** 602,609 ****
--- 602,616 ----
s.main.c_oflag |= OPOST; /* Enable output postprocessing */
s.main.c_oflag &= ~ONLCR; /* Disable map of NL to CR-NL on output */
#ifdef NLDLY
+ /* http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00406.html
+ Some versions of GNU Hurd do not have FFDLY? */
+ #ifdef FFDLY
s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY);
/* No output delays */
+ #else
+ s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY);
+ /* No output delays */
+ #endif
#endif
s.main.c_lflag &= ~ECHO; /* Disable echo */
s.main.c_lflag |= ISIG; /* Enable signals */