chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Fw: Re: Reading from STDIN with the hang


From: John Cowan
Subject: Re: [Chicken-users] Fw: Re: Reading from STDIN with the hang
Date: Mon, 7 Apr 2014 07:45:03 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Alexej Magura scripsit:
> using (with-stty ‘(echo) read-char) seems to have no affect.  I still
> have to press *enter* in order for SIGINT to kill the program, that
> is the program still hangs on (read-char), even when it gets a SIGINT.

You want to turn on cbreak mode, not echo mode (which is already on).

-- 
John Cowan          http://www.ccil.org/~cowan        address@hidden
Promises become binding when there is a meeting of the minds and consideration
is exchanged. So it was at King's Bench in common law England; so it was
under the common law in the American colonies; so it was through more than
two centuries of jurisprudence in this country; and so it is today.
       --Specht v. Netscape



reply via email to

[Prev in Thread] Current Thread [Next in Thread]