[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Testing Lua
- From: Jürgen Hötzel <juergen@...>
- Date: Sat, 29 Sep 2007 15:33:15 +0200
On Fri, Sep 28, 2007 at 08:29:32AM +1000, Duck wrote:
> $ echo '= 6' | lua -i
STDIN is a PIPE. On GNU/Linux terminal related IO (tcgetattr) will result
in error "EINVAL (Invalid argument)". In this case GNU readline will
disable echoing.
> $ lua -i < filecontainingequals6
STDIN is a file. On GNU/Linux terminal related IO will result in error
"ENOTTY (Inappropriate ioctl for device)". But GNU readline enables
echoing in this case. I don't know, if this is a bug or feature....
Jürgen