Re: K&R2 exercise question
From: Alan Balmer (albalmer_at_att.net)
Date: 07/06/04
- Next message: Keith Thompson: "Re: Are there any Free C Standard Documents ?"
- Previous message: Keith Thompson: "Re: Are there any Free C Standard Documents ?"
- In reply to: Chris Readle: "Re: K&R2 exercise question"
- Next in thread: Chris Readle: "Re: K&R2 exercise question"
- Reply: Chris Readle: "Re: K&R2 exercise question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 06 Jul 2004 11:49:04 -0700
On Mon, 05 Jul 2004 19:15:43 -0700, Chris Readle <c.readle@cox.net>
wrote:
>I have done some further research on this, and I have discovered that if
>I start a new instance of the shell, it runs just dandy the first time,
>but subsequent runs return to the prompt without allowing any input.
>
>From the viewpoint of comp.lang.c, you program is fine ;-) So, the
problem must be something in your environment. You might want to post
the question on a newsgroup which deals with whatever implementation
you're working with. <OT> How does your implementation define end of
file on your stdin (the terminal, I presume)? Is something causing an
EOF to be in the input buffer after the first execution? gdb is
probably starting a brand-new shell for each execution.
-- Al Balmer Balmer Consulting removebalmerconsultingthis@att.net
- Next message: Keith Thompson: "Re: Are there any Free C Standard Documents ?"
- Previous message: Keith Thompson: "Re: Are there any Free C Standard Documents ?"
- In reply to: Chris Readle: "Re: K&R2 exercise question"
- Next in thread: Chris Readle: "Re: K&R2 exercise question"
- Reply: Chris Readle: "Re: K&R2 exercise question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|