home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16303 < prev    next >
Encoding:
Text File  |  1992-11-10  |  2.0 KB  |  62 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!brunix!brunix!wcn
  3. From: wcn@cs.brown.edu (Wen-Chun Ni)
  4. Subject: Re: Problem w/P4 and EMACS
  5. Message-ID: <1992Nov11.024516.13991@cs.brown.edu>
  6. Sender: news@cs.brown.edu
  7. Organization: Brown University Department of Computer Science
  8. References: <1992Nov10.100403.36440@uservx.plk.af.mil>
  9. Date: Wed, 11 Nov 1992 02:45:16 GMT
  10. Lines: 50
  11.  
  12. In article <1992Nov10.100403.36440@uservx.plk.af.mil> simonich@uservx.plk.af.mil writes:
  13. >My configuration:
  14. >
  15. >                 386SX/387
  16. >                 Adaptec 1542 SCSI I/O
  17. >                 0.98 + patch1 + patch2 + patch3 + patch4
  18. >                   w/o math, w tcp, C-A-D and num-lock disabled
  19. >                 logitec busmouse
  20. >                 trident 8900b VGA
  21. >
  22. >The problem (under patch4 only):
  23. >
  24. >            emacs
  25. >
  26. >yields the results that emacs starts normally including displaying
  27. >the copyright screen but then immediatly fails leaving
  28. >
  29. >           IOT trap/Abort
  30. >
  31. >on the console.
  32. >
  33. >Patch 3 and before work correctly.
  34.  
  35.  
  36. This had been said by Linus and the original Linux-port author. There
  37. is *no* solution if you don't have the source. As long as you have
  38. the source code, just modify the file in emacs-18.58/src/process.c.
  39. around line 255-267:
  40. #ifdef FD_SET
  41. /* We could get this from param.h, but better not to depend on finding
  42. that.  And better not to risk that it might define other symbols used in
  43.  this file.  */
  44. #define MAXDESC 256
  45. #define SELECT_TYPE fd_set
  46. #else /* no FD_SET */
  47. #define MAXDESC 256
  48. #define SELECT_TYPE int
  49.  
  50. ...............................................
  51. The iotrap is because of the new NR_OPEN=256 rather than 32.
  52.  
  53. Note that this is a *QUICK* fix rather than a error-free solution. I
  54. changed that and emacs now works as before. If you don't trust this, 
  55. wait until a new upload. 
  56.  
  57.  
  58. Wen-Chun Ni, wcn@cs.brown.edu         (401) 863-7669
  59. -------------------------------------------------------------------
  60.  I do more after 2 a.m. than most people do all day.
  61.              - from a T-shirt given by a friend.
  62.