home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.bug
- Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!wang.COM!wjs
- From: wjs@wang.COM (William Smith)
- Subject: Re: emacs 18.59 under SCO 3.2.2
- Message-ID: <Bxu3JF.FAp@wang.com>
- Sender: gnulists@ai.mit.edu
- Organization: Wang Labs, Lowell MA, USA
- References: <1992Nov12.105405.719@rtf.bt.co.uk>
- Distribution: gnu
- Date: Tue, 17 Nov 1992 00:18:49 GMT
- Approved: bug-gnu-emacs@prep.ai.mit.edu
- Lines: 43
-
- duplain@btcs.bt.co.UK (Andy Duplain) writes:
-
- > Has anyone managed to get emacs 18.59 working under SCO 3.2.2 ?
- > When I run emacs I get "select: Invalid argument" in the echo
- > area.
-
- The select() system in the default C library on SCO 3.2.2 (and ODT 1.1,
- maybe 3.2.1 and ODT 1.0 as well) does not work with emacs. If you are
- compiling for SCO and you do not have TCP/IP installed, use the patch
- included at the end of this post or just comment out HAVE_SELECT in sco.h.
- If you have TCP/IP installed add "#define SCO_SOCKETS" to your config.h.
- If you have both TCP/IP and X Windows also add "#define HAVE_X11". The
- select() call in libsocket.a works properly (actually Xselect). The
- resulting config.h file should having the following for TCP/IP and X windows.
-
- ---- piece of config.h file ----
- ...
- ...
- #define SCO_SOCKETS /* use this if you have TCP/IP */
- #define HAVE_X11 /* use this if have X Windows */
- #include "s-sco3-2-2.h" /* OS release (for 3.2.1 read file comments)*/
- ...
- ...
- #define HAVE_X_WINDOWS /* don't forget to uncomment this for X */
- ---- end config.h -------
-
- ------add this to s-sco3-2-2.h to fix select() problem--------
- ...
- ...
- #include "s-sco.h"
-
- #if !defined(SCO_SOCKETS) && !defined(HAVE_X11)
- #undef HAVE_SELECT /* select() in standard C lib broken */
- #endif
- ...
- ...
- ------end s-sco3-2-2.h patch--------
- --
- /*-------------------------------------------------------------------------
- William J. Smith, Wang Labs M/S 019-72B, 1 Industrial Ave
- Lowell, MA 01851-5161, (508) 967-6901, email: wjs@wiis.wang.com
- --------------------------------------------------------------------------*/
-
-