Re: fflush stdin

2003-10-13 Thread Rob Dixon
Randal L. Schwartz wrote: > > > "Tristram" == Tristram Nefzger <[EMAIL PROTECTED]> writes: > > Tristram> You can do > Tristram> autoflush STDIN 1; > > This does nothing. "flushing" only makes sense on output handles. Thanks Randal. At least someone's awake. /R -- To unsubscribe, e-mail

Re: fflush stdin

2003-10-13 Thread Randal L. Schwartz
> "Tristram" == Tristram Nefzger <[EMAIL PROTECTED]> writes: Tristram> You can do Tristram> autoflush STDIN 1; This does nothing. "flushing" only makes sense on output handles. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.st

RE: fflush stdin

2003-10-13 Thread Bob Showalter
Ramprasad A Padmanabhan wrote: > hello all, > Quick question > How do I flush stdin. > I am writing an interactive console based script And I want that all > inputs received before my prompt be flushed > > I looked at Term::Readkey but there seems to be no direct function 1 while defined ReadKey

RE: fflush stdin

2003-10-13 Thread Tristram Nefzger
You can do autoflush STDIN 1; However, output to the terminal is usually line buffered, see http://www.perldoc.com/perl5.6/pod/perlvar.html There is also an autoflush() function in IO::Handle, see http://www.xav.com/perl/lib/IO/Handle.html -tristram -- To unsubscribe, e-mail: [EMAIL PROTECT

Re: fflush stdin

2003-10-13 Thread Rob Dixon
Ramprasad A Padmanabhan wrote: > > How do I flush stdin. > I am writing an interactive console based script And I want > that all inputs received before my prompt be flushed > > I looked at Term::Readkey but there seems to be no direct > function use IO::Handle; # At the head of your program

fflush stdin

2003-10-13 Thread Ramprasad A Padmanabhan
hello all, Quick question How do I flush stdin. I am writing an interactive console based script And I want that all inputs received before my prompt be flushed I looked at Term::Readkey but there seems to be no direct function Thanks Ram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additio