realbasic-nug
[Top] [All Lists]

Re: Resetting stdin

To: REALbasic-NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Resetting stdin
From: Kem Tekinay <ktekinay at mactechnologies dot com>
Date: Wed, 29 Nov 2006 14:56:56 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AccT8IW6xAiozn/jEduk8gAWy8phkQ==
Thread-topic: Resetting stdin
On 11/29/06 10:45 AM, joe at strout dot net at joe at strout dot net wrote:

> I've never seen a Unix app where you can terminate
> input and then give more input later.  A more typical solution, I
> think, is to terminate input with a blank line or a "." line or
> something like that.

Yes, you're right, and the problem was that I wasn't thinking it through. I
am creating a CLI that can take a script from a file, and that script might
ask for additional input from the user. Unfortunately, I was still of the
mindset that the script would be fed to my app via stdin, and of course,
that's wrong.

The short form is, it ends up being a non-issue for what I'm trying to
accomplish. The lesson here is to not post questions late at night when
you're already working on 4 hours of sleep. :-)

Thanks to everyone who responded.

__________________________________________________________________________
Kem Tekinay                                                 (212) 201-1465
MacTechnologies Consulting                              Fax (914) 242-7294
http://www.mactechnologies.com                        Pager (917) 491-5546

  To join the MacTechnologies Consulting mailing list, send an e-mail to:
           mactechnologies_consulting-subscribe at yahoogroups dot com








_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>