guile-devel
[Top][All Lists]
Advanced

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

Raw mode for current-input-port.


From: Rob Browning
Subject: Raw mode for current-input-port.
Date: Sat, 08 Feb 2003 11:02:14 -0600
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

I'd like to have (read-char) return immediately when a key is pressed,
rather than waiting for a carriage return.  At first I thought setvbuf
would do it, but then I recalled that that was probably designed for
output ports.  So do we already have anything suitable?  I'm guessing
cfmakeraw might work, but I'd need to wrap that.

Thanks

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4




reply via email to

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