lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Jan 29, 2004 at 06:17:16PM +0100, Reuben Thomas wrote:
> do I need to press Ctrl+C twice to escape?

oddly enough, if you specify '-ansi' when compiling on linux,
a single ^C both interrupts and terminates the interpreter:

bin> ./lua -e "io.stdin:read '*a'"
./lua: <command line>:1: interrupted!
stack traceback:
        [C]: in function `read'
        <command line>:1: in main chunk
        [C]: ?
bin> 


probably a glibc issue since, on freebsd, -ansi makes no
difference

-taj