home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17479 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  2.4 KB

  1. Xref: sparky comp.os.linux:17479 rec.games.mud.lp:4249
  2. Newsgroups: comp.os.linux,rec.games.mud.lp
  3. Path: sparky!uunet!mcsun!fuug!prime!mits!ajake
  4. From: ajake@mits.mdata.fi (Jarkko Aitti)
  5. Subject: still can't run lpmud (cdlib)
  6. Organization: Microdata Oy, Helsinki, Finland
  7. Date: Sat, 21 Nov 1992 21:06:44 GMT
  8. Message-ID: <1992Nov21.210644.17335@prime.mdata.fi>
  9. Sender: usenet@prime.mdata.fi (Usenet poster)
  10. Nntp-Posting-Host: mits.mdata.fi
  11. Lines: 69
  12.  
  13. Hi there, i'm still struggling with combat to get cdlib mud and linux to
  14. co-operate....
  15.  
  16. Here's some snapshots of my problem:
  17.  
  18. >telnet rat 3000
  19.  
  20. Trying 127.0.0.2...
  21. Connected to rat.
  22. Escape character is '^]'.
  23.  
  24.  
  25. Welcome to this new 3.0 lpmud, beta version.
  26.  
  27. You can give you name or 'gameinfo' below. 'gameinfo' is especially
  28. usefull for beginners and recommended reading to all interested.
  29.  
  30. THIS FILE HAS NOT BEEN UPDATED BY THE LOCAL ADMINISTRATOR
  31. Gamedriver version:    CD.01.58
  32. Mudlib version:        CD.00.26
  33.  
  34. What is your name: aConnection closed by foreing host.
  35.  
  36. As soon as i type first letter in (in this case 'a') it throws me out.
  37. Driver is still running and i can do it again but it always does the same
  38. thing.
  39.  
  40. Driver is version 01.58 (as you can see:), i got latest which was named
  41. something like Lpmud-cdlib.test.tar.Z which contained some bugfixes to
  42. official version. (both versions acts the same)
  43.  
  44.  
  45. comm1: write EPIPE detected
  46.  
  47. This is what driver has to say after i try to telnet to it..
  48. I'm now running kernel 0.98.5 with tcp/ip patches 1-3, before i added these
  49. patches it complained something like comm1: Unknown io error 5 (i'm not sure
  50. ab. that number)
  51. With kernel 0.98.4 it was also that Unknown io error...
  52.  
  53. Strangest thing is that when i was running older kernel (0.98.2) this
  54. lpmud did work somehow, i could telnet to it and play but due to other
  55. bugs which were fixed with later ones (accept?) it didn't run long (2 minutes).
  56.  
  57.  
  58. Heres diffs which i made to src/comm1.c, and i wonder if i have made it all
  59. wrong or is it some kernel bug?
  60.  
  61.  
  62. 0a1
  63. > #define FNDELAY O_NDELAY /*linux*/
  64. 37c38
  65. < int setsockopt PROT((int, int, int, char *, int));
  66. ---
  67. > /*int setsockopt PROT((int, int, int, char *, int));/*linux*/
  68. 45c46
  69. < void bzero PROT((char *, int));
  70. ---
  71. > /*void bzero PROT((char *, int));/*linux*/
  72. 490c491
  73. <     else if (new_socket == -1 && errno != EWOULDBLOCK && errno != EINTR) {
  74. ---
  75. >     else if (new_socket == -1 && errno != EWOULDBLOCK && errno != EINTR && errno != EAGAIN) {
  76.  
  77.  
  78. --
  79.  
  80.   Name: Jarkko J. Aitti     Mail: ajake@mits.mdata.fi
  81.  
  82.