From: Tom Cloyd Date: 2005-12-30T18:41:05+09:00 Subject: Re: very simple question This is just a snippet from a larger program. Here, I'm trying to print to STOUT a prompt, then get a response, so I can act on it. t. On Fri, 30 Dec 2005 01:30:42 -0800, Joe Van Dyk wrote: > On 12/30/05, Tom Cloyd wrote: >> Bewilderer, tired beginner, here. >> >> Executing this, in Arachno Ruby IDE - >> >> print 'process ' + filenm + ' (1) or all files of type ' + filetyp + ': >> ' >> pf = gets >> >> I get - >> 1. nothing for my print statement - control just passes right past it. >> 2. a "Exception: Bad file descriptor" out for "pf = gets" >> >> I don't understand why either is happening. Can someone clear this up >> for >> me? > > I don't understand what you're trying to do. >