home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 16968 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.2 KB  |  71 lines

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!ub!galileo.cc.rochester.edu!uhura.cc.rochester.edu!ctne_ltd
  2. From: ctne_ltd@uhura.cc.rochester.edu (Chris Newbold)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: minicom broken under .98-5
  5. Keywords: linux
  6. Message-ID: <1992Nov17.144405.25145@galileo.cc.rochester.edu>
  7. Date: 17 Nov 92 14:44:05 GMT
  8. References: <1992Nov17.062728.28748@magnus.acs.ohio-state.edu>
  9. Sender: news@galileo.cc.rochester.edu
  10. Organization: University of Rochester - Rochester, New York
  11. Lines: 57
  12. Nntp-Posting-Host: uhura.cc.rochester.edu
  13.  
  14. In <1992Nov17.062728.28748@magnus.acs.ohio-state.edu> dohm@magnus.acs.ohio-state.edu (Peter J Dohm) writes:
  15.  
  16. ...
  17.  
  18. >/* here's where the bizzarities start to occur:
  19. >if i put the same #ifdef DEBUG statement as before, it *never* gets printed...
  20. >the only difference is that now the ip should be pointing to the beginning
  21. >of the code to print the string, and the stack should contain a new pointer
  22. >for reentry... 
  23. >I'm not sure I understand why, but it just doesn't make it into this
  24. >function correctly...
  25. >can anyone venture a guess WHY?????
  26. >the program hangs right at the beginning of this function... never returns.
  27. >gone... dead...
  28. >*/
  29.  
  30.  
  31.  
  32. >  wlocate(st, 0, 0);
  33. >  wprintf(st, " %7.7sZ for help |           | FDX | Minicom %-9.9s |       | ",
  34. >      esc_key(), version);
  35. >  mode_status();
  36. >  time_status();
  37. >  wlocate(st, 59, 0);
  38. >  switch(terminal) {
  39. >      case VT100:
  40. >          wputs(st, "VT100");
  41. >          break;
  42. >      case MINIX:
  43. >          wputs(st, "MINIX");
  44. >          break;
  45. >      case ANSI:
  46. >          wputs(st, "ANSI");
  47. >          break;
  48. >  }
  49. >  ret_csr();
  50. >}
  51.  
  52.  
  53. Hmmm. This is really odd. This is how uugetty dies. The only difference is
  54. that it never makes it into main (). The declaration is something like:
  55.  
  56.     main (argc, argv)
  57.     int argc;
  58.     char *argv[];
  59.         {
  60.  
  61. If I run this under gdb, it dies with the ip from main pointing at the
  62. char *argv[]. Odd. Really odd.
  63.  
  64. -Chris
  65.  
  66. -- 
  67. >>>> Chris Newbold <<<< * "If you fool around with a thing for very long you *
  68. University of Rochester    *            will screw it up."             *
  69. Disclaimer: "All warranties expire upon payment of invoice."                
  70. ctne_ltd@uhura.cc.rochester.edu * uhura.cc.rochester.edu!ctne_ltd@uunet
  71.