home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!brunix!brunix!wcn
- From: wcn@cs.brown.edu (Wen-Chun Ni)
- Subject: Re: Problem w/P4 and EMACS
- Message-ID: <1992Nov11.024516.13991@cs.brown.edu>
- Sender: news@cs.brown.edu
- Organization: Brown University Department of Computer Science
- References: <1992Nov10.100403.36440@uservx.plk.af.mil>
- Date: Wed, 11 Nov 1992 02:45:16 GMT
- Lines: 50
-
- In article <1992Nov10.100403.36440@uservx.plk.af.mil> simonich@uservx.plk.af.mil writes:
- >My configuration:
- >
- > 386SX/387
- > Adaptec 1542 SCSI I/O
- > 0.98 + patch1 + patch2 + patch3 + patch4
- > w/o math, w tcp, C-A-D and num-lock disabled
- > logitec busmouse
- > trident 8900b VGA
- >
- >The problem (under patch4 only):
- >
- > emacs
- >
- >yields the results that emacs starts normally including displaying
- >the copyright screen but then immediatly fails leaving
- >
- > IOT trap/Abort
- >
- >on the console.
- >
- >Patch 3 and before work correctly.
-
-
- This had been said by Linus and the original Linux-port author. There
- is *no* solution if you don't have the source. As long as you have
- the source code, just modify the file in emacs-18.58/src/process.c.
- around line 255-267:
- #ifdef FD_SET
- /* We could get this from param.h, but better not to depend on finding
- that. And better not to risk that it might define other symbols used in
- this file. */
- #define MAXDESC 256
- #define SELECT_TYPE fd_set
- #else /* no FD_SET */
- #define MAXDESC 256
- #define SELECT_TYPE int
-
- ...............................................
- The iotrap is because of the new NR_OPEN=256 rather than 32.
-
- Note that this is a *QUICK* fix rather than a error-free solution. I
- changed that and emacs now works as before. If you don't trust this,
- wait until a new upload.
-
-
- Wen-Chun Ni, wcn@cs.brown.edu (401) 863-7669
- -------------------------------------------------------------------
- I do more after 2 a.m. than most people do all day.
- - from a T-shirt given by a friend.
-