[comp.unix.i386] Emacs 18.55 and Interactive 2.2

attila@nmpbas.nmpcad.se (Attila Nemeth) (08/08/90)

I'm quite sure that this is a FAQ, but does anyone know what
fixes have to be done in order to get Emacs 18.55 to compile
under 386/ix rel 2.2?

The compiler complains about sysdep.c line 688. The struct
tchars is not defined.

I want to build Emacs with X-windows. 

Suggestion how to this would be appreciated.



---------------------------------------------------------------------
Attila Nemeth |  Box 1193      | Electronic Mail:  attila@inmic.se  |
IM/NMPCAD     |  164 22 KISTA  | Voice:            +46 8 752 11 75  |
              |  SWEDEN        | Fax:              +46 8 750 80 56  |
---------------------------------------------------------------------

kim@lut.fi (Kimmo Suominen) (08/09/90)

>>>>> On 8 Aug 90 10:33:20 GMT, attila@nmpbas.nmpcad.se (Attila Nemeth) said:

Attila> The compiler complains about sysdep.c line 688. The struct
Attila> tchars is not defined.

You must do the same as in Xenix: undef TIOCWINSIZ (was it that?  look
at the sources).  I added a #define IX386 and changed the test for
XENIX.

BUT:  What must one do to get select() to work?  If I use the system's
built-in select, I can't run subprocesses (shell, display-time ==
loadst), but TCP/IP connections work fine.  If I use the substitute
code shipped with emacs, loadst will work, but shell won't.  Also
TCP/IP fails to detect at least a disconnect and it also slows down on
reading incoming data from sockets.  Anyone have an answer?
--
Kim              ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"That's what    ( Kimmo    ! Lappeenranta U of Technology ! kim@lut.fi )
  *I* think."   ( Suominen ! Computing Centre  *  Finland ! KUULA::KIM )
                 ''''''''''''''''''''''''''''''''''''''''''''''''''''''