home *** CD-ROM | disk | FTP | other *** search
- 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
- From: ctne_ltd@uhura.cc.rochester.edu (Chris Newbold)
- Newsgroups: comp.os.linux
- Subject: Re: minicom broken under .98-5
- Keywords: linux
- Message-ID: <1992Nov17.144405.25145@galileo.cc.rochester.edu>
- Date: 17 Nov 92 14:44:05 GMT
- References: <1992Nov17.062728.28748@magnus.acs.ohio-state.edu>
- Sender: news@galileo.cc.rochester.edu
- Organization: University of Rochester - Rochester, New York
- Lines: 57
- Nntp-Posting-Host: uhura.cc.rochester.edu
-
- In <1992Nov17.062728.28748@magnus.acs.ohio-state.edu> dohm@magnus.acs.ohio-state.edu (Peter J Dohm) writes:
-
- ...
-
- >/* here's where the bizzarities start to occur:
- >if i put the same #ifdef DEBUG statement as before, it *never* gets printed...
- >the only difference is that now the ip should be pointing to the beginning
- >of the code to print the string, and the stack should contain a new pointer
- >for reentry...
- >I'm not sure I understand why, but it just doesn't make it into this
- >function correctly...
- >can anyone venture a guess WHY?????
- >the program hangs right at the beginning of this function... never returns.
- >gone... dead...
- >*/
-
-
-
- > wlocate(st, 0, 0);
- > wprintf(st, " %7.7sZ for help | | FDX | Minicom %-9.9s | | ",
- > esc_key(), version);
- > mode_status();
- > time_status();
- > wlocate(st, 59, 0);
- > switch(terminal) {
- > case VT100:
- > wputs(st, "VT100");
- > break;
- > case MINIX:
- > wputs(st, "MINIX");
- > break;
- > case ANSI:
- > wputs(st, "ANSI");
- > break;
- > }
- > ret_csr();
- >}
-
-
- Hmmm. This is really odd. This is how uugetty dies. The only difference is
- that it never makes it into main (). The declaration is something like:
-
- main (argc, argv)
- int argc;
- char *argv[];
- {
-
- If I run this under gdb, it dies with the ip from main pointing at the
- char *argv[]. Odd. Really odd.
-
- -Chris
-
- --
- >>>> Chris Newbold <<<< * "If you fool around with a thing for very long you *
- University of Rochester * will screw it up." *
- Disclaimer: "All warranties expire upon payment of invoice."
- ctne_ltd@uhura.cc.rochester.edu * uhura.cc.rochester.edu!ctne_ltd@uunet
-