D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Waiting for keyboard input in a shell script

 

Simon Waters wrote:

>Rob Beard wrote:
>  
>
>>I've tried running the 'read' command and also the C program I wrote and
>>they both work fine from the shell prompt.
>>    
>>
>
>They work fine from the shell prompt, but you haven't said how you are
>running them that doesn't work fine as far as I can see?!
>
>The problem will be where is standard input coming from, or occaisonally
>something that depends on the INTERACTIVE environment variable....
>
>
>--
>The Mailing List for the Devon & Cornwall LUG
>Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
>message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html
>  
>
I see.  I'll have to do a bit more reading up :-P

Rob


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html